#46952 [Opn->Asn]: mysqlnd compile failure with suncc
ID: 46952
Updated by: jani@php.net
Reported By: dg at artegic dot de
-Status: Open
+Status: Assigned
Bug Type: MySQL related
Operating System: Solaris 10
PHP Version: 5.3CVS-2008-12-27 (snap)
-Assigned To:
+Assigned To: mysql
Previous Comments:
------------------------------------------------------------------------
[2008-12-27 11:40:01] dg at artegic dot de
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 this bug report at http://bugs.php.net/?id=46952&edit=1
Thread (7 messages)