https://issues.apache.org/bugzilla/show_bug.cgi?id=54617
--- Comment #2 from Dennis Clarke <[email protected]> --- Excellent observation by Rainer Jung. There is a copy of httpd.h in /usr/local/include from the existing 2.4.3 install. It conflicts with the version in the source tree and, certainly does lack the required typedef struct ap_loadavg_t. $ ls -lap /usr/local/include/httpd.h -rw-r--r-- 1 root root 76610 Feb 26 05:06 /usr/local/include/httpd.h Not too sure why it is owned by root but that is an install problem from the previous version. furthermore we have these header files to deal with : /usr/local/include/http_config.h /usr/local/include/http_connection.h /usr/local/include/http_core.h /usr/local/include/http_log.h /usr/local/include/http_main.h /usr/local/include/http_protocol.h /usr/local/include/http_request.h /usr/local/include/http_vhost.h The solutions to this problem is, as root : # cd /usr/local # cp -p include/httpd.h include/httpd.h_backup_2.4.3 # rm include/httpd.h Then go back to "configure" and start over as the uid/gid doing the compile of 2.4.4. This then results in a good looking configure : $ pwd /usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002 $ env | sort > ../httpd-2.4.4_SunOS5.10_sparcv9.002.env $ ./configure --prefix=/usr/local --sysconfdir=/usr/local/www/conf \ > --localstatedir=/usr/local/www/var --datadir=/usr/local/www/data \ > --htmldir=/usr/local/www/docs --with-crypto \ > --enable-auth-digest --enable-so --enable-ratelimit --enable-include \ > --enable-logio --enable-expires --enable-ident --enable-usertrack \ > --enable-unique-id --enable-ssl --enable-privileges --enable-dav \ > --enable-info --enable-suexec --enable-cgid --enable-negotiation \ > --enable-imagemap --enable-rewrite --with-ssl=/usr/local/ssl \ > --enable-authn-dbd --enable-auth-form --enable-auth-digest \ > --enable-data --enable-ratelimit --enable-include \ > --enable-deflate --enable-log-debug --enable-log-forensic \ > --enable-session --enable-session-cookie --enable-session-crypto \ > --enable-unixd --enable-privileges \ > --with-pcre=/usr/local --with-z=/usr/local --with-libxml2=/usr/local \ > --enable-mpms-shared checking for chosen layout... Apache checking for working mkdir -p... yes checking for grep that handles long lines and -e... /usr/xpg4/bin/grep checking for egrep... /usr/xpg4/bin/grep -E checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking target system type... sparc-sun-solaris2.10 configure: configure: Configuring Apache Portable Runtime library... configure: checking for APR... yes setting CPP to "/opt/solarisstudio12.3/bin/cc -E" adding "-DSOLARIS2=10" to CPPFLAGS adding "-D_REENTRANT" to CPPFLAGS setting LDFLAGS to " " configure: configure: Configuring Apache Portable Runtime Utility library... configure: checking for APR-util... yes adding "-L/usr/local/ssl/lib" to LDFLAGS adding "-L/usr/local/lib" to LDFLAGS checking for gcc... /opt/solarisstudio12.3/bin/cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether /opt/solarisstudio12.3/bin/cc accepts -g... yes checking for /opt/solarisstudio12.3/bin/cc option to accept ISO C89... none needed checking how to run the C preprocessor... /opt/solarisstudio12.3/bin/cc -E checking for /opt/solarisstudio12.3/bin/cc option to accept ISO C99... -D_STDC_C99= checking for pcre-config... /usr/local/bin/pcre-config configure: Using external PCRE library from /usr/local/bin/pcre-config setting PCRE_INCLUDES to "-I/usr/local/include" setting PCRE_LIBS to "-L/usr/local/lib -R/usr/local/lib -lpcre" configure: configure: Configuring Apache httpd... configure: setting INCLUDES to "-I." adding "-I$(top_srcdir)/os/$(OS_DIR)" to INCLUDES adding "-I$(top_srcdir)/include" to INCLUDES adding "-I/usr/local/include/apr-1" to INCLUDES adding "-I/usr/local/ssl/include" to INCLUDES adding "-I/usr/local/include" to INCLUDES configure: configure: Applying OS-specific hints for httpd... configure: forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to "1" forcing AP_NONBLOCK_WHEN_MULTI_LISTEN to "1" checking for rm... /usr/xpg4/bin/rm checking for pkg-config... /usr/bin/pkg-config checking for rsync... no checking for gawk... gawk checking whether ln -s works... yes checking for ranlib... ranlib checking for lynx... no checking for links... no checking for elinks... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking for APR version 1.3.0 or later... yes checking for APR-util version 1.3.0 or later... yes checking if /opt/solarisstudio12.3/bin/cc -D_STDC_C99= -MM can create proper make dependencies... no checking if /opt/solarisstudio12.3/bin/cc -D_STDC_C99= -M can create proper make dependencies... no checking if /opt/solarisstudio12.3/bin/cc -E -MM can create proper make dependencies... no checking if /opt/solarisstudio12.3/bin/cc -E -M can create proper make dependencies... no checking if cpp -M can create proper make dependencies... no checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for strings.h... (cached) yes checking sys/prctl.h usability... no checking sys/prctl.h presence... no checking for sys/prctl.h... no checking sys/processor.h usability... yes checking sys/processor.h presence... yes checking for sys/processor.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/sdt.h usability... yes checking sys/sdt.h presence... yes checking for sys/sdt.h... yes checking sys/loadavg.h usability... yes checking sys/loadavg.h presence... yes checking for sys/loadavg.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for an ANSI C-conforming const... yes checking for library containing sqrt... -lm checking for library containing crypt... none required checking for getpwnam... yes checking for getgrnam... yes checking for initgroups... yes checking for bindprocessor... no checking for prctl... no checking for timegm... no checking for getpgid... yes checking for fopen64... no checking for getloadavg... yes checking for void pointer length... no checking for gettid()... no checking for tm_gmtoff in struct tm... no checking whether to enable mod_authn_file... shared checking whether to enable mod_authn_dbm... shared (most) checking whether to enable mod_authn_anon... shared (most) checking whether to enable mod_authn_dbd... shared checking whether to enable mod_authn_socache... shared (most) checking whether to enable mod_authn_core... shared checking whether to enable mod_authz_host... shared checking whether to enable mod_authz_groupfile... shared checking whether to enable mod_authz_user... shared checking whether to enable mod_authz_dbm... shared (most) checking whether to enable mod_authz_owner... shared (most) checking whether to enable mod_authz_dbd... shared (most) checking whether to enable mod_authz_core... shared checking whether to enable mod_authnz_ldap... checking dependencies checking for ldap support in apr/apr-util... no configure: WARNING: apr/apr-util is compiled without ldap support checking whether to enable mod_authnz_ldap... no (disabled) checking whether to enable mod_access_compat... shared checking whether to enable mod_auth_basic... shared checking whether to enable mod_auth_form... shared checking whether to enable mod_auth_digest... checking dependencies checking whether to enable mod_auth_digest... shared checking whether to enable mod_allowmethods... shared (most) adding "-I$(top_srcdir)/modules/aaa" to INCLUDES checking whether to enable mod_isapi... no checking whether to enable mod_file_cache... shared (most) checking whether to enable mod_cache... shared (most) checking whether to enable mod_cache_disk... checking dependencies checking whether to enable mod_cache_disk... shared (most) checking whether to enable mod_socache_shmcb... shared (most) checking whether to enable mod_socache_dbm... shared (most) checking whether to enable mod_socache_memcache... shared (most) checking whether to enable mod_socache_dc... no adding "-I$(top_srcdir)/modules/cache" to INCLUDES setting HTTPD_LDFLAGS to "-export-dynamic" checking whether to enable mod_so... static setting AP_LIBS to "$(MOD_SO_LDADD)" checking whether to enable mod_watchdog... no adding "-I$(top_srcdir)/modules/core" to INCLUDES checking whether to enable mod_dbd... shared (most) adding "-I$(top_srcdir)/modules/database" to INCLUDES checking whether to enable mod_bucketeer... no checking whether to enable mod_dumpio... shared (most) checking whether to enable mod_echo... no checking whether to enable mod_example_hooks... no checking whether to enable mod_case_filter... no checking whether to enable mod_case_filter_in... no checking whether to enable mod_example_ipc... no checking whether to enable mod_buffer... shared (most) checking whether to enable mod_data... shared checking whether to enable mod_ratelimit... shared checking whether to enable mod_reqtimeout... shared checking whether to enable mod_ext_filter... shared (most) checking whether to enable mod_request... shared (most) checking whether to enable mod_include... shared checking whether to enable mod_filter... shared checking whether to enable mod_reflector... no checking whether to enable mod_substitute... shared (most) checking whether to enable mod_sed... checking dependencies setting MOD_SED_LDADD to "-export-symbols-regex sed_module" checking whether to enable mod_sed... shared (most) checking whether to enable mod_charset_lite... no checking whether to enable mod_deflate... checking dependencies setting MOD_INCLUDES to "-I/usr/local/include" setting ap_zlib_ldflags to "-L/usr/local/lib" adding "-R/usr/local/lib" to LDFLAGS adding "-R/usr/local/lib" to ap_zlib_ldflags setting LIBS to "-lz" checking for zlib library... found setting MOD_DEFLATE_LDADD to "-L/usr/local/lib -R/usr/local/lib -lz" nulling LIBS checking whether to enable mod_deflate... shared checking whether to enable mod_xml2enc... no checking whether to enable mod_proxy_html... no adding "-I$(top_srcdir)/modules/filters" to INCLUDES checking whether to enable mod_http... static adding "$(MOD_HTTP_LDADD)" to AP_LIBS checking whether to enable mod_mime... shared checking whether to enable mod_ldap... checking dependencies checking for ldap support in apr/apr-util... (cached) no configure: WARNING: apr/apr-util is compiled without ldap support checking whether to enable mod_ldap... no (disabled) adding "-I$(top_srcdir)/modules/ldap" to INCLUDES checking whether to enable mod_log_config... shared checking whether to enable mod_log_debug... shared checking whether to enable mod_log_forensic... shared adding "-I$(top_builddir)/server" to INCLUDES checking whether to enable mod_logio... shared adding "-I$(top_srcdir)/modules/loggers" to INCLUDES checking whether to enable mod_lua... no adding "-I$(top_srcdir)/modules/lua" to INCLUDES checking whether to enable mod_env... shared checking whether to enable mod_mime_magic... no checking whether to enable mod_cern_meta... no checking whether to enable mod_expires... shared checking whether to enable mod_headers... shared checking whether to enable mod_ident... shared checking whether to enable mod_usertrack... checking dependencies checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for times... yes checking whether to enable mod_usertrack... shared checking whether to enable mod_unique_id... shared checking whether to enable mod_setenvif... shared checking whether to enable mod_version... shared checking whether to enable mod_remoteip... shared (most) checking whether to enable mod_proxy... shared (most) checking whether to enable mod_proxy_connect... checking dependencies checking whether to enable mod_proxy_connect... shared (most) checking whether to enable mod_proxy_ftp... checking dependencies checking whether to enable mod_proxy_ftp... shared (most) checking whether to enable mod_proxy_http... checking dependencies checking whether to enable mod_proxy_http... shared (most) checking whether to enable mod_proxy_fcgi... checking dependencies checking whether to enable mod_proxy_fcgi... shared (most) checking whether to enable mod_proxy_scgi... checking dependencies checking whether to enable mod_proxy_scgi... shared (most) checking whether to enable mod_proxy_fdpass... no checking whether to enable mod_proxy_ajp... checking dependencies checking whether to enable mod_proxy_ajp... shared (most) checking whether to enable mod_proxy_balancer... checking dependencies checking whether to enable mod_proxy_balancer... shared (most) checking whether to enable mod_proxy_express... checking dependencies checking whether to enable mod_proxy_express... shared (most) adding "-I$(top_srcdir)/modules/proxy" to INCLUDES checking whether to enable mod_session... shared checking whether to enable mod_session_cookie... checking dependencies checking whether to enable mod_session_cookie... shared checking whether to enable mod_session_crypto... checking dependencies checking whether to enable mod_session_crypto... shared checking whether to enable mod_session_dbd... checking dependencies checking whether to enable mod_session_dbd... shared adding "-I$(top_srcdir)/modules/session" to INCLUDES checking whether to enable mod_slotmem_shm... shared (most) checking whether to enable mod_slotmem_plain... no checking whether to enable mod_ssl... checking dependencies checking for OpenSSL... checking for user-provided OpenSSL base directory... /usr/local/ssl setting MOD_CFLAGS to "-I/usr/local/ssl/include " setting ab_CFLAGS to "-I/usr/local/ssl/include " setting MOD_LDFLAGS to "-L/usr/local/ssl/lib " checking for OpenSSL version >= 0.9.7... OK adding "-lssl" to MOD_LDFLAGS adding "-lcrypto" to MOD_LDFLAGS adding "-lresolv" to MOD_LDFLAGS adding "-luuid" to MOD_LDFLAGS adding "-lsendfile" to MOD_LDFLAGS adding "-lrt" to MOD_LDFLAGS adding "-lsocket" to MOD_LDFLAGS adding "-lnsl" to MOD_LDFLAGS adding "-lpthread" to MOD_LDFLAGS setting LIBS to "-lssl -lcrypto -lresolv -luuid -lsendfile -lrt -lsocket -lnsl -lpthread" forcing ab_LDFLAGS to "-L/usr/local/ssl/lib -lssl -lcrypto -lresolv -luuid -lsendfile -lrt -lsocket -lnsl -lpthread" checking openssl/engine.h usability... yes checking openssl/engine.h presence... yes checking for openssl/engine.h... yes checking for SSLeay_version... yes checking for SSL_CTX_new... yes checking for ENGINE_init... yes checking for ENGINE_load_builtin_engines... yes yes setting MOD_SSL_LDADD to "-export-symbols-regex ssl_module" checking whether to enable mod_ssl... shared adding "-I$(top_srcdir)/modules/ssl" to INCLUDES checking whether to enable mod_optional_hook_export... no checking whether to enable mod_optional_hook_import... no checking whether to enable mod_optional_fn_import... no checking whether to enable mod_optional_fn_export... no checking whether to enable mod_dialup... no adding "-I$(top_srcdir)/modules/test" to INCLUDES checking for target platform... unix checking for rlim_t... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/sem.h... (cached) yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking for setsid... yes checking for killpg... yes checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking for unistd.h... (cached) yes checking for syslog... yes checking for sys/times.h... (cached) yes checking for times... (cached) yes adding "-I$(top_srcdir)/server" to INCLUDES checking whether APR supports thread-safe pollsets... checking for kqueue... no checking for port_create... yes checking for epoll_create... no yes checking if event MPM supports this platform... yes checking if mpmt_os2 MPM supports this platform... no checking if prefork MPM supports this platform... yes checking if WinNT MPM supports this platform... no checking if worker MPM supports this platform... yes checking whether to enable mod_lbmethod_byrequests... shared (most) checking whether to enable mod_lbmethod_bytraffic... shared (most) checking whether to enable mod_lbmethod_bybusyness... shared (most) checking whether to enable mod_lbmethod_heartbeat... shared (most) checking which MPM to use by default... event checking for pthread_kill... yes checking whether to enable mod_unixd... shared checking whether to enable mod_privileges... checking dependencies checking priv.h usability... yes checking priv.h presence... yes checking for priv.h... yes checking whether to enable mod_privileges... shared adding "-I$(top_srcdir)/modules/arch/unix" to INCLUDES checking whether to enable mod_heartbeat... no checking whether to enable mod_heartmonitor... no checking whether to enable mod_dav... shared adding "-I$(top_srcdir)/modules/dav/main" to INCLUDES checking whether to enable mod_status... shared checking whether to enable mod_autoindex... shared checking whether to enable mod_asis... no checking whether to enable mod_info... shared checking whether to enable mod_suexec... checking dependencies checking whether to enable mod_suexec... shared checking whether to enable mod_cgid... checking dependencies checking for Solaris patch 120664... yes checking whether to enable mod_cgid... shared checking whether to enable mod_cgi... no adding "-I$(top_srcdir)/modules/generators" to INCLUDES checking whether to enable mod_dav_fs... checking dependencies checking whether to enable mod_dav_fs... shared (most) checking whether to enable mod_dav_lock... no checking for extra modules... none checking whether to enable mod_vhost_alias... shared (most) checking whether to enable mod_negotiation... shared checking whether to enable mod_dir... shared checking whether to enable mod_imagemap... shared checking whether to enable mod_actions... shared (most) checking whether to enable mod_speling... shared (most) checking whether to enable mod_userdir... shared (most) checking whether to enable mod_alias... shared checking whether to enable mod_rewrite... shared adding "-I$(top_srcdir)/modules/mappers" to INCLUDES configure: configure: Restore user-defined environment settings... configure: restoring CPPFLAGS to "-I/usr/local/include -I/usr/local/ssl/include -I/opt/mysql/mysql/include -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE" setting EXTRA_CPPFLAGS to " -DSOLARIS2=10 -D_REENTRANT" restoring CFLAGS to "-errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16" setting EXTRA_CFLAGS to "" restoring CXXFLAGS to "-dalign -erroff=%none -errtags=yes -ftrap=%none -g -xcode=pic32 -m64 -mc -xunroll=1 -xbuiltin=%none -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -xdepend=no -xnolibmopt -xlinkopt=0 -xnolibmil -xregs=no%appl -xs -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO" setting EXTRA_CXXFLAGS to "" restoring LDFLAGS to "" setting EXTRA_LDFLAGS to " -L/usr/local/ssl/lib -L/usr/local/lib" restoring LIBS to "" setting EXTRA_LIBS to "" restoring INCLUDES to "" setting EXTRA_INCLUDES to "-I. -I$(top_srcdir)/os/$(OS_DIR) -I$(top_srcdir)/include -I/usr/local/include/apr-1 -I/usr/local/ssl/include -I/usr/local/include -I$(top_srcdir)/modules/aaa -I$(top_srcdir)/modules/cache -I$(top_srcdir)/modules/core -I$(top_srcdir)/modules/database -I$(top_srcdir)/modules/filters -I$(top_srcdir)/modules/ldap -I$(top_builddir)/server -I$(top_srcdir)/modules/loggers -I$(top_srcdir)/modules/lua -I$(top_srcdir)/modules/proxy -I$(top_srcdir)/modules/session -I$(top_srcdir)/modules/ssl -I$(top_srcdir)/modules/test -I$(top_srcdir)/server -I$(top_srcdir)/modules/arch/unix -I$(top_srcdir)/modules/dav/main -I$(top_srcdir)/modules/generators -I$(top_srcdir)/modules/mappers" configure: configure: Construct makefiles and header files... configure: configure: creating config_vars.mk configure: creating ./config.status creating modules/aaa/Makefile creating modules/arch/win32/Makefile creating modules/cache/Makefile creating modules/core/Makefile creating modules/database/Makefile creating modules/debugging/Makefile creating modules/echo/Makefile creating modules/examples/Makefile creating modules/experimental/Makefile creating modules/filters/Makefile creating modules/http/Makefile creating modules/ldap/Makefile creating modules/loggers/Makefile creating modules/lua/Makefile creating modules/metadata/Makefile creating modules/proxy/Makefile creating modules/session/Makefile creating modules/slotmem/Makefile creating modules/ssl/Makefile creating modules/test/Makefile creating os/unix/Makefile creating modules/proxy/balancers/Makefile creating server/mpm/Makefile creating server/mpm/event/Makefile creating modules/arch/unix/Makefile creating modules/cluster/Makefile creating modules/dav/main/Makefile creating modules/generators/Makefile creating modules/dav/fs/Makefile creating modules/dav/lock/Makefile creating modules/mappers/Makefile creating Makefile creating modules/Makefile creating srclib/Makefile creating os/Makefile creating server/Makefile creating support/Makefile creating test/Makefile config.status: creating docs/conf/httpd.conf config.status: creating docs/conf/extra/httpd-autoindex.conf config.status: creating docs/conf/extra/httpd-dav.conf config.status: creating docs/conf/extra/httpd-default.conf config.status: creating docs/conf/extra/httpd-info.conf config.status: creating docs/conf/extra/httpd-languages.conf config.status: creating docs/conf/extra/httpd-manual.conf config.status: creating docs/conf/extra/httpd-mpm.conf config.status: creating docs/conf/extra/httpd-multilang-errordoc.conf config.status: creating docs/conf/extra/httpd-ssl.conf config.status: creating docs/conf/extra/httpd-userdir.conf config.status: creating docs/conf/extra/httpd-vhosts.conf config.status: creating docs/conf/extra/proxy-html.conf config.status: creating include/ap_config_layout.h config.status: creating support/apxs config.status: creating support/apachectl config.status: creating support/dbmmanage config.status: creating support/envvars-std config.status: creating support/log_server_status config.status: creating support/logresolve.pl config.status: creating support/phf_abuse_log.cgi config.status: creating support/split-logfile config.status: creating build/rules.mk config.status: creating build/pkg/pkginfo config.status: creating build/config_vars.sh config.status: creating include/ap_config_auto.h config.status: executing default commands $ Then GNU make continues for almost 5 minutes and we have a new problem : /usr/local/build-1/libtool --silent --mode=compile /opt/solarisstudio12.3/bin/cc -D_STDC_C99= -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -DSOLARIS2=10 -D_REENTRANT -I/usr/local/include -I/usr/local/ssl/include -I/opt/mysql/mysql/include -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -I. -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/os/unix -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/include -I/usr/local/include/apr-1 -I/usr/local/ssl/include -I/usr/local/include -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/aaa -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/cache -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/core -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/database -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/filters -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/ldap -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/server -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/loggers -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/lua -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/proxy -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/session -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/ssl -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/test -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/server -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/arch/unix -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/dav/main -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/generators -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/mappers -prefer-pic -c ajp_utils.c && touch ajp_utils.slo /usr/local/build-1/libtool --silent --mode=link /opt/solarisstudio12.3/bin/cc -D_STDC_C99= -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -L/usr/local/ssl/lib -L/usr/local/lib -o mod_proxy_ajp.la -rpath /usr/local/modules -module -avoid-version mod_proxy_ajp.lo ajp_header.lo ajp_link.lo ajp_msg.lo ajp_utils.lo ld: warning: option -Q appears more than once, first setting taken /usr/local/build-1/libtool --silent --mode=compile /opt/solarisstudio12.3/bin/cc -D_STDC_C99= -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -DSOLARIS2=10 -D_REENTRANT -I/usr/local/include -I/usr/local/ssl/include -I/opt/mysql/mysql/include -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -I. -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/os/unix -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/include -I/usr/local/include/apr-1 -I/usr/local/ssl/include -I/usr/local/include -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/aaa -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/cache -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/core -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/database -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/filters -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/ldap -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/server -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/loggers -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/lua -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/proxy -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/session -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/ssl -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/test -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/server -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/arch/unix -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/dav/main -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/generators -I/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/mappers -prefer-pic -c mod_proxy_balancer.c && touch mod_proxy_balancer.slo "mod_proxy_balancer.c", line 826: error: undefined struct/union member: fgrab "mod_proxy_balancer.c", line 826: error: function designator is not of function type "mod_proxy_balancer.c", line 826: warning: improper pointer/integer combination: op "=" "mod_proxy_balancer.c", line 874: error: undefined struct/union member: fgrab "mod_proxy_balancer.c", line 874: error: function designator is not of function type "mod_proxy_balancer.c", line 874: warning: improper pointer/integer combination: op "=" "mod_proxy_balancer.c", line 906: error: cannot recover from previous errors cc: acomp failed for mod_proxy_balancer.c gmake[4]: *** [mod_proxy_balancer.slo] Error 1 gmake[4]: Leaving directory `/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/proxy' gmake[3]: *** [shared-build-recursive] Error 1 gmake[3]: Leaving directory `/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules/proxy' gmake[2]: *** [shared-build-recursive] Error 1 gmake[2]: Leaving directory `/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002/modules' gmake[1]: *** [shared-build-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/build/httpd-2.4.4_SunOS5.10_sparcv9.002' gmake: *** [all-recursive] Error 1 I see "mod_proxy_balancer.c", line 826: error: undefined struct/union member: fgrab $ grep -n "fgrab" modules/proxy/mod_proxy_balancer.c 826: if ((rv = storage->fgrab(conf->bslot, index)) != APR_SUCCESS) { 827: ap_log_error(APLOG_MARK, APLOG_EMERG, rv, s, APLOGNO(02408) "balancer slotmem_fgrab failed"); 874: if ((rv = storage->fgrab(balancer->wslot, index)) != APR_SUCCESS) { 875: ap_log_error(APLOG_MARK, APLOG_EMERG, rv, s, APLOGNO(02409) "worker slotmem_fgrab failed"); Well storage seems to be of type ap_slotmem_provider_t and it was initialized up in line 726 of modules/proxy/mod_proxy_balancer.c : /* * Get slotmem setups */ storage = ap_lookup_provider(AP_SLOTMEM_PROVIDER_GROUP, "shm", AP_SLOTMEM_PROVIDER_VERSION); This data type is used in plenty of places : ./include/ap_mmn.h ./include/ap_slotmem.h ./modules/cluster/mod_heartmonitor.c ./modules/proxy/balancers/mod_lbmethod_heartbeat.c ./modules/proxy/mod_proxy.h ./modules/proxy/mod_proxy_balancer.c ./modules/proxy/proxy_util.c ./modules/slotmem/mod_slotmem_plain.c ./modules/slotmem/mod_slotmem_shm.c The type is defined in ./include/ap_slotmem.h so is there an "fgrab" in there ? struct ap_slotmem_provider_t { /* * Name of the provider method */ const char *name; . . . snip a pile of lines with nice comments and other such . /** * forced grab (or alloc) a slot associated with this item_id * @param s ap_slotmem_instance_t to use. * @param item_id to the specified slot id and marked as in-use * @return APR_SUCCESS if all went well */ apr_status_t (* fgrab)(ap_slotmem_instance_t *s, unsigned int item_id); }; typedef struct ap_slotmem_provider_t ap_slotmem_provider_t; Is this new to 2.4.4 ? $ diff ../httpd-2.4.3_SunOS5.10_sparcv9.001/include/ap_slotmem.h include/ap_slotmem.h 64a65,67 > * > * AP_SLOTMEM_TYPE_CLEARINUSE: If persisting, clear 'inuse' array before > * storing 66,68c69,72 < #define AP_SLOTMEM_TYPE_PERSIST (1 << 0) < #define AP_SLOTMEM_TYPE_NOTMPSAFE (1 << 1) < #define AP_SLOTMEM_TYPE_PREGRAB (1 << 2) --- > #define AP_SLOTMEM_TYPE_PERSIST (1 << 0) > #define AP_SLOTMEM_TYPE_NOTMPSAFE (1 << 1) > #define AP_SLOTMEM_TYPE_PREGRAB (1 << 2) > #define AP_SLOTMEM_TYPE_CLEARINUSE (1 << 3) 177a182,188 > /** > * forced grab (or alloc) a slot associated with this item_id > * @param s ap_slotmem_instance_t to use. > * @param item_id to the specified slot id and marked as in-use > * @return APR_SUCCESS if all went well > */ > apr_status_t (* fgrab)(ap_slotmem_instance_t *s, unsigned int item_id); $ Yes, it is new. Do I have more header files in /usr/local/include from the previous httpd instance ? $ find /usr/local/include -type f | xargs grep ap_slotmem_provider_t | cut -f1 -d\: | sort -u /usr/local/include/ap_slotmem.h /usr/local/include/mod_proxy.h Yes .. more of the same problem. I think perhaps there needs to be some way to tell my build process to look in the source directory FIRST before looking in /usr/local/include for headers or this will be a long frustrating process of falling on errors due to new changes. Even worse, is NOT falling on the new changes and not seeing some more subtle flaw in my resultant binaries because of older headers being used. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
