#23329 [Opn->Csd]: cannot compile

From: Date: Thu, 24 Apr 2003 15:42:30 +0000
Subject: #23329 [Opn->Csd]: cannot compile
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38308@lists.php.net to get a copy of this message
ID: 23329 Updated by: jay@php.net Reported By: dbarth at gmx dot net -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Mandrake 9.1 PHP Version: 4.3.1 New Comment: 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. This looks like a duplicate of 22346 (http://bugs.php.net/bug.php?id=22346), and it appears to be fixed. J Previous Comments: ------------------------------------------------------------------------ [2003-04-24 09:05:32] dbarth at gmx dot net Hello there, i have some problems compiling php under my new mandrake 9.1 release. using the same options and packages under suse 8.0 worked fine. so here are the informations: configure string: './configure' '--with-mysql' '--with-prefix=/usr/local/php' '--with-imap-ssl' '--enable-track-vars' '--enable-trans-sid' '--enable-sockets' '--with-apxs=/usr/local/apache/bin/apxs as i run make, it terminates with: [...] li/getopt.lo main/internal_functions_cli.lo -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -o sapi/cli/php ext/mysql/libmysql/my_tempnam.lo(.text+0x4c): In function `my_tempnam': /home/snooze/install/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.lo(.text+0x41c): In function `my_dir': /home/snooze/install/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno' ext/mysql/libmysql/my_lib.lo(.text+0x658): In function `my_stat': /home/snooze/install/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno' ext/mysql/libmysql/my_malloc.lo(.text+0xe2): In function `my_malloc': /home/snooze/install/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno' ext/mysql/libmysql/my_realloc.lo(.text+0xd5): In function `my_realloc': /home/snooze/install/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno' ext/mysql/libmysql/my_delete.lo(.text+0x8a): In function `my_delete': /home/snooze/install/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno' ext/mysql/libmysql/my_tempnam.lo(.text+0x85):/home/snooze/install/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] Fehler 1 so whats the hell is going wrong? im using mysl in version 4.0.11a-gamma, could this be the reason? any help would be greatly apreaciated thanks in advance ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23329&edit=1

« previous php.bugs (#38308) next »