#47992 [NEW]: compile error in mysqlnd
| From: | valderama at gmail dot com | Date: | Thu, 16 Apr 2009 17:34:17 +0000 |
| Subject: | #47992 [NEW]: compile error in mysqlnd | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-135888@lists.php.net to get a copy of this message | ||
From: valderama at gmail dot com
Operating system: Mac OS X Tiger
PHP version: 5.3.0RC1
PHP Bug Type: Compile Failure
Bug description: compile error in mysqlnd
Description:
------------
In PHP 5.3.0RC1 there is a compile bug:
/Users/valdo/php-5.3.0RC1/ext/mysqlnd/mysqlnd_ps_codec.c:82: error:
'MYSQLND_LLU_SPEC' undeclared (first use in this function)
A temporary workaround was to define MYSQLND_LLU_SPEC and
MYSQLND_LL_SPEC at hand in mysqlnd_portability.h, but this obviously
needs to be corrected properly.
Reproduce code:
---------------
/configure' '--prefix=/usr/local' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--with-apxs' '--with-ldap=/usr'
'--with-kerberos=/usr' '--enable-cli' '--with-zlib-dir=/usr'
'--enable-exif' '--enable-ftp' '--with-mysqli=mysqlnd'
'--with-pdo-mysql=mysqlnd' '--with-mysql=mysqlnd' '--enable-mbstring'
'--enable-mbregex' '--enable-sockets' '--with-config-file-path=/etc'
'--sysconfdir=/private/etc' '--with-mysql-sock=/var/mysql/mysql.sock'
'--enable-soap' '--with-gd' '--with-png-dir=/sw'
'--with-jpeg-dir=/sw'
with darwin,
gcc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
5370)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Expected result:
----------------
should compile without failure
Actual result:
--------------
/Users/valdo/php-5.3.0RC1/ext/mysqlnd/mysqlnd_ps_codec.c:82: error:
'MYSQLND_LLU_SPEC' undeclared (first use in this function)
/Users/valdo/php-5.3.0RC1/ext/mysqlnd/mysqlnd_ps_codec.c:82: error:
(Each undeclared identifier is reported only once
/Users/valdo/php-5.3.0RC1/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: for
each function it appears in.)
/Users/valdo/php-5.3.0RC1/ext/mysqlnd/mysqlnd_ps_codec.c:111: error:
'MYSQLND_LL_SPEC' undeclared (first use in this function)
--
Edit bug report at http://bugs.php.net/?id=47992&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47992&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47992&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47992&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47992&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47992&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47992&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47992&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47992&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47992&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47992&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47992&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47992&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47992&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47992&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47992&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47992&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47992&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47992&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47992&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47992&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47992&r=mysqlcfg