Edit report at https://bugs.php.net/bug.php?id=58198&edit=1
ID: 58198 Updated by: ssuffic...@php.net Reported by: jnugent at unb dot ca Summary: PDO 1.0.3 fails to build -Status: Open +Status: Feedback Type: Bug -Package: PDO +Package: *General Issues Operating System: SuSE Linux Enterprise PHP Version: 5.1.3 Block user comment: N Private report: N New Comment: Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Previous Comments: ------------------------------------------------------------------------ [2008-05-21 17:42:55] jnugent at unb dot ca Description: ------------ PDO 1.0.3 fails to build under SuSE Linux Enterprise 10.1. Reproduce: cd /usr/local/src/PDO-1.0.3 phpize ./configure make ... generates following error: eclipse:/usr/local/src/PDO-1.0.3 # make /bin/sh /usr/local/src/PDO-1.0.3/libtool --mode=compile gcc -I. -I/usr/local/src/PDO-1.0.3 -DPHP_ATOM_INC -I/usr/local/src/PDO-1.0.3/include -I/usr/local/src/PDO-1.0.3/main -I/usr/local/src/PDO-1.0.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/PDO-1.0.3/pdo.c -o pdo.lo gcc -I. -I/usr/local/src/PDO-1.0.3 -DPHP_ATOM_INC -I/usr/local/src/PDO-1.0.3/include -I/usr/local/src/PDO-1.0.3/main -I/usr/local/src/PDO-1.0.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/PDO-1.0.3/pdo.c -fPIC -DPIC -o pdo.lo In file included from /usr/local/src/PDO-1.0.3/pdo.c:32: /usr/local/src/PDO-1.0.3/php_pdo_driver.h:605: error: expected specifier-qualifier-list before 'zend_fcall_info' /usr/local/src/PDO-1.0.3/php_pdo_driver.h:612: error: expected specifier-qualifier-list before 'zend_fcall_info' In file included from /usr/local/src/PDO-1.0.3/pdo.c:33: /usr/local/src/PDO-1.0.3/php_pdo_int.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pdo_dbh_new' /usr/local/src/PDO-1.0.3/php_pdo_int.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pdo_dbstmt_new' /usr/local/src/PDO-1.0.3/php_pdo_int.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/src/PDO-1.0.3/php_pdo_int.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pdo_dbstmt_object_handlers' /usr/local/src/PDO-1.0.3/php_pdo_int.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pdo_row_new' /usr/local/src/PDO-1.0.3/php_pdo_int.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pdo_row_object_handlers' /usr/local/src/PDO-1.0.3/php_pdo_int.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/src/PDO-1.0.3/pdo.c:147: error: 'OnUpdateLong' undeclared here (not in a function) /usr/local/src/PDO-1.0.3/pdo.c: In function 'zm_startup_pdo': /usr/local/src/PDO-1.0.3/pdo.c:325: error: 'ZEND_ACC_PUBLIC' undeclared (first use in this function) /usr/local/src/PDO-1.0.3/pdo.c:325: error: (Each undeclared identifier is reported only once /usr/local/src/PDO-1.0.3/pdo.c:325: error: for each function it appears in.) make: *** [pdo.lo] Error 1 Using GCC version 4.1.2. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=58198&edit=1