php.net |  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
 [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 
sapi/cli/php
ext/mysql/libmysql/my_tempnam.o(.text+0x40): In 
function `my_tempnam':
/root/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(.text+0x37a): In function 
`my_dir':
/root/src/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':
/root/src/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':
/root/src/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':
/root/src/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':
/root/src/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: 
undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x79):/root/src/
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-29 01:17 UTC] derick@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-2022 The PHP Group
All rights reserved.
Last updated: Mon May 16 16:05:46 2022 UTC