PHP 4.0 Bug #8852 Updated: undefined reference to `compress'
| From: | sniper@php.net | Date: | Sun, 04 Mar 2001 01:08:07 +0000 |
| Subject: | PHP 4.0 Bug #8852 Updated: undefined reference to `compress' | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47889@lists.php.net to get a copy of this message | ||
ID: 8852
Updated by: sniper
Reported By: artem@osp.ru
Old-Status: Open
Status: Duplicate
Bug Type: Compile Failure
Assigned To:
Comments:
Duplicate of #6981
Previous Comments:
---------------------------------------------------------------------------
[2001-01-23 09:47:03] artem@osp.ru
Can't complile apache when use static php & mysql
There are like bug :5651
need patch src/Makefile in apache
add -lz to end of LIBS1
<=== src/modules/php4
<=== src/modules
gcc -c -I./os/unix -I./include -DLINUX=2 -DRUSSIAN_APACHE -DNO_DBM_REWRITEMAP
-I/usr3/home/artem/download/php-4.0.4pl1 -I/usr3/home/artem/download/php-4.0.4p
l1/main -I/usr3/home/artem/download/php-4.0.4pl1/main -I/usr3/home/artem/downloa
d/php-4.0.4pl1/Zend -I/usr3/home/artem/download/php-4.0.4pl1/Zend -I/usr3/home/a
rtem/download/php-4.0.4pl1/TSRM -I/usr3/home/artem/download/php-4.0.4pl1/TSRM -I
/usr3/home/artem/download/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite
./apaci
modules.c
gcc -c -I./os/unix -I./include -DLINUX=2 -DRUSSIAN_APACHE -DNO_DBM_REWRITEMAP
-I/usr3/home/artem/download/php-4.0.4pl1 -I/usr3/home/artem/download/php-4.0.4p
l1/main -I/usr3/home/artem/download/php-4.0.4pl1/main -I/usr3/home/artem/downloa
d/php-4.0.4pl1/Zend -I/usr3/home/artem/download/php-4.0.4pl1/Zend -I/usr3/home/a
rtem/download/php-4.0.4pl1/TSRM -I/usr3/home/artem/download/php-4.0.4pl1/TSRM -I
/usr3/home/artem/download/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite ./apaci
buildmark.c
gcc -DLINUX=2 -DRUSSIAN_APACHE -DNO_DBM_REWRITEMAP -I/usr3/home/artem/download/
php-4.0.4pl1 -I/usr3/home/artem/download/php-4.0.4pl1/main -I/usr3/home/artem/do
wnload/php-4.0.4pl1/main -I/usr3/home/artem/download/php-4.0.4pl1/Zend -I/usr3/h
ome/artem/download/php-4.0.4pl1/Zend -I/usr3/home/artem/download/php-4.0.4pl1/TS
RM -I/usr3/home/artem/download/php-4.0.4pl1/TSRM -I/usr3/home/artem/download/php
-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite ./apaci -rdynamic
-o httpd buildmark.o modules.o modules/extra/libextra.a modules/standard/l
ibstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.a -Wl,-rpath,/usr2/mysql/lib/mysql -rdynamic -L/usr2/
mysql/lib/mysql -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4
-lpam -ldl -lmysqlclient -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcry
pt -ldl
/usr2/mysql/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompres
s':
my_compress.o(.text+0x97): undefined reference to `uncompress'
/usr2/mysql/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_compress_
alloc':
my_compress.o(.text+0x123): undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Âûõîä èç êàòàëîã `/usr3/home/artem/download/apache_1.3.12rusPL29.7/src'
make[1]: *** [build-std] Error 2
make[1]: Âûõîä èç êàòàëîã `/usr3/home/artem/download/apache_1.3.12rusPL29.7'
make: *** [build] Error 2
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8852&edit=2