httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Cutright <acutri...@borland.com>
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.

cheers,
andy

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
-disable-rewrite
>
> 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
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER
> -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/mod_so.la server/mpm/prefork/libprefork.la
> server/libmain.la os/unix/libos.la
> /scratch/s2/ams/2.0/httpd-2.0.36/srclib/pcre/libpcre.la
> /scratch/s2/ams/2.0/httpd-2.0.36/srclib/apr-util/libaprutil.la
> /scratch/s2/ams/2.0/httpd-2.0.36/srclib/apr/libapr.la -lrt -lm -lsocket
> -lnsl -lresolv -ldl -lgdbm -ldb -L/usr/local/lib -lexpat
> Undefined                       first referenced
>  symbol                             in file
> ap_internal_redirect                server/.libs/libmain.al(exports.lo)
> ap_byterange_filter                 server/.libs/libmain.al(exports.lo)
> ap_http_input_filter_handle         server/.libs/libmain.al(protocol.lo)
> ap_internal_fast_redirect           server/.libs/libmain.al(exports.lo)
> ap_basic_http_header                server/.libs/libmain.al(exports.lo)
> ap_method_list_vdo                  server/.libs/libmain.al(exports.lo)
> ap_method_list_remove               server/.libs/libmain.al(exports.lo)
> ap_method_in_list                   server/.libs/libmain.al(exports.lo)
> ap_index_of_response                server/.libs/libmain.al(exports.lo)
> ap_setup_client_block               server/.libs/libmain.al(exports.lo)
> ap_method_list_add                  server/.libs/libmain.al(exports.lo)
> ap_send_error_response              server/.libs/libmain.al(exports.lo)
> ap_internal_redirect_handler        server/.libs/libmain.al(exports.lo)
> ap_allow_standard_methods           server/.libs/libmain.al(exports.lo)
> ap_set_keepalive                    server/.libs/libmain.al(exports.lo)
> ap_method_name_of                   server/.libs/libmain.al(exports.lo)
> ap_get_status_line                  server/.libs/libmain.al(exports.lo)
> ap_discard_request_body             server/.libs/libmain.al(exports.lo)
> ap_send_http_trace                  server/.libs/libmain.al(exports.lo)
> ap_set_etag                         server/.libs/libmain.al(exports.lo)
> ap_make_etag                        server/.libs/libmain.al(exports.lo)
> ap_allow_methods                    server/.libs/libmain.al(exports.lo)
> ap_get_client_block                 server/.libs/libmain.al(exports.lo)
> ap_should_client_block              server/.libs/libmain.al(exports.lo)
> ap_method_registry_init             server/.libs/libmain.al(exports.lo)
> ap_method_register                  server/.libs/libmain.al(exports.lo)
> ap_set_content_type                 server/.libs/libmain.al(exports.lo)
> ap_copy_method_list                 server/.libs/libmain.al(exports.lo)
> ap_make_method_list                 server/.libs/libmain.al(exports.lo)
> ap_meets_conditions                 server/.libs/libmain.al(exports.lo)
> ap_send_http_options                server/.libs/libmain.al(exports.lo)
> ap_method_list_do                   server/.libs/libmain.al(exports.lo)
> ap_method_number_of                 server/.libs/libmain.al(config.lo)
> ap_http_header_filter               server/.libs/libmain.al(exports.lo)
> ap_die                              server/.libs/libmain.al(exports.lo)
> ap_clear_method_list                server/.libs/libmain.al(exports.lo)
> 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: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

--
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. http://www.borland.com

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! http://www.borland.com/conf2002

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
error,
please immediately and permanently delete the original and any copy of any e-mail
and any printout thereof.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message