httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <...@covalent.net>
Subject RE: Undefined symbols when compiling Apache 2.0.36 on Solaris 2.7
Date Fri, 07 Jun 2002 19:55:33 GMT
If you --disable-http, then you are telling Apache not to compile HTTP
support.  That option is currently unsupported, but because of how the
autoconf magic is written, it is an allowed option.  In fact, the http
module MUST be compiled statically, or you will have the same problem.
Just re-run configure with --enable-http

Ryan

----------------------------------------------
Ryan Bloom                  rbb@covalent.net
645 Howard St.              rbb@apache.org
San Francisco, CA 

> -----Original Message-----
> From: Andy Cutright [mailto:acutright@borland.com]
> Sent: Friday, June 07, 2002 1:00 PM
> To: users@httpd.apache.org
> Subject: Re: Undefined symbols when compiling Apache 2.0.36 on Solaris
2.7
> 
> any luck solving this problem? i've run into it as well.. it appears
the -
> -disable-http is the problem. looks like http_request.c isn't being
built,
> which leads to the missing symbol problem. i'm trying to figure out
why
> _that_ isn't beging built..
> 
> 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
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org



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


Mime
View raw message