#46952 [Asn->Csd]: mysqlnd compile failure with suncc
| From: | andrey@php.net | Date: | Tue, 25 Aug 2009 14:25:53 +0000 |
| Subject: | #46952 [Asn->Csd]: mysqlnd compile failure with suncc | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-141490@lists.php.net to get a copy of this message | ||
ID: 46952
Updated by: andrey@php.net
Reported By: dg at artegic dot de
-Status: Assigned
+Status: Closed
Bug Type: MySQL related
Operating System: Solaris 10
PHP Version: 5.3.0
Assigned To: mysql
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2009-08-25 14:25:03] svn@php.net
Automatic comment from SVN on behalf of andrey
Revision: http://svn.php.net/viewvc/?view=revision&revision=287695
Log: MFH:
Fix bug#48198 error: 'MYSQLND_LLU_SPEC' undeclared
Possibly fix also :
Bug #48780 mysqlnd compile failure
Bug #46952 mysqlnd compile failure with suncc
------------------------------------------------------------------------
[2009-08-25 14:14:26] svn@php.net
Automatic comment from SVN on behalf of andrey
Revision: http://svn.php.net/viewvc/?view=revision&revision=287694
Log: Fix bug#48198 error: 'MYSQLND_LLU_SPEC' undeclared
Possibly fix also :
Bug #48780 mysqlnd compile failure
Bug #46952 mysqlnd compile failure with suncc
------------------------------------------------------------------------
[2009-07-03 06:35:09] dg at artegic dot de
Same error with php 5.3.0, suncc:
ext/mysqlnd/mysqlnd_ps_codec.c -o ext/mysqlnd/mysqlnd_ps_codec.lo
"xxx/php-5.3.0/ext/mysqlnd/mysqlnd.h", line 381: warning: syntax
error: empty declaration
"xxx/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c", line 82: undefined
symbol: MYSQLND_LLU_SPEC
"xxx/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c", line 82: warning:
improper pointer/integer combination: arg #2
"xxx/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c", line 90: undefined
symbol: MYSQLND_LLU_SPEC
"xxx/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c", line 90: warning:
improper pointer/integer combination: arg #2
"xxx/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c", line 111: undefined
symbol: MYSQLND_LL_SPEC
"xxx/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c", line 111: warning:
improper pointer/integer combination: arg #2
cc: acomp failed for /home/remote/compile/php-
5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c
*** Error code 1
make: Fatal error: Command failed for target
`ext/mysqlnd/mysqlnd_ps_codec.lo'
------------------------------------------------------------------------
[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