|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23399 will not make.
Submitted: 2003-04-29 01:11 UTC Modified: 2003-04-29 01:17 UTC
From: matty at modernpostcard dot com Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.3.1 OS: redhat 9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: matty at modernpostcard dot com
New email:
PHP Version: OS:


 [2003-04-29 01:11 UTC] matty at modernpostcard dot com
this was my configure:

./configure --with-sybase=/usr/local/freetds --with-
apache=../apache_1.3.27 --with-curl=/usr/local/curl --
enable-shared-pdflib --enable-track-vars

then make

I put the last of the output here:

Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/
zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/
zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo 
Zend/zend_list.lo Zend/zend_indent.lo Zend/
zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/
zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo 
Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/
getopt.lo main/internal_functions_cli.lo -lsybdb -lcurl 
-lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lcurl -ldl  -o 
ext/mysql/libmysql/my_tempnam.o(.text+0x40): In 
function `my_tempnam':
my_tempnam.c:103: the use of `tempnam' is dangerous, 
better use `mkstemp'
ext/mysql/libmysql/my_lib.o(.text+0x37a): In function 
undefined reference to `errno'
ext/mysql/libmysql/my_lib.o(.text+0x546): In function 
undefined reference to `errno'
ext/mysql/libmysql/my_malloc.o(.text+0xbd): In function 
undefined reference to `errno'
ext/mysql/libmysql/my_realloc.o(.text+0xb4): In 
function `my_realloc':
undefined reference to `errno'
ext/mysql/libmysql/my_delete.o(.text+0x6d): In function 
undefined reference to `errno'
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

Please help


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-29 01:17 UTC]
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
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Sep 24 10:01:24 2023 UTC