From: lneve at mail dot nih dot gov
Operating system: Solaris 10 (sparc)
PHP version: 5.3.0
PHP Bug Type: Compile Failure
Bug description: mysqlnd compile failure
Description:
------------
PHP build fails when compiling file mysqlnd_ps_codec.c. The error is
"`MYSQLND_LLU_SPEC' undeclared".
Reproduce code:
---------------
/bin/sh /opt/php-5.3.0/libtool --silent --preserve-dup-deps --mode=compile
gcc -Iext/mysqlnd/ -I/opt/php-5.3.0/ext/mysqlnd/ -DPHP_ATOM_INC
-I/opt/php-5.3.0/include -I/opt/php-5.3.0/main -I/opt/php-5.3.0
-I/opt/php-5.3.0/ext/date/lib -I/opt/php-5.3.0/ext/ereg/regex
-I/usr/local/include/libxml2 -I/usr/local/ssl/include -I/usr/sfw/include
-I/usr/sfw/include/freetype2 -I/usr/local/include
-I/usr/local/imap-2007d/include -I/opt/php-5.3.0/ext/mbstring/oniguruma
-I/opt/php-5.3.0/ext/mbstring/libmbfl
-I/opt/php-5.3.0/ext/mbstring/libmbfl/mbfl
-I/opt/postgres/8.3-community/include
-I/opt/php-5.3.0/ext/sqlite3/libsqlite -I/opt/php-5.3.0/TSRM
-I/opt/php-5.3.0/Zend -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include
-c /opt/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c -o
ext/mysqlnd/mysqlnd_ps_codec.lo
In file included from /opt/php-5.3.0/ext/mysqlnd/mysqlnd.h:59,
from /opt/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c:23:
/opt/php-5.3.0/ext/mysqlnd/mysqlnd_portability.h:471:1: warning:
"float8get" redefined
/opt/php-5.3.0/ext/mysqlnd/mysqlnd_portability.h:423:1: warning: this is
the location of the previous definition
/opt/php-5.3.0/ext/mysqlnd/mysqlnd_portability.h:472:1: warning:
"float8store" redefined
/opt/php-5.3.0/ext/mysqlnd/mysqlnd_portability.h:413:1: warning: this is
the location of the previous definition
/opt/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c: In function
`ps_fetch_from_1_to_8_bytes':
/opt/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c:82: error:
`MYSQLND_LLU_SPEC' undeclared (first use in this function)
/opt/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: (Each undeclared
identifier is reported only once
/opt/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: for each function
it appears in.)
/opt/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c:111: error:
`MYSQLND_LL_SPEC' undeclared (first use in this function)
gmake: *** [ext/mysqlnd/mysqlnd_ps_codec.lo] Error 1
--
Edit bug report at http://bugs.php.net/?id=48780&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=48780&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=48780&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=48780&r=trysnapshot60
Fixed in CVS:
http://bugs.php.net/fix.php?id=48780&r=fixedcvs
Fixed in CVS and need be documented:
http://bugs.php.net/fix.php?id=48780&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=48780&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=48780&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=48780&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=48780&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=48780&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=48780&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=48780&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=48780&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=48780&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48780&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48780&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=48780&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=48780&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=48780&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=48780&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=48780&r=mysqlcfg