#46952 [NoF->Opn]: mysqlnd compile failure with suncc

[email protected] ("dg at artegic dot de")
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               46952
 User updated by:  dg at artegic dot de
 Reported By:      dg at artegic dot de
-Status:           No Feedback
+Status:           Open
 Bug Type:         MySQL related
 Operating System: Solaris 10
-PHP Version:      5.3CVS-2008-12-27 (snap)
+PHP Version:      5.3.0
 Assigned To:      mysql
 New Comment:

Set the status to OPEN again.


Previous Comments:
------------------------------------------------------------------------

[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'

------------------------------------------------------------------------

[2009-06-29 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2009-06-22 00:22:50] [email protected]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------

[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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.