php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23538 Fails at "make"
Submitted: 2003-05-07 23:13 UTC Modified: 2003-05-08 03:16 UTC
From: insecteye at hotmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.1 OS: RedHat 9
Private report: No CVE-ID: None
 [2003-05-07 23:13 UTC] insecteye at hotmail dot com
./configure --with-zlib --with-mysql --with-apache2=../apache-2.0.45 --enable-track-vars

The configure runs well but when I try to do a "make" here's what I get

ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam':
/var/tmp/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(.text+0x37a): In function `my_dir':
/var/tmp/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
ext/mysql/libmysql/my_lib.o(.text+0x546): In function `my_stat':
/var/tmp/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
ext/mysql/libmysql/my_malloc.o(.text+0xbd): In function `my_malloc':
/var/tmp/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
ext/mysql/libmysql/my_realloc.o(.text+0xb4): In function `my_realloc':
/var/tmp/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'
ext/mysql/libmysql/my_delete.o(.text+0x6d): In function `my_delete':
/var/tmp/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x79):/var/tmp/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108: more undefined referenc
es to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1

Can you help me out here!???

This is what I'm using to install MySQL/PHP/Apache

httpd-2.0.45.tar.gz     
MySQL-client-4.0.9-0.i386.rpm   MySQL-embedded-4.0.9-0.i386.rpm  
php-4.3.1.tar.gz
MySQL-4.0.9-0.i386.rpm  
MySQL-devel-3.23.56-1.i386.rpm  MySQL-shared-4.0.9-0.i386.rpm    phpMyAdmin-2.5.0-rc2-php3.tar.gz

If anyone can help me out, I'd appreciate it.. :]  

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-08 03:16 UTC] edink@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 16:00:01 2026 UTC