note 19559 added to faq.build
| From: | ozzy at paradoxo dot org | Date: | Sun, 03 Mar 2002 22:37:28 +0000 |
| Subject: | note 19559 added to faq.build | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27301@lists.php.net to get a copy of this message | ||
I just can't compile php 4.1.2 in slackware 7.1. I get an undefined reference to
"compress" and the -lz flag isn't working.
Making all in .
make[1]: Entering directory `/root/appz/php-4.1.2'
/bin/sh /root/appz/php-4.1.2/libtool --silent --mode=link gcc -I. -I/root/appz/php-4.1.2/
-I/root/appz/php-4.1.2/main -I/root/appz/php-4.1.2 -I/root/appz/php-4.1.2/Zend -I/usr/local/include
-I/usr/local/mysql/include -I/root/appz/php-4.1.2/ext/xml/expat -I/root/appz/php-4.1.2/TSRM -g -O2
-o php -export-dynamic stub.lo libphp4.la
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress':
my_compress.o(.text+0x9a): undefined reference to `uncompress'
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_compress_alloc':
my_compress.o(.text+0x12a): undefined reference to `compress'
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/root/appz/php-4.1.2'
make: *** [all-recursive] Error 1
Can anyone guess what's going on?
--
http://www.php.net/manual/en/faq.build.php
http://master.php.net/manage/user-notes.php?action=edit+19559
http://master.php.net/manage/user-notes.php?action=delete+19559
http://master.php.net/manage/user-notes.php?action=reject+19559