You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mickoski Miki <mi...@yahoo.com> on 2006/04/02 22:00:34 UTC

[users@httpd] Compile Error

I download apache 2.2.0 version and during the compile gave me error something like this:

The error:

make[1]: Leaving directory `/home/admin/INSTALL/httpd-2.0.52/support'
make[1]: Entering directory `/home/admin/INSTALL/httpd-2.0.52'
/home/admin/INSTALL/httpd-2.0.52/srclib/apr/libtool --silent --mode=compile 
gcc  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
 -D_SVID_SO
URCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER   \
                -I/home/admin/INSTALL/httpd-2.0.52/srclib/apr/include 
 -I/home/admin/INSTALL/httpd-2.0.52/srclib/apr-util/include
-I. -I/home/admin/INSTALL/httpd-2.0.52/os/unix \
                -I/home/admin/INSTALL/httpd-2.0.52/server/mpm/prefork 
 -I/home/admin/INSTALL/httpd-2.0.52/modules/http -I/home/admin/INST
ALL/httpd-2.0.52/modules/filters -I/home/admin/INSTALL/httpd-2.0.52/modules/proxy 
 -I/home/admin/INSTALL/httpd-2.0.52/include \
-I/home/admin/INSTALL/httpd-2.0.52/modules /generators \
                -I/home/admin/INSTALL/httpd-2.0.52/modules/dav/main -prefer-non-pic 
 -static -c modules.c && touch modules.lo
/home/admin/INSTALL/httpd-2.0.52/srclib/apr/libtool --silent --mode=link 
cc  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
 -D_SVID_SOURC
E -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER   \
                -I/home/admin/INSTALL/httpd-2.0.52/srclib/apr/include 
 -I/home/admin/INSTALL/httpd-2.0.52/srclib/apr-util/include -I.
 -I/home/admin/INSTALL/httpd-2.0.52/os/unix \
                -I/home/admin/INSTALL/httpd-2.0.52/server/mpm/prefork 
 -I/home/admin/INSTALL/httpd-2.0.52/modules/http -I/home/admin/INSTALL
/httpd-2.0.52/modules/filters -I/home/admin/INSTALL/httpd-2.0.52/modules/proxy 
 -I/home/admin/INSTALL/httpd-2.0.52/include \
-I/home/admin/INSTALL/httpd-2.0.52/modules/ge nerators \
                -I/home/admin/INSTALL/httpd-2.0.52/modules/dav/main -export-dynamic 
    -o httpd  modules.lo  modules/aaa/mod_access.la modules/aaa/mod_auth.la 
modules/aaa/mod
_auth_anon.la modules/filters/mod_include.la 
modules/loggers/mod_log_config.la modules/loggers/mod_logio.la 
modules/metadata/mod_env.la modules/metadata/mod_cern_meta.
la modules/metadata/mod_unique_id.la modules/metadata/mod_setenvif.la 
modules/http/mod_http.la modules/http/mod_mime.la 
modules/generators/mod_status.la modules/genera
tors/mod_autoindex.la modules/generators/mod_suexec.la 
modules/generators/mod_cgi.la modules/mappers/mod_negotiation.la 
modules/mappers/mod_dir.la modules/mappers/mod_
speling.la modules/mappers/mod_alias.la modules/mappers/mod_rewrite.la 
modules/mappers/mod_so.la server/mpm/prefork/libprefork.la server/libmain.la 
os/unix/libos.la  /
home/admin/INSTALL/httpd-2.0.52/srclib/pcre/libpcre.la 
/home/admin/INSTALL/httpd-2.0.52/srclib/apr-util/libaprutil-0.la -lgdbm -ldb-4.1 
 -lexpat /home/admin/INSTALL/htt
pd-2.0.52/srclib/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl
server/.libs/libmain.al(main.lo): In function `main':
/home/admin/INSTALL/httpd-2.0.52/server/main.c:576: undefined reference to 
`ap_prelinked_modules'
/home/admin/INSTALL/httpd-2.0.52/server/main.c:576: undefined reference to 
`ap_prelinked_modules'
/home/admin/INSTALL/httpd-2.0.52/server/main.c:617: undefined reference to 
`ap_mpm_run'
server/.libs/libmain.al(main.lo): In function `suck_in_APR':
/home/admin/INSTALL/httpd-2.0.52/server/main.c:662: undefined reference to 
`ap_ugly_hack'
server/.libs/libmain.al(protocol.lo): In function `read_request_line':
/home/admin/INSTALL/httpd-2.0.52/server/protocol.c:630: undefined reference 
to `ap_method_number_of'
server/.libs/libmain.al(protocol.lo): In function `ap_read_request':
/home/admin/INSTALL/httpd-2.0.52/server/protocol.c:857: undefined reference 
to `ap_make_method_list'
/home/admin/INSTALL/httpd-2.0.52/server/protocol.c:925: undefined reference 
to `ap_send_error_response'
/home/admin/INSTALL/httpd-2.0.52/server/protocol.c:984: undefined reference 
to `ap_send_error_response'
/home/admin/INSTALL/httpd-2.0.52/server/protocol.c:991: undefined reference 
to `ap_http_input_filter_han
.
.
.
os/unix/.libs/libos.al(unixd.lo): In function `unixd_accept':
/home/admin/INSTALL/httpd-2.0.52/os/unix/unixd.c:585: undefined reference to 
`ap_server_conf'
/home/admin/INSTALL/httpd-2.0.52/os/unix/unixd.c:568: undefined reference to 
`ap_server_conf'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/home/admin/INSTALL/httpd-2.0.52'
make: *** [all-recursive] Error 1
Do anyone can help me?



		
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.