httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Cutright <>
Subject Re: Undefined symbols when compiling Apache 2.0.36 on Solaris 2.7
Date Tue, 04 Jun 2002 20:14:24 GMT
hi andrew,

have you looked at the libmain link? i've found that apache will sometimes fail to link libraries,
and then fail to stop the build process. this results in problems downstream. also, do you
have any of the SUNWspro tools installed? we've building pretty successfully using only SUNWspro
compilers along with the /usr/ccs/bin stuff for linking, etc.


Andrew Sanderson wrote:

> I am having trouble getting Apache 2.0.36 to compile on Solaris 2.7.  I am
> using gcc 3.04 and the native assembler.  I have added /usr/lib to the
> beginning of my path.  I have tried to compile with mod_so enabled and
> everything else disabled, as well as with everything shared and mod_so
> enabled.
> Here is what I am adding to my path:
> PATH=/usr/lib:/usr/ccs/bin:/usr/local/apps/gcc-3.0.4/bin:/usr/local/apps/binutils/binutils-2.10/bin:$PATH
> Here is the configure command:
> ./configure --prefix=/scratch/s2/ams/installs --with-mpm=prefork --enable-so -disable-access
-disable-auth -disable-auth_anon -disable-auth_dbm -disable-file_cache -disable-echo -disable-charset_lite
-disable-cache -disable-disk_cache -disable-mem_cache -disable-example -disable-ext_filter
-disable-case_filter -disable-case_filter_in -disable-deflate -disable-include -disable-log_config
-disable-env -disable-mime_magic -disable-cern_meta -disable-expires -disable-headers -disable-usertrack
-disable-usertrack -disable-unique_id -disable-setenvif -disable-proxy -disable-proxy_connect
-disable-proxy_ftp -disable-proxy_http -disable-ssl -disable-optional_hook_export -disable-optional_hook_import
-disable-optional_fn_import -disable-optional_fn_export -disable-bucketeer -disable-http -disable-mime
-disable-dav -disable-status -disable-autoindex -disable-asis -disable-info -disable-suexec
-disable-cgi -disable-cgid -disable-dav_fs -disable-vhost_alias -disable-negotiation -disable!
> -dir -disable-imap -disable-actions -disable-speling -disable-userdir -disable-alias
> configure completes fine, the following error happens when running make.
> make[1]: Entering directory `/scratch/s2/ams/2.0/httpd-2.0.36'
> /bin/bash /scratch/s2/ams/2.0/httpd-2.0.36/srclib/apr/libtool --silent
> --mode=link gcc  -g -O2 -pthreads    -DSOLARIS2=7
> -I. -I/scratch/s2/ams/2.0/httpd-2.0.36/os/unix
> -I/scratch/s2/ams/2.0/httpd-2.0.36/server/mpm/prefork
> -I/scratch/s2/ams/2.0/httpd-2.0.36/modules/http
> -I/scratch/s2/ams/2.0/httpd-2.0.36/modules/proxy
> -I/scratch/s2/ams/2.0/httpd-2.0.36/include
> -I/scratch/s2/ams/2.0/httpd-2.0.36/srclib/apr/include
> -I/scratch/s2/ams/2.0/httpd-2.0.36/srclib/apr-util/include
> -I/usr/local/include -export-dynamic    -o httpd  modules.lo
> modules/mappers/ server/mpm/prefork/
> server/ os/unix/
> /scratch/s2/ams/2.0/httpd-2.0.36/srclib/pcre/
> /scratch/s2/ams/2.0/httpd-2.0.36/srclib/apr-util/
> /scratch/s2/ams/2.0/httpd-2.0.36/srclib/apr/ -lrt -lm -lsocket
> -lnsl -lresolv -ldl -lgdbm -ldb -L/usr/local/lib -lexpat
> Undefined                       first referenced
>  symbol                             in file
> ap_internal_redirect                server/.libs/
> ap_byterange_filter                 server/.libs/
> ap_http_input_filter_handle         server/.libs/
> ap_internal_fast_redirect           server/.libs/
> ap_basic_http_header                server/.libs/
> ap_method_list_vdo                  server/.libs/
> ap_method_list_remove               server/.libs/
> ap_method_in_list                   server/.libs/
> ap_index_of_response                server/.libs/
> ap_setup_client_block               server/.libs/
> ap_method_list_add                  server/.libs/
> ap_send_error_response              server/.libs/
> ap_internal_redirect_handler        server/.libs/
> ap_allow_standard_methods           server/.libs/
> ap_set_keepalive                    server/.libs/
> ap_method_name_of                   server/.libs/
> ap_get_status_line                  server/.libs/
> ap_discard_request_body             server/.libs/
> ap_send_http_trace                  server/.libs/
> ap_set_etag                         server/.libs/
> ap_make_etag                        server/.libs/
> ap_allow_methods                    server/.libs/
> ap_get_client_block                 server/.libs/
> ap_should_client_block              server/.libs/
> ap_method_registry_init             server/.libs/
> ap_method_register                  server/.libs/
> ap_set_content_type                 server/.libs/
> ap_copy_method_list                 server/.libs/
> ap_make_method_list                 server/.libs/
> ap_meets_conditions                 server/.libs/
> ap_send_http_options                server/.libs/
> ap_method_list_do                   server/.libs/
> ap_method_number_of                 server/.libs/
> ap_http_header_filter               server/.libs/
> ap_die                              server/.libs/
> ap_clear_method_list                server/.libs/
> ld: fatal: Symbol referencing errors. No output written to .libs/httpd
> collect2: ld returned 1 exit status
> make[1]: *** [httpd] Error 1
> make[1]: Leaving directory `/scratch/s2/ams/2.0/httpd-2.0.36'
> make: *** [all-recursive] Error 1
> Any help is greatly appreciated!
> Thanks,
> Andrew
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Borland -- Enabling a new digital world where our customers have the
freedom of choice to develop, deploy, and integrate applications across
the enterprise and  the Internet.

Don't miss the 13th Annual Borland® Conference, May 18-22 in Anaheim,
California. Hundreds of sessions are being offered  to help you enable
the new digital world  with best-in-class solutions for Web Services,
Java™ technologies, mobile and enterprise computing, cross-platform
development, .NET™ and J2EE™  platform technologies, and more!
Register today!

This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or confidential
information.  If you are not the intended recipient of this e-mail, you are hereby
notified that any dissemination, distribution or copying of this e-mail, and any
attachments thereto, is strictly prohibited.  If you have received this e-mail in
please immediately and permanently delete the original and any copy of any e-mail
and any printout thereof.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message