ID: 48198 Updated by: and...@php.net Reported By: ajmiller at engr dot psu dot edu -Status: Assigned +Status: Closed Bug Type: MySQL related Operating System: Mac OS X Server 10.5.6 PHP Version: 5.3.0RC2 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:02] s...@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:24] s...@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-05-14 18:28:12] dg at artegic dot de Same with SUNCC / Solaris 10: "/home/remote/compile/php5.3- 200905141630/ext/mysqlnd/mysqlnd_ps_codec.c", line 82: undefined symbol: MYSQLND_LLU_SPEC "/home/remote/compile/php5.3- 200905141630/ext/mysqlnd/mysqlnd_ps_codec.c", line 90: undefined symbol: MYSQLND_LLU_SPEC "/home/remote/compile/php5.3- 200905141630/ext/mysqlnd/mysqlnd_ps_codec.c", line 111: undefined symbol: MYSQLND_LL_SPEC cc: acomp failed for /home/remote/compile/php5.3- 200905141630/ext/mysqlnd/mysqlnd_ps_codec.c ------------------------------------------------------------------------ [2009-05-08 21:32:39] ajmiller at engr dot psu dot edu Description: ------------ Compiling with mysqlnd drivers failed. System: Mac OS X Server 10.5.6 on a G5 iMac with XCode 3.1.2 This bug is similar to that described in Bug #47992 /Users/ajmiller/Desktop/php- 5.3.0RC2/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: 'MYSQLND_LLU_SPEC' undeclared (first use in this function) /Users/ajmiller/Desktop/php- 5.3.0RC2/ext/mysqlnd/mysqlnd_ps_codec.c:111: error: 'MYSQLND_LL_SPEC' undeclared (first use in this function) changing line 177 in ext/mysqlnd/mysqlnd_portability.h from #if __powerpc64__ to #if __powerpc64__ || __ppc64__ and line 192 from #if __powerpc__ && !__powerpc64__ to #if (__powerpc__ || __ppc__ ) && !(__powerpc64__ || __ppc64__) resolves the error. Reproduce code: --------------- ./configure '--prefix=/usr/local' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-apxs2=/usr/sbin/apxs' '--with-ldap=/usr' '--with-kerberos=/usr' '--enable-cli' '--with-zlib-dir=/usr' '--enable-trans-sid' '--with-xml' '--enable-exif' '--enable-ftp' '--enable-mbstring' '--enable-mbregex' '--enable-dbx' '--enable-sockets' '--with-iodbc=/usr' '--with-curl=/usr' '--with-config-file-path=/etc' '--sysconfdir=/private/etc' '--with-mysql-sock=/var/mysql' '--with-mysqli=mysqlnd' '--with-mysql=mysqlnd' '--with-openssl' '--with-xmlrpc' '--with-xsl=/usr' '--with-pear' Expected result: ---------------- Compile with out errors. Actual result: -------------- /bin/sh /Users/ajmiller/Desktop/php-5.3.0RC2/libtool --silent -- preserve-dup-deps --mode=compile gcc -Iext/mysqlnd/ - I/Users/ajmiller/Desktop/php-5.3.0RC2/ext/mysqlnd/ -DPHP_ATOM_INC - I/Users/ajmiller/Desktop/php-5.3.0RC2/include - I/Users/ajmiller/Desktop/php-5.3.0RC2/main - I/Users/ajmiller/Desktop/php-5.3.0RC2 -I/Users/ajmiller/Desktop/php- 5.3.0RC2/ext/ereg/regex -I/usr/include/libxml2 - I/Users/ajmiller/Desktop/php-5.3.0RC2/ext/date/lib - I/Users/ajmiller/Desktop/php-5.3.0RC2/ext/mbstring/oniguruma - I/Users/ajmiller/Desktop/php-5.3.0RC2/ext/mbstring/libmbfl - I/Users/ajmiller/Desktop/php-5.3.0RC2/ext/mbstring/libmbfl/mbfl - I/Users/ajmiller/Desktop/php-5.3.0RC2/ext/sqlite3/libsqlite - I/Users/ajmiller/Desktop/php-5.3.0RC2/TSRM - I/Users/ajmiller/Desktop/php-5.3.0RC2/Zend -no-cpp-precomp -O2 - I/usr/include -fvisibility=hidden -c /Users/ajmiller/Desktop/php- 5.3.0RC2/ext/mysqlnd/mysqlnd_ps_codec.c -o ext/mysqlnd/mysqlnd_ps_codec.lo In file included from /Users/ajmiller/Desktop/php- 5.3.0RC2/ext/mysqlnd/mysqlnd.h:59, from /Users/ajmiller/Desktop/php- 5.3.0RC2/ext/mysqlnd/mysqlnd_ps_codec.c:23: /Users/ajmiller/Desktop/php- 5.3.0RC2/ext/mysqlnd/mysqlnd_portability.h:471:1: warning: "float8get" redefined /Users/ajmiller/Desktop/php- 5.3.0RC2/ext/mysqlnd/mysqlnd_portability.h:423:1: warning: this is the location of the previous definition /Users/ajmiller/Desktop/php- 5.3.0RC2/ext/mysqlnd/mysqlnd_portability.h:472:1: warning: "float8store" redefined /Users/ajmiller/Desktop/php- 5.3.0RC2/ext/mysqlnd/mysqlnd_portability.h:413:1: warning: this is the location of the previous definition /Users/ajmiller/Desktop/php-5.3.0RC2/ext/mysqlnd/mysqlnd_ps_codec.c: In function 'ps_fetch_from_1_to_8_bytes': /Users/ajmiller/Desktop/php- 5.3.0RC2/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: 'MYSQLND_LLU_SPEC' undeclared (first use in this function) /Users/ajmiller/Desktop/php- 5.3.0RC2/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: (Each undeclared identifier is reported only once /Users/ajmiller/Desktop/php- 5.3.0RC2/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: for each function it appears in.) /Users/ajmiller/Desktop/php- 5.3.0RC2/ext/mysqlnd/mysqlnd_ps_codec.c:111: error: 'MYSQLND_LL_SPEC' undeclared (first use in this function) make: *** [ext/mysqlnd/mysqlnd_ps_codec.lo] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48198&edit=1