Discussion:
Apache 2.4.18 compilation issue
(too old to reply)
The Doctor
2016-04-04 14:47:34 UTC
Permalink
Why ami I running into


Script started on Mon Apr 4 08:45:36 2016
doctor.nl2k.ab.ca//usr/source/httpd-2.4.18$ less configu apache24
LIBTOOL=/usr/bin/libtool MAKE=/usr/bin/make CC=/usr/bin/gcc CFLAGS="-Wall -g -O2" LIBS="-L/usr/lib -lc -lm -ldl -liconv -lintl -lutil -ldb -levent" ./configure --enable-layout=BSDI \
--enable-modules=all \
--enable-mods-shared=all \
--enable-authn-dbm \
--enable-authn-anon \
--enable-authz-dbm \
--enable-authz-owner \
--enable-authnz-fcgi \
--enable-auth-form \
--enable-auth-digest \
--enable-authnz-ldap \
--enable-ldap \
--enable-allowmethods \
--enable-so \
--enable-macro \
--enable-dbd \
--enable-bucketeer \
--enable-dumpio \
--enable-echo \
--enable-buffer \
--enable-data \
--enable-ratelimit \
--enable-ext-filter \
--enable-request \
--enable-include \
--enable-reflector \
--enable-substitute \
--enable-sed \
--enable-deflate \
--enable-http \
--enable-log-debug \
--enable-log-forensic \
--enable-logio \
--enable-mime-magic \
--enable-cern-meta \
--enable-expires \
--enable-ident \
--enable-usertrack \
--enable-unique-id \
--enable-remoteip \
--enable-proxy \
--enable-proxy-connect \
--enable-proxy-ftp \
--enable-proxy-http \
--enable-proxy-fcgi \
--enable-proxy-scgi \
--enable-proxy-fdpass \
--enable-proxy-wstunnel \
--enable-proxy-ajp \
configapache24 --enable-proxy-balancer \
--enable-proxy-express \
--enable-session \
--enable-session-cookie \
--enable-session-dbd \
--enable-ssl \
--enable-ssl-staticlib-deps \
--enable-dialup \
--enable-static-support \
--enable-static-htpasswd \
--enable-static-htdigest \
--enable-static-rotatelogs \
--enable-static-logresolve \
--enable-static-htdbm \
--enable-static-ab \
--enable-static-checkgid \
--enable-static-htcacheclean \
--enable-static-httxt2dbm \
--enable-static-fcgistarter \
--enable-lbmethod-byrequests \
--enable-lbmethod-bytraffic \
--enable-lbmethod-bybusyness \
--enable-lbmethod-heartbeat\
--enable-mpms-shared=all \
--enable-unixd \
--enable-dav \
--enable-asis \
--enable-info \
--enable-suexec \
--enable-cgid \
--enable-cgi \
--enable-dav-fs \
--enable-dav-lock \
--enable-vhost-alias \
--enable-negotiation \
--enable-imagemap \
--enable-actions \
--enable-speling \
--enable-userdir \
--enable-rewrite \
--enable-v4-mapped \
--enable-lua \
--with-lua=/usr/contrib \
--with-apr=/usr/contrib \
--with-apr-util=/usr/contrib \
--with-pcre=/usr/contrib \
--with-z=/usr \
--with-libxml2=/usr/contrib \
--with-ssl=/usr/contrib \
--enable-ssl \
--enable-ssl-staticlib-deps \
: --with-mpm=prefork \
--with-suexec-bin=/usr/contrib/bin \
--with-suexec-caller=www\
--with-suexec-userdir=html \
--with-suexec-docroot=html \
--with-suexec-uidmin=100 \
--with-suexec-gidmin=1 \
--with-suexec-logfile=/var/log/httpd \
--with-suexec-safepath=/bin:/usr/bin:/usr/contrib/bin \
--with-suexec-umask=0022
(END)doctor.nl2k.ab.ca//usr/source/httpd-2.4.18$ make
Making all in srclib
Making all in os
Making all in unix
Making all in server
Making all in mpm
Making all in prefork
Making all in worker
Making all in modules
Making all in aaa
Making all in cache
Making all in core
Making all in database
Making all in debugging
Making all in echo
Making all in filters
Making all in http
Making all in ldap
Making all in loggers
Making all in lua
Making all in metadata
Making all in proxy
Making all in session
Making all in slotmem
Making all in ssl
Making all in test
Making all in proxy/balancers
Making all in arch/unix
Making all in cluster
Making all in dav/main
Making all in generators
Making all in dav/fs
Making all in dav/lock
Making all in mappers
Making all in support
/usr/bin/gcc -std=gnu99 -Wall -g -O2 -I. -I/usr/source/httpd-2.4.18/os/unix -I/usr/source/httpd-2.4.18/include -I/usr/contrib/include/apr -I/usr/contrib/include -I/usr -I/usr/include -I/usr/source/httpd-2.4.18/modules/aaa -I/usr/source/httpd-2.4.18/modules/cache -I/usr/source/httpd-2.4.18/modules/core -I/usr/source/httpd-2.4.18/modules/database -I/usr/source/httpd-2.4.18/modules/filters -I/usr/source/httpd-2.4.18/modules/ldap -I/usr/source/httpd-2.4.18/server -I/usr/source/httpd-2.4.18/modules/loggers -I/usr/source/httpd-2.4.18/modules/lua -I/usr/source/httpd-2.4.18/modules/proxy -I/usr/source/httpd-2.4.18/modules/session -I/usr/source/httpd-2.4.18/modules/ssl -I/usr/source/httpd-2.4.18/modules/test -I/usr/source/httpd-2.4.18/server -I/usr/source/httpd-2.4.18/modules/arch/unix -I/usr/source/httpd-2.4.18/modules/dav/main -I/usr/source/httpd-2.4.18/modules/generators -I/usr/source/httpd-2.4.18/modules/mappers -c /usr/source/httpd-2.4.18/server/buildmark.c
In file included from /usr/contrib/include/apr/apr_pools.h:179,
from /usr/contrib/include/apr/apr_tables.h:26,
from /usr/contrib/include/apr/apr_hooks.h:22,
from /usr/source/httpd-2.4.18/include/ap_hooks.h:40,
from /usr/source/httpd-2.4.18/include/ap_config.h:25,
from /usr/source/httpd-2.4.18/server/buildmark.c:17:
/usr/contrib/include/apr/apr_allocator.h:75: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_allocator.h:84: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_allocator.h:94: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_allocator.h:105: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_allocator.h:122: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_allocator.h:129: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_allocator.h:139: warning: `nonnull' attribute directive ignored
In file included from /usr/contrib/include/apr/apr_pools.h:179,
from /usr/contrib/include/apr/apr_tables.h:26,
from /usr/contrib/include/apr/apr_hooks.h:22,
from /usr/source/httpd-2.4.18/include/ap_hooks.h:40,
from /usr/source/httpd-2.4.18/include/ap_config.h:25,
from /usr/source/httpd-2.4.18/server/buildmark.c:17:
/usr/contrib/include/apr/apr_allocator.h:151: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_allocator.h:159: warning: `nonnull' attribute directive ignored
In file included from /usr/contrib/include/apr/apr_tables.h:26,
from /usr/contrib/include/apr/apr_hooks.h:22,
from /usr/source/httpd-2.4.18/include/ap_hooks.h:40,
from /usr/source/httpd-2.4.18/include/ap_config.h:25,
from /usr/source/httpd-2.4.18/server/buildmark.c:17:
/usr/contrib/include/apr/apr_pools.h:200: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:229: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:252: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:288: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:355: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:365: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:382: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:395: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:412: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:434: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:449: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:478: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:500: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:508: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:516: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:537: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:567: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:592: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:602: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:632: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:649: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:665: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:683: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_pools.h:698: warning: `nonnull' attribute directive ignored
/var/www/build-1/libtool --silent --mode=link /usr/bin/gcc -std=gnu99 -Wall -g -O2 -L/usr/contrib/lib -L/usr -L/usr/lib -o httpd modules.lo buildmark.o -export-dynamic server/libmain.la modules/core/libmod_so.la modules/http/libmod_http.la os/unix/libos.la -L/usr/contrib/lib -Wl,-R/usr/contrib/lib -lpcre /usr/contrib/lib/libaprutil.la -ldb-5.3 -lexpat -liconv /usr/contrib/lib/libapr.la -lpthread -ldl -L/usr/lib -lc -lm -ldl -liconv -lintl -lutil -ldb -levent
ld: warning: libexpat.so.0, needed by /usr/contrib/lib/libaprutil.so, may conflict with libexpat.so.1
server/.libs/libmain.a(exports.o)(.data+0x150): undefined reference to `apr_crypto_init'
server/.libs/libmain.a(exports.o)(.data+0x154): undefined reference to `apr_crypto_clear'
server/.libs/libmain.a(exports.o)(.data+0x158): undefined reference to `apr_crypto_get_driver'
server/.libs/libmain.a(exports.o)(.data+0x15c): undefined reference to `apr_crypto_driver_name'
server/.libs/libmain.a(exports.o)(.data+0x160): undefined reference to `apr_crypto_error'
server/.libs/libmain.a(exports.o)(.data+0x164): undefined reference to `apr_crypto_make'
server/.libs/libmain.a(exports.o)(.data+0x168): undefined reference to `apr_crypto_get_block_key_types'
server/.libs/libmain.a(exports.o)(.data+0x16c): undefined reference to `apr_crypto_get_block_key_modes'
server/.libs/libmain.a(exports.o)(.data+0x170): undefined reference to `apr_crypto_passphrase'
server/.libs/libmain.a(exports.o)(.data+0x174): undefined reference to `apr_crypto_block_encrypt_init'
server/.libs/libmain.a(exports.o)(.data+0x178): undefined reference to `apr_crypto_block_encrypt'
server/.libs/libmain.a(exports.o)(.data+0x17c): undefined reference to `apr_crypto_block_encrypt_finish'
server/.libs/libmain.a(exports.o)(.data+0x180): undefined reference to `apr_crypto_block_decrypt_init'
server/.libs/libmain.a(exports.o)(.data+0x184): undefined reference to `apr_crypto_block_decrypt'
server/.libs/libmain.a(exports.o)(.data+0x188): undefined reference to `apr_crypto_block_decrypt_finish'
server/.libs/libmain.a(exports.o)(.data+0x18c): undefined reference to `apr_crypto_block_cleanup'
server/.libs/libmain.a(exports.o)(.data+0x190): undefined reference to `apr_crypto_cleanup'
server/.libs/libmain.a(exports.o)(.data+0x194): undefined reference to `apr_crypto_shutdown'
server/.libs/libmain.a(exports.o)(.data+0x278): undefined reference to `apr_escape_shell'
server/.libs/libmain.a(exports.o)(.data+0x27c): undefined reference to `apr_pescape_shell'
server/.libs/libmain.a(exports.o)(.data+0x280): undefined reference to `apr_unescape_url'
server/.libs/libmain.a(exports.o)(.data+0x284): undefined reference to `apr_punescape_url'
server/.libs/libmain.a(exports.o)(.data+0x288): undefined reference to `apr_escape_path_segment'
server/.libs/libmain.a(exports.o)(.data+0x28c): undefined reference to `apr_pescape_path_segment'
server/.libs/libmain.a(exports.o)(.data+0x290): undefined reference to `apr_escape_path'
server/.libs/libmain.a(exports.o)(.data+0x294): undefined reference to `apr_pescape_path'
server/.libs/libmain.a(exports.o)(.data+0x298): undefined reference to `apr_escape_urlencoded'
server/.libs/libmain.a(exports.o)(.data+0x29c): undefined reference to `apr_pescape_urlencoded'
server/.libs/libmain.a(exports.o)(.data+0x2a0): undefined reference to `apr_escape_entity'
server/.libs/libmain.a(exports.o)(.data+0x2a4): undefined reference to `apr_pescape_entity'
server/.libs/libmain.a(exports.o)(.data+0x2a8): undefined reference to `apr_unescape_entity'
server/.libs/libmain.a(exports.o)(.data+0x2ac): undefined reference to `apr_punescape_entity'
server/.libs/libmain.a(exports.o)(.data+0x2b0): undefined reference to `apr_escape_echo'
server/.libs/libmain.a(exports.o)(.data+0x2b4): undefined reference to `apr_pescape_echo'
server/.libs/libmain.a(exports.o)(.data+0x2b8): undefined reference to `apr_escape_hex'
server/.libs/libmain.a(exports.o)(.data+0x2bc): undefined reference to `apr_pescape_hex'
server/.libs/libmain.a(exports.o)(.data+0x2c0): undefined reference to `apr_unescape_hex'
server/.libs/libmain.a(exports.o)(.data+0x2c4): undefined reference to `apr_punescape_hex'
server/.libs/libmain.a(exports.o)(.data+0x458): undefined reference to `apr_hash_this_key'
server/.libs/libmain.a(exports.o)(.data+0x45c): undefined reference to `apr_hash_this_key_len'
server/.libs/libmain.a(exports.o)(.data+0x460): undefined reference to `apr_hash_this_val'
server/.libs/libmain.a(exports.o)(.data+0x48c): undefined reference to `apr_ldap_ssl_init'
server/.libs/libmain.a(exports.o)(.data+0x490): undefined reference to `apr_ldap_ssl_deinit'
server/.libs/libmain.a(exports.o)(.data+0x494): undefined reference to `apr_ldap_init'
server/.libs/libmain.a(exports.o)(.data+0x498): undefined reference to `apr_ldap_info'
server/.libs/libmain.a(exports.o)(.data+0x49c): undefined reference to `apr_ldap_get_option'
server/.libs/libmain.a(exports.o)(.data+0x4a0): undefined reference to `apr_ldap_set_option'
server/.libs/libmain.a(exports.o)(.data+0x4a4): undefined reference to `apr_ldap_rebind_init'
server/.libs/libmain.a(exports.o)(.data+0x4a8): undefined reference to `apr_ldap_rebind_add'
server/.libs/libmain.a(exports.o)(.data+0x4ac): undefined reference to `apr_ldap_rebind_remove'
server/.libs/libmain.a(exports.o)(.data+0x4b0): undefined reference to `apr_ldap_is_ldap_url'
server/.libs/libmain.a(exports.o)(.data+0x4b4): undefined reference to `apr_ldap_is_ldaps_url'
server/.libs/libmain.a(exports.o)(.data+0x4b8): undefined reference to `apr_ldap_is_ldapi_url'
server/.libs/libmain.a(exports.o)(.data+0x4bc): undefined reference to `apr_ldap_url_parse_ext'
server/.libs/libmain.a(exports.o)(.data+0x4c0): undefined reference to `apr_ldap_url_parse'
server/.libs/libmain.a(exports.o)(.data+0x4fc): undefined reference to `apr_bcrypt_encode'
server/.libs/libmain.a(exports.o)(.data+0x5dc): undefined reference to `apr_sockaddr_is_wildcard'
server/.libs/libmain.a(exports.o)(.data+0x850): undefined reference to `apr_shm_create_ex'
server/.libs/libmain.a(exports.o)(.data+0x860): undefined reference to `apr_shm_attach_ex'
server/.libs/libmain.a(exports.o)(.data+0x884): undefined reference to `apr_skiplist_alloc'
server/.libs/libmain.a(exports.o)(.data+0x888): undefined reference to `apr_skiplist_free'
server/.libs/libmain.a(exports.o)(.data+0x88c): undefined reference to `apr_skiplist_init'
server/.libs/libmain.a(exports.o)(.data+0x890): undefined reference to `apr_skiplist_set_compare'
server/.libs/libmain.a(exports.o)(.data+0x894): undefined reference to `apr_skiplist_add_index'
server/.libs/libmain.a(exports.o)(.data+0x898): undefined reference to `apr_skiplist_getlist'
server/.libs/libmain.a(exports.o)(.data+0x89c): undefined reference to `apr_skiplist_find_compare'
server/.libs/libmain.a(exports.o)(.data+0x8a0): undefined reference to `apr_skiplist_find'
server/.libs/libmain.a(exports.o)(.data+0x8a4): undefined reference to `apr_skiplist_next'
server/.libs/libmain.a(exports.o)(.data+0x8a8): undefined reference to `apr_skiplist_previous'
server/.libs/libmain.a(exports.o)(.data+0x8ac): undefined reference to `apr_skiplist_insert_compare'
server/.libs/libmain.a(exports.o)(.data+0x8b0): undefined reference to `apr_skiplist_insert'
server/.libs/libmain.a(exports.o)(.data+0x8b4): undefined reference to `apr_skiplist_remove_compare'
server/.libs/libmain.a(exports.o)(.data+0x8b8): undefined reference to `apr_skiplist_remove'
server/.libs/libmain.a(exports.o)(.data+0x8bc): undefined reference to `apr_skiplist_remove_all'
server/.libs/libmain.a(exports.o)(.data+0x8c0): undefined reference to `apr_skiplist_destroy'
server/.libs/libmain.a(exports.o)(.data+0x8c4): undefined reference to `apr_skiplist_pop'
server/.libs/libmain.a(exports.o)(.data+0x8c8): undefined reference to `apr_skiplist_peek'
server/.libs/libmain.a(exports.o)(.data+0x8cc): undefined reference to `apr_skiplist_merge'
server/.libs/libmain.a(exports.o)(.data+0x974): undefined reference to `apr_table_getm'
*** Error code 1

Stop.
*** Error code 1

Stop.
You have new mail in /var/mail/doctor
doctor.nl2k.ab.ca//usr/source/httpd-2.4.18$ exit
exit

Script done on Mon Apr 4 08:46:23 2016

When trying to compile httpd 2.4.18 using an APR external from its package?
--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
Manitoba and Saskatchewan! Save your provinces in April! Vote Liberal!!
David Brown
2016-04-04 16:20:59 UTC
Permalink
On 04/04/16 16:47, The Doctor wrote:> Why ami I running into
Post by The Doctor
/usr/bin/gcc -std=gnu99 -Wall -g -O2 -I.
-I/usr/source/httpd-2.4.18/os/unix -I/usr/source/httpd-2.4.18/include
-I/usr/contrib/include/apr -I/usr/contrib/include -I/usr -I/usr/include
-I/usr/source/httpd-2.4.18/modules/aaa
-I/usr/source/httpd-2.4.18/modules/cache
-I/usr/source/httpd-2.4.18/modules/core
-I/usr/source/httpd-2.4.18/modules/database
-I/usr/source/httpd-2.4.18/modules/filters
-I/usr/source/httpd-2.4.18/modules/ldap
-I/usr/source/httpd-2.4.18/server
-I/usr/source/httpd-2.4.18/modules/loggers
-I/usr/source/httpd-2.4.18/modules/lua
-I/usr/source/httpd-2.4.18/modules/proxy
-I/usr/source/httpd-2.4.18/modules/session
-I/usr/source/httpd-2.4.18/modules/ssl
-I/usr/source/httpd-2.4.18/modules/test
-I/usr/source/httpd-2.4.18/server
-I/usr/source/httpd-2.4.18/modules/arch/unix
-I/usr/source/httpd-2.4.18/modules/dav/main
-I/usr/source/httpd-2.4.18/modules/generators
-I/usr/source/httpd-2.4.18/modules/mappers -c
/usr/source/httpd-2.4.18/server/buildmark.c
Post by The Doctor
In file included from /usr/contrib/include/apr/apr_pools.h:179,
from /usr/contrib/include/apr/apr_tables.h:26,
from /usr/contrib/include/apr/apr_hooks.h:22,
from /usr/source/httpd-2.4.18/include/ap_hooks.h:40,
from /usr/source/httpd-2.4.18/include/ap_config.h:25,
/usr/contrib/include/apr/apr_allocator.h:75: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_allocator.h:84: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_allocator.h:94: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_allocator.h:105: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_allocator.h:122: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_allocator.h:129: warning: `nonnull' attribute directive ignored
/usr/contrib/include/apr/apr_allocator.h:139: warning: `nonnull' attribute directive ignored
You would be far better asking on the apache mailing list, forums,
newsgroups, etc. - c.l.c. is for discussing C as a programming language,
rather than compilation of specific programs.

My rough guess is that you may be using an ancient version of gcc -
perhaps from before the "nonnull" attribute was implemented.
Alternatively, you may be using a compiler that /claims/ to be gcc, but
isn't - such as clang on a Mac - and which is missing the relevant
attribute.
The Doctor
2016-04-04 20:43:19 UTC
Permalink
Post by David Brown
On 04/04/16 16:47, The Doctor wrote:> Why ami I running into
Post by The Doctor
/usr/bin/gcc -std=gnu99 -Wall -g -O2 -I.
-I/usr/source/httpd-2.4.18/os/unix -I/usr/source/httpd-2.4.18/include
-I/usr/contrib/include/apr -I/usr/contrib/include -I/usr -I/usr/include
-I/usr/source/httpd-2.4.18/modules/aaa
-I/usr/source/httpd-2.4.18/modules/cache
-I/usr/source/httpd-2.4.18/modules/core
-I/usr/source/httpd-2.4.18/modules/database
-I/usr/source/httpd-2.4.18/modules/filters
-I/usr/source/httpd-2.4.18/modules/ldap
-I/usr/source/httpd-2.4.18/server
-I/usr/source/httpd-2.4.18/modules/loggers
-I/usr/source/httpd-2.4.18/modules/lua
-I/usr/source/httpd-2.4.18/modules/proxy
-I/usr/source/httpd-2.4.18/modules/session
-I/usr/source/httpd-2.4.18/modules/ssl
-I/usr/source/httpd-2.4.18/modules/test
-I/usr/source/httpd-2.4.18/server
-I/usr/source/httpd-2.4.18/modules/arch/unix
-I/usr/source/httpd-2.4.18/modules/dav/main
-I/usr/source/httpd-2.4.18/modules/generators
-I/usr/source/httpd-2.4.18/modules/mappers -c
/usr/source/httpd-2.4.18/server/buildmark.c
Post by The Doctor
In file included from /usr/contrib/include/apr/apr_pools.h:179,
from /usr/contrib/include/apr/apr_tables.h:26,
from /usr/contrib/include/apr/apr_hooks.h:22,
from /usr/source/httpd-2.4.18/include/ap_hooks.h:40,
from /usr/source/httpd-2.4.18/include/ap_config.h:25,
/usr/contrib/include/apr/apr_allocator.h:75: warning: `nonnull'
attribute directive ignored
Post by The Doctor
/usr/contrib/include/apr/apr_allocator.h:84: warning: `nonnull'
attribute directive ignored
Post by The Doctor
/usr/contrib/include/apr/apr_allocator.h:94: warning: `nonnull'
attribute directive ignored
Post by The Doctor
/usr/contrib/include/apr/apr_allocator.h:105: warning: `nonnull'
attribute directive ignored
Post by The Doctor
/usr/contrib/include/apr/apr_allocator.h:122: warning: `nonnull'
attribute directive ignored
Post by The Doctor
/usr/contrib/include/apr/apr_allocator.h:129: warning: `nonnull'
attribute directive ignored
Post by The Doctor
/usr/contrib/include/apr/apr_allocator.h:139: warning: `nonnull'
attribute directive ignored
You would be far better asking on the apache mailing list, forums,
newsgroups, etc. - c.l.c. is for discussing C as a programming language,
rather than compilation of specific programs.
My rough guess is that you may be using an ancient version of gcc -
perhaps from before the "nonnull" attribute was implemented.
Alternatively, you may be using a compiler that /claims/ to be gcc, but
isn't - such as clang on a Mac - and which is missing the relevant
attribute.
The nonnulls are a non-issue.
--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
Manitoba and Saskatchewan! Save your provinces in April! Vote Liberal!!
Jerry Stuckle
2016-04-04 16:27:39 UTC
Permalink
Post by The Doctor
Why ami I running into
<lots of stuff snipped>

Who knows? Did you examine the source code?

Or better yet, did you ask in an appropriate place?
--
==================
Remove the "x" from my email address
Jerry Stuckle
***@attglobal.net
==================
jacobnavia
2016-04-05 08:12:11 UTC
Permalink
Apparently the apr library is not being linked. Add this

-lapr

to the linker command line and see if that works. Your libapr.a or
libapr.so should be in the directories the linker looks up.
The Doctor
2016-04-05 15:17:31 UTC
Permalink
Post by jacobnavia
Apparently the apr library is not being linked. Add this
-lapr
to the linker command line and see if that works. Your libapr.a or
libapr.so should be in the directories the linker looks up.
An earlier poster caught the real issue. I replaced 2 .la
files acordingly ( found in the config_vars.mk file)

And then I had to find the correct libapr.so and libaprutil.so files
accordingly. This is now working
and correctly putting the dates in the logs.
--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
Manitoba ! Save your province in April! Vote Liberal!!
Loading...