compress/uncompress not found
| From: | Petar Maymounkov | Date: | Wed, 27 Dec 2000 12:29:58 +0000 |
| Subject: | compress/uncompress not found | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-5448@lists.php.net to get a copy of this message | ||
Hi ,
i am trying to compile php as a static into apache.
i first configure the php source tree to compile with mysql support, than
run make and make install
all works well
then i go to apache and configure it to put php in with the apaci thiing,
as described in the INSTALL readme.
when i run the apache make though, i get the following error message:
please help, thanks:
gcc -DLINUX=2 -I/root/php-4.0.4 -I/root/php-4.0.4/main
-I/root/php-4.0.4/main -
I/root/php-4.0.4/Zend -I/root/php-4.0.4/Zend -I/root/php-4.0.4/TSRM
-I/root/php-
4.0.4/TSRM -I/root/php-4.0.4 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
`./ap
aci` \
-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,/usr/local/mysql/lib -rdynamic -L/usr/local/mysql/lib
-Lmodules/p
hp4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -ldl
-lmysqlclient
-lresolv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_uncompress
':
my_compress.o(.text+0x97): undefined reference to `uncompress'
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_compress_a
lloc':
my_compress.o(.text+0x12b): undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/root/apache_1.3.14/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/root/apache_1.3.14'
make: *** [build] Error 2