ID: 48644 Updated by: d...@php.net Reported By: alex dot emsenhuber at bluewin dot ch -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Mac OS X 10.5.7 PHP Version: 5.3.0RC4 New Comment:
This bug has been fixed in CVS. 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-06-22 11:53:57] alex dot emsenhuber at bluewin dot ch Description: ------------ ext/mysqlnd/mysqlnd_result.c does not compile with '--enable-mysqlnd-threading' in ./configure, removing this option make PHP compile correctly. This seems to be caused by http://cvs.php.net/viewvc.cgi/php-src/ext/mysqlnd/mysqlnd_structs.h?r1=1.2.2.19&r2=1.2.2.20 where free_chunck was removed. Reproduce code: --------------- './configure' \ '--prefix=/usr' \ '--mandir=/usr/share/man' \ '--infodir=/usr/share/info' \ '--sysconfdir=/private/etc' \ '--enable-bcmath' \ '--enable-calendar' \ '--enable-cgi' \ '--enable-cli' \ '--enable-ctype' \ '--enable-dba' \ '--enable-debug' \ '--enable-embedded-mysqli' \ '--enable-exif' \ '--enable-ftp' \ '--enable-gd-native-ttf' \ '--enable-maintainer-zts' \ '--enable-mbstring' \ '--enable-mbregex' \ '--enable-mysqlnd-threading' \ '--enable-pcntl' \ '--enable-sockets' \ '--enable-sqlite-utf8' \ '--enable-wddx' \ '--enable-zend-multibyte' \ '--with-config-file-path=/private/etc' \ '--with-curl=/usr' \ '--with-db4=/usr/local/BerkeleyDB.4.7' \ '--with-gd' \ '--with-imap-ssl' \ '--with-kerberos=/usr' \ '--with-mcrypt' \ '--with-mhash' \ '--with-mysql=mysqlnd' \ '--with-mysql-sock=/private/var/mysql/mysql.sock' \ '--with-mysqli=mysqlnd' \ '--with-pdo-mysql=mysqlnd' \ '--with-pdo-pgsql=/Library/PostgreSQL/8.3' \ '--with-pgsql=/Library/PostgreSQL/8.3' \ '--with-readline' \ '--with-snmp' \ '--with-sqlite' \ '--with-tsrm-pthreads' \ '--with-xmlrpc' \ '--with-zlib-dir=/usr' \ '--with-apxs2=/usr/bin/apxs' make Expected result: ---------------- the file compiles correctly. Actual result: -------------- /Users/alexandre/Downloads/php53/ext/mysqlnd/mysqlnd_result.c: In function 'mysqlnd_free_background_buffered_data': /Users/alexandre/Downloads/php53/ext/mysqlnd/mysqlnd_result.c:363: error: 'struct st_mysqlnd_memory_pool_chunk' has no member named 'free_chunk' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48644&edit=1