From: [EMAIL PROTECTED] Operating system: RH linux 7.2 PHP version: 4.3.0 PHP Bug Type: Compile Warning Bug description: Compile warning for Mysql
I am trying to Upgrade / Install php from php4.2.3 to php4.3.0 System config: Redhat :Linux 7.2 Kernel 2.4.7-10 , apache 1.2.7 , pgsql 7.3 , Mysql 3.23.41 While i am compiling the source i recve the following error I have tried to compile on an other machine with same configuration . The configure script is <code> ./configure \--with-apxs= /usr/local/apache/bin/apxs \--enable-bcmath \--with-zlib \--with-b2z \--enable-sockets \--enable-wddx \--enable-calendar \--enable-multibyte \--with-pgsql \--with-gettext Error is ------------ .lo -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -o sapi/cgi/php ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam': /hdc6/apache/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp' /usr/bin/ld: BFD internal error, aborting at elf32-i386.c line 1741 in elf_i386_ relocate_section /usr/bin/ld: Please report this bug. collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 ------ends here </code> Do any one have any idea whats wrong ????? -- Edit bug report at http://bugs.php.net/?id=21896&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21896&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21896&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21896&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21896&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21896&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21896&r=support Expected behavior: http://bugs.php.net/fix.php?id=21896&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21896&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21896&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21896&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21896&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21896&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21896&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21896&r=gnused