problems compiling php-4.3.1

Harold Shanafield yellowdog-general@lists.terrasoftsolutions.com
Mon May 19 13:59:01 2003


I installed mysql-devel, along with a whole bunch of
other devels.  still no luck.  I am doing a straight
./configure, no parameters, is there something I
should specify?
Here's the error again:


make: *** Waiting for unfinished jobs....
ext/mysql/libmysql/my_tempnam.o: In function
`my_tempnam':
/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103:
the use of `tempnam' is dangerous, better use
`mkstemp'
ext/mysql/libmysql/my_lib.o: In function `my_dir':
/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_lib.c:169:
undefined reference to `errno'
/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_lib.c:169:
undefined reference to `errno'
ext/mysql/libmysql/my_lib.o: In function `my_stat':
/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_lib.c:588:
undefined reference to `errno'
/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_lib.c:588:
undefined reference to `errno'
ext/mysql/libmysql/my_malloc.o: In function
`my_malloc':
/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24:
undefined reference to `errno'
ext/mysql/libmysql/my_malloc.o:/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24:
more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

Thanks,
Harold

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com