I think I need some serious help. I'm compiling Apache 1.3.12 with SSL and
PHP4, but it fails after performing the PHP4 stuff. Modules include
MySql3.23, rsaref-2.0, openssl-0.9.5a, mod_ssl-2.6.4-1.3.12... The
./configure command follows:
%SSL_BASE=../openssl-0.9.5a \
RSA_BASE=../rsaref-2.0/local \
./configure \
--enable-module=ssl \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4 \
--prefix=/home/smartin/apache \
--enable-shared=ssl
%make
... everything seems Ok until the following messages appear [see "undefined
reference to"] can anyone provide any clues?
...:
cp libmodphp4.a libphp4.a
ar r libphp4.a mod_php4.o
ranlib libphp4.a
<=== src/modules/php4
<=== src/modules
gcc -c -I./os/unix -I./include -DLINUX=2 -DMOD_SSL=206105
-I/home/smartin/php
4 -I/home/smartin/php4/main -I/home/smartin/php4/main -I/home/smartin/php4/Z
end
-I/home/smartin/php4/Zend -I/home/smartin/php4 -DEAPI -DUSE_EXPAT
-I./lib/expat-lite `./apaci` modules.c
gcc -c -I./os/unix -I./include -DLINUX=2 -DMOD_SSL=206105
-I/home/smartin/php
4 -I/home/smartin/php4/main -I/home/smartin/php4/main -I/home/smartin/php4/Z
end
-I/home/smartin/php4/Zend -I/home/smartin/php4 -DEAPI -DUSE_EXPAT -I./lib/ex
pat-
lite `./apaci` buildmark.c
gcc -DLINUX=2 -DMOD_SSL=206105 -I/home/smartin/php4 -I/home/smartin/php4/ma
in -
I/home/smartin/php4/main -I/home/smartin/php4/Zend -I/home/smartin/php4/Zend
-I/
home/smartin/php4 -DEAPI -DUSE_EXPAT -I./lib/expat-lite
/apaci` -rdynamic \
-o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/php4
/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.
a -Wl,-rpath,/home/smartin/mysql/lib -rdynamic -L/home/smartin/mysql/lib -
Lmod
ules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lgdbm -lpam -l
dl -
lmysqlclient -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt -ld
l
/home/smartin/mysql/lib/libmysqlclient.a(libmysql.o): In function
`mysql_list_db
s':
libmysql.o(.text+0x2724): undefined reference to `__mempcpy'
/home/smartin/mysql/lib/libmysqlclient.a(libmysql.o): In function
`mysql_list_ta
bles':
libmysql.o(.text+0x27d0): undefined reference to `__mempcpy'
/home/smartin/mysql/lib/libmysqlclient.a(violite.o): In function
`vio_peer_addr'
:
violite.o(.text+0x1c): undefined reference to `__mempcpy'
/home/smartin/mysql/lib/libmysqlclient.a(my_open.o): In function `my_open':
my_open.o(.text+0x14): undefined reference to `open64'
/home/smartin/mysql/lib/libmysqlclient.a(mf_pack.o): In function
`cleanup_dirnam
e':
mf_pack.o(.text+0x5f8): undefined reference to `__mempcpy'
/home/smartin/mysql/lib/libmysqlclient.a(mf_format.o): In function
`fn_format':
mf_format.o(.text+0x1fa): undefined reference to `__lxstat64'
/home/smartin/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_uncompr
ess':
my_compress.o(.text+0x97): undefined reference to `uncompress'
/home/smartin/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_compres
s_alloc':
my_compress.o(.text+0x12b): undefined reference to `compress'
/home/smartin/mysql/lib/libmysqlclient.a(my_lib.o): In function `my_dir':
my_lib.o(.text+0x209): undefined reference to `readdir64'
/home/smartin/mysql/lib/libmysqlclient.a(my_lib.o): In function `my_stat':
my_lib.o(.text+0x349): undefined reference to `__xstat64'
/home/smartin/mysql/lib/libmysqlclient.a(my_lib.o): In function `my_fstat':
my_lib.o(.text+0x3a5): undefined reference to `__fxstat64'
/home/smartin/mysql/lib/libmysqlclient.a(my_fopen.o): In function
`my_fopen':
my_fopen.o(.text+0x21): undefined reference to `fopen64'
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/home/smartin/apache/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/smartin/apache'
make: *** [build] Error 2
[smartin@linux1 apache]$
Thank you for any help, I tend to suspect some changes in configure.tmpl are
in order...
~ Steve
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs