[CentOS] Compiling Apache 2.0.54 on CentOS 4.1

Fong Vang

sudoyang at gmail.com
Wed Sep 7 21:19:05 UTC 2005


Has anyone gotten Apache 2.0.54 to build on CentOS 4.1? Apache
2.0.52(distrbiuted with CentOS
4.1) compiles file. This is the error:

/scratch/apache2.src/httpd-2.0.54/srclib/apr/libtool --silent --mode=link 
gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER 
-I/scratch/apache2.src/httpd-2.0.54/srclib/apr/include 
-I/scratch/apache2.src/httpd-2.0.54/srclib/apr-util/include -I. 
-I/scratch/apache2.src/httpd-2.0.54/os/unix -I/scratch/apache2.src/httpd-
2.0.54/server/mpm/prefork -I/scratch/apache2.src/httpd-2.0.54/modules/http 
-I/scratch/apache2.src/httpd-2.0.54/modules/filters 
-I/scratch/apache2.src/httpd-2.0.54/modules/proxy 
-I/scratch/apache2.src/httpd-2.0.54/include -I/scratch/apache2.src/httpd-
2.0.54/modules/generators -I/usr/include/openssl -I/usr/kerberos/include 
-I/scratch/apache2.src/httpd-2.0.54/modules/dav/main -export-dynamic -o 
httpd modules.lo modules/aaa/mod_access.la modules/aaa/mod_auth.la 
modules/filters/mod_include.la modules/loggers/mod_log_config.la 
modules/metadata/mod_env.la modules/metadata/mod_setenvif.la 
modules/ssl/mod_ssl.la modules/http/mod_http.la modules/http/mod_mime.la 
modules/generators/mod_status.la modules/generators/mod_autoindex.la 
modules/generators/mod_asis.la modules/generators/mod_cgi.la 
modules/mappers/mod_negotiation.la modules/mappers/mod_dir.la 
modules/mappers/mod_imap.la modules/mappers/mod_actions.la 
modules/mappers/mod_userdir.la modules/mappers/mod_alias.la 
modules/mappers/mod_so.la server/mpm/prefork/libprefork.la server/libmain.la 
os/unix/libos.la -lssl -lcrypto -L/usr/kerberos/lib -lgssapi_krb5 -lkrb5 
-lcom_err -lk5crypto -lresolv -ldl -lz
/scratch/apache2.src/httpd-2.0.54/srclib/pcre/libpcre.la
/scratch/apache2.src/httpd-2.0.54/srclib/apr-util/libaprutil-0.la<http://0.la>-lgdbm
-
ldb-4.2 -lexpat
/scratch/apache2.src/httpd-2.0.54/srclib/apr/libapr-0.la<http://0.la>-lrt
-lm -lcrypt -lnsl -lpthread -ldl
modules/filters/.libs/mod_include.a(mod_include.o)(.text+0x240): In function 
`get_include_var':
/scratch/fong/newSpine/apache2.src/httpd-2.0.54/modules/filters/mod_include.c:231:
undefined reference to `__ctype_b'
modules/filters/.libs/mod_include.a(mod_include.o)(.text+0x42f): In function 
`decodehtml':
/scratch/fong/newSpine/apache2.src/httpd-2.0.54/modules/filters/mod_include.c:402:
undefined reference to `__ctype_b'
modules/filters/.libs/mod_include.a(mod_include.o)(.text+0x710): In function 
`ap_ssi_parse_string':
/scratch/fong/newSpine/apache2.src/httpd-2.0.54/modules/filters/mod_include.c:581:
undefined reference to `__ctype_b'
...
...
/scratch/fong/newSpine/apache2.src/httpd-2.0.54/server/util_script.c:317: 
undefined reference to `__ctype_b'
server/.libs/libmain.a(util_script.o)(.text+0x63e):/scratch/fong/newSpine/apache2.src/httpd-
2.0.54/server/util_script.c:319: undefined reference to `__ctype_b'
server/.libs/libmain.a(util_script.o)(.text+0xabe): In function 
`ap_scan_script_header_err_core':
/scratch/fong/newSpine/apache2.src/httpd-2.0.54/server/util_script.c:528: 
undefined reference to `__ctype_b'
server/.libs/libmain.a(util_script.o)(.text+0xb24):/scratch/fong/newSpine/apache2.src/httpd-
2.0.54/server/util_script.c:540: more undefined references to `__ctype_b' 
follow
server/.libs/libmain.a(util_filter.o)(.text+0x2aa): In function 
`register_filter':
/scratch/fong/newSpine/apache2.src/httpd-2.0.54/server/util_filter.c:219: 
undefined reference to `__ctype_toupper'
server/.libs/libmain.a(protocol.o)(.text+0x842): In function 
`read_request_line':
/scratch/fong/newSpine/apache2.src/httpd-2.0.54/server/protocol.c:630: 
undefined reference to `__ctype_b'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20050907/0342af99/attachment.html>


More information about the CentOS mailing list