Errors Compiling PHP 4.3.1 with Apache 2
| From: | Jeremy N.E. Proffitt | Date: | Wed, 07 May 2003 13:34:01 +0000 |
| Subject: | Errors Compiling PHP 4.3.1 with Apache 2 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-146668@lists.php.net to get a copy of this message | ||
I have just installed Red hat Linux 9 (Shike). I removed the php and httpd (apache) rpm packages
with rpm -e. I have compiled and built Apache httpd version 2.0.45 without problems. I followed
the instructions from the php documentation:
..snip..
10. ./configure --with-apxs2=/usr/local/apache2/bin/apxs
11. make
And get this error message (compiling php 4.3.1) :
/home/mysql/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
ext/mysql/libmysql/my_malloc.lo(.text+0xde): In function `my_malloc':
/home/mysql/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
ext/mysql/libmysql/my_realloc.lo(.text+0xd5): In function `my_realloc':
/home/mysql/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'
ext/mysql/libmysql/my_delete.lo(.text+0x86): In function `my_delete':
/home/mysql/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.lo(.text+0x89):/home/mysql/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108:
more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Any ideas?
Thanks
Jeremy