#23329 [NEW]: cannot compile

From: Date: Thu, 24 Apr 2003 14:05:32 +0000
Subject: #23329 [NEW]: cannot compile
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38300@lists.php.net to get a copy of this message
From: dbarth at gmx dot net Operating system: Mandrake 9.1 PHP version: 4.3.1 PHP Bug Type: Compile Failure Bug description: cannot compile 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 bug report at http://bugs.php.net/?id=23329&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23329&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23329&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23329&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23329&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23329&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23329&r=support Expected behavior: http://bugs.php.net/fix.php?id=23329&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23329&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23329&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23329&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23329&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23329&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23329&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23329&r=gnused

« previous php.bugs (#38300) next »