php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23283 Compiling my_tempnam.lo
Submitted: 2003-04-20 02:14 UTC Modified: 2003-05-21 20:14 UTC
From: peterandersen at mespilus dot dk Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.1 OS: RedHat Linux 9.0
Private report: No CVE-ID: None
 [2003-04-20 02:14 UTC] peterandersen at mespilus dot dk
Hi.

I have a big problem compiling PHP 4.3.1 and also 4.3.0 on a standart RedHat 9 installation. I'm using ./configure --with-mysql --with-apxs2 and it goes fint. But when i comes to make i get the following error:

ext/mysql/libmysql/my_tempnam.lo(.text+0x4c): In function `my_tempnam':
/Data/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is
dangerous, better use `mkstemp'
ext/mysql/libmysql/my_lib.lo(.text+0x3d1): In function `my_dir':
/Data/php-4.3.0/ext/mysql/libmysql/my_lib.c:169: undefined reference to
`errno'
ext/mysql/libmysql/my_lib.lo(.text+0x5ef): In function `my_stat':
/Data/php-4.3.0/ext/mysql/libmysql/my_lib.c:588: undefined reference to
`errno'
ext/mysql/libmysql/my_malloc.lo(.text+0xde): In function `my_malloc':
/Data/php-4.3.0/ext/mysql/libmysql/my_malloc.c:24: undefined reference to
`errno'
ext/mysql/libmysql/my_realloc.lo(.text+0xd5): In function `my_realloc':
/Data/php-4.3.0/ext/mysql/libmysql/my_realloc.c:44: undefined reference to
`errno'
ext/mysql/libmysql/my_delete.lo(.text+0x86): In function `my_delete':
/Data/php-4.3.0/ext/mysql/libmysql/my_delete.c:16: undefined reference to
`errno'
ext/mysql/libmysql/my_tempnam.lo(.text+0x89):/Data/php-4.3.0/ext/mysql/libmy
sql/my_tempnam.c:108: more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
[root@test php-4.3.0]#
-CUT-

Please return to me and tell when this bug is beeing fiked.

Greetings Peter Andersen.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-25 11:00 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2003-04-25 11:38 UTC] jay@php.net
Dupe of 23330. See http://bugs.php.net/23330 for a 
solution. 
 
J 
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 21:00:01 2026 UTC