#23283 [Dup->Csd]: Compiling my_tempnam.lo

From: Date: Thu, 22 May 2003 01:14:42 +0000
Subject: #23283 [Dup->Csd]: Compiling my_tempnam.lo
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40176@lists.php.net to get a copy of this message
ID: 23283 Updated by: sniper@php.net Reported By: peterandersen at mespilus dot dk -Status: Duplicate +Status: Closed Bug Type: Compile Failure Operating System: RedHat Linux 9.0 PHP Version: 4.3.1 Previous Comments: ------------------------------------------------------------------------ [2003-04-25 11:38:29] jay@php.net Dupe of 23330. See http://bugs.php.net/23330 for a solution. J ------------------------------------------------------------------------ [2003-04-25 11:00:51] 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-20 05:39:09] helly@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-04-20 02:14:25] 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23283&edit=1

« previous php.bugs (#40176) next »