httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <i.ga...@brainsware.org>
Subject Re: Issue in building Apache 2.2.21 src in AIX 7.1 with GCC.
Date Mon, 12 Dec 2011 17:04:30 GMT


----- Original Message -----
> 
> I am a newbie to apache build process. I have tried to build the
> apache
> v2.2.21 source on AIX 7.1 (with GNU compiler setup) with the
> following
> configure options. The config.log is attached
> http://old.nabble.com/file/p32958809/config.log config.log .
> ./configure --prefix=/var/www/httpd --with-included-apr
> --enable-proxy
> --enable-proxy-ajp --enable-proxy-balancer
> 
> The build process fails in the final step of creating the binary for
> httpd
> with an undefined symbol error:
>         /var/www/src/httpd-2.2.21/srclib/apr/libtool --silent
>         --mode=link
> gcc -g -O2 -pthread     -Wl,-brtl  -L/opt/freeware/lib
> -L/opt/pware64/lib -o
> httpd  modules.lo buildmark.o -export-dynamic -Wl,-uXML_Parse

But seriously, what is this ^ -- What's -Wl,-uXML_Parse ?
Effectively this is an LDFLAG -uXML_Parse - but what's that do?
Why is it there?

According to:

  http://publib.boulder.ibm.com/infocenter/aix/v7r1/index.jsp?topic=%2Fcom.ibm.aix.cmds%2Fdoc%2Faixcmds3%2Fld.htm

  -uName    Prevents garbage collection of the external symbol Name.
            If the specified symbol does not exist, a warning is
            reported. You can repeat this flag.

Still doesn't quite make sense. This is C. The chances of something
being garbage collected are near to non-existent.
 

> -Wl,-bE:/var/www/src/httpd-2.2.21/server/httpd.exp server/libmain.la
> modules/aaa/libmod_authn_file.la modules/aaa/libmod_authn_default.la
> modules/aaa/libmod_authz_host.la
> modules/aaa/libmod_authz_groupfile.la
> modules/aaa/libmod_authz_user.la modules/aaa/libmod_authz_default.la
> modules/aaa/libmod_auth_basic.la modules/filters/libmod_include.la
> modules/filters/libmod_filter.la modules/loggers/libmod_log_config.la
> modules/metadata/libmod_env.la modules/metadata/libmod_setenvif.la
> modules/metadata/libmod_version.la modules/proxy/libmod_proxy.la
> modules/proxy/libmod_proxy_connect.la
> modules/proxy/libmod_proxy_ftp.la
> modules/proxy/libmod_proxy_http.la modules/proxy/libmod_proxy_scgi.la
> modules/proxy/libmod_proxy_ajp.la
> modules/proxy/libmod_proxy_balancer.la
> modules/http/libmod_http.la modules/http/libmod_mime.la
> modules/generators/libmod_status.la
> modules/generators/libmod_autoindex.la
> modules/generators/libmod_asis.la modules/generators/libmod_cgi.la
> modules/mappers/libmod_negotiation.la modules/mappers/libmod_dir.la
> modules/mappers/libmod_actions.la modules/mappers/libmod_userdir.la
> modules/mappers/libmod_alias.la modules/mappers/libmod_so.la
> server/mpm/prefork/libprefork.la  os/unix/libos.la -lm
> /var/www/src/httpd-2.2.21/srclib/pcre/libpcre.la
> /var/www/src/httpd-2.2.21/srclib/apr-util/libaprutil-1.la
> /var/www/src/httpd-2.2.21/srclib/apr-util/xml/expat/libexpat.la
> /var/www/src/httpd-2.2.21/srclib/apr/libapr-1.la -lpthread
> ld: 0711-317 ERROR: Undefined symbol: .XML_StopParser
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.

Why don't you add -bloadmap or -bnoquiet to LDFLAGS and see
what the linker suggests? - Maybe it already knows what's up

> collect2: ld returned 8 exit status
> make: The error code from the last command is 1.
> 
> Stop.
> make: The error code from the last command is 1.
> 
> 
> I need help on resolving this issue. What is the reason for this
> failure ??
> 
> Thanks,
> Raja.

So long,
i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE

Mime
View raw message