From: czachary at wiley dot com Operating system: Solaris 9 PHP version: 5.2.0 PHP Bug Type: Compile Failure Bug description: Symbol Reference error while compiling PHP CLI on Solaris 9
Description: ------------ While compiling PHP 5.2.0 CLI I received the following error. Reproduce code: --------------- Undefined first referenced symbol in file __lshrdi3 main/snprintf.o (symbol belongs to implicit dependency /usr/local/lib/libgcc_s.so.1) __cmpdi2 ext/date/php_date.o (symbol belongs to implicit dependency /usr/local/lib/libgcc_s.so.1) __divdi3 ext/date/php_date.o (symbol belongs to implicit dependency /usr/local/lib/libgcc_s.so.1) __floatdidf ext/date/php_date.o (symbol belongs to implicit dependency /usr/local/lib/libgcc_s.so.1) __moddi3 ext/date/php_date.o (symbol belongs to implicit dependency /usr/local/lib/libgcc_s.so.1) __muldi3 ext/date/lib/dow.o (symbol belongs to implicit dependency /usr/local/lib/libgcc_s.so.1) __ashldi3 ext/pdo_sqlite/sqlite/src/vdbe.o (symbol belongs to implicit dependency /usr/local/lib/libgcc_s.so.1) __ashrdi3 ext/pdo_sqlite/sqlite/src/vdbe.o (symbol belongs to implicit dependency /usr/local/lib/libgcc_s.so.1) __udivdi3 ext/pdo/pdo.o (symbol belongs to implicit dependency /usr/local/lib/libgcc_s.so.1) __umoddi3 ext/date/lib/tm2unixtime.o (symbol belongs to implicit dependency /usr/local/lib/libgcc_s.so.1) ld: fatal: Symbol referencing errors. No output written to sapi/cgi/php collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 -- Edit bug report at http://bugs.php.net/?id=39511&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39511&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39511&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39511&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39511&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39511&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39511&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39511&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39511&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39511&r=support Expected behavior: http://bugs.php.net/fix.php?id=39511&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39511&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39511&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39511&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39511&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39511&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39511&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39511&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39511&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39511&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39511&r=mysqlcfg