Get the latest CVS snapshot from http://snaps.php.net as this and many other problems have already been fixed. --Jani
On Tue, 9 Mar 2004, Juergen Mueller wrote: >hi, > >got the following parsing error with latest php5 snapshot and php5beta4. >./configure --with-mysqli=/usr/local/mysql/bin/mysql_config >--with-mysql=/install/mysql/ --with-apxs2=/usr/local/apache/bin/apxs > >/install/php-5.0.0b4/ext/mysqli/php_mysqli.h:48: parse error before >`MYSQL_STMT' >/install/php-5.0.0b4/ext/mysqli/php_mysqli.h:48: warning: no semicolon at >end of struct or union >/install/php-5.0.0b4/ext/mysqli/php_mysqli.h:51: parse error before `}' >/install/php-5.0.0b4/ext/mysqli/php_mysqli.h:51: warning: data definition >has no type or storage class >/install/php-5.0.0b4/ext/mysqli/php_mysqli.h:108: parse error before `*' >/install/php-5.0.0b4/ext/mysqli/mysqli.c:90: parse error before `*' >/install/php-5.0.0b4/ext/mysqli/mysqli.c: In function `php_clear_stmt_bind': >/install/php-5.0.0b4/ext/mysqli/mysqli.c:92: `stmt' undeclared (first use in >this function) >/install/php-5.0.0b4/ext/mysqli/mysqli.c:92: (Each undeclared identifier is >reported only once >/install/php-5.0.0b4/ext/mysqli/mysqli.c:92: for each function it appears >in.) >/install/php-5.0.0b4/ext/mysqli/mysqli.c: In function >`mysqli_objects_free_storage': >/install/php-5.0.0b4/ext/mysqli/mysqli.c:121: parse error before `)' >/install/php-5.0.0b4/ext/mysqli/mysqli.c: In function `zm_startup_mysqli': >/install/php-5.0.0b4/ext/mysqli/mysqli.c:448: `MYSQL_NO_DATA' undeclared >(first use in this function) >/install/php-5.0.0b4/ext/mysqli/mysqli.c: In function >`php_mysqli_fetch_into_hash': >/install/php-5.0.0b4/ext/mysqli/mysqli.c:557: parse error before `)' >make: *** [ext/mysqli/mysqli.lo] Error 1 > > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php