From: dg at artegic dot de Operating system: Solaris 10 PHP version: 5.3CVS-2008-12-27 (snap) PHP Bug Type: Compile Failure Bug description: mysqlnd compile failure with suncc
Description: ------------ Using Sun Studio 12 C Compiler including latest bugfixes with Solaris 10/x86 on a Sun Fire X2200 M2 (2 Dual Core AMD Opteron). Configure script runs with no failures/warnings. If (and only if) using --with-mysql=mysqlnd compiling fails: /bin/sh .../libtool --silent --preserve-dup-deps --mode=compile cc - Iext/mysqlnd/ -I.../ext/mysqlnd/ -DPHP_ATOM_INC -I.../include - I.../main -I... -I.../ext/ereg/regex -I/opt/csw/include/libxml2 - I/opt/csw/include -I.../ext/date/lib -I/opt/csw/include/freetype2 - I.../ext/mbstring/oniguruma -I.../ext/mbstring/libmbfl - I.../ext/mbstring/libmbfl/mbfl -I/usr/include/libxml2 -I.../TSRM - I.../Zend -D_POSIX_PTHREAD_SEMANTICS -I/opt/csw/include -fsimple=2 - xnorunpath -xO4 -xalias_level=basic -xipo=1 -xlibmopt - xprefetch_level=1 -xprefetch=auto -xstrconst -xtarget=native - zlazyload -DZTS -c .../ext/mysqlnd/mysqlnd_ps_codec.c -o ext/mysqlnd/mysqlnd_ps_codec.lo ".../ext/mysqlnd/mysqlnd.h", line 372: warning: syntax error: empty declaration ".../ext/mysqlnd/mysqlnd_ps_codec.c", line 82: undefined symbol: MYSQLND_LLU_SPEC ".../ext/mysqlnd/mysqlnd_ps_codec.c", line 82: warning: improper pointer/integer combination: arg #2 ".../ext/mysqlnd/mysqlnd_ps_codec.c", line 90: undefined symbol: MYSQLND_LLU_SPEC ".../ext/mysqlnd/mysqlnd_ps_codec.c", line 90: warning: improper pointer/integer combination: arg #2 ".../ext/mysqlnd/mysqlnd_ps_codec.c", line 111: undefined symbol: MYSQLND_LL_SPEC ".../ext/mysqlnd/mysqlnd_ps_codec.c", line 111: warning: improper pointer/integer combination: arg #2 cc: acomp failed for .../ext/mysqlnd/mysqlnd_ps_codec.c *** Error code 1 make: Fatal error: Command failed for target `ext/mysqlnd/mysqlnd_ps_codec.lo' -- Edit bug report at http://bugs.php.net/?id=46952&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46952&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46952&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46952&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46952&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46952&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46952&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46952&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46952&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46952&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46952&r=support Expected behavior: http://bugs.php.net/fix.php?id=46952&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46952&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46952&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46952&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46952&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46952&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46952&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46952&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46952&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46952&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46952&r=mysqlcfg