#37092 [Opn->Csd]: ext/sqlite/sqlite.c:1005: parse error before `*'
ID: 37092
Updated by: tony2001@php.net
Reported By: nohn@php.net
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Linux
PHP Version: 6CVS-2006-04-15 (CVS)
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.
Please report problems in not yet released versions to the list.
Previous Comments:
------------------------------------------------------------------------
[2006-04-15 15:52:01] nohn@php.net
When adding --without-sqlite to the configure line, everything works
fine.
------------------------------------------------------------------------
[2006-04-15 15:47:03] nohn@php.net
Description:
------------
Latest HEAD does not compile.
Reproduce code:
---------------
$ cvs -d :pserver:cvsread@cvs.php.net:/repository checkout php-src
$ cd php-src
$ ./buildconf
$ ./configure
--prefix=/opt/cruisecontrol/projects/PHP_HEAD/slash/opt/php
--disable-cgi --enable-cli --with-mysql=/usr --with-pgsql=/opt/postgres
--with-zlib --with-xml --enable-inline-optimization --enable-sockets
--enable-ftp --with-gd --with-freetype-dir=/usr --with-jpeg-dir=/usr
--with-gettext --with-curl=/opt/curl --with-tidy=/opt/tidy
--with-libxml-dir=/opt/libxml2 --with-xsl=/opt/libxslt --with-imap
--with-imap-ssl
$ make
Expected result:
----------------
Compiles fine
Actual result:
--------------
/bin/sh /opt/cruisecontrol/projects/PHP_HEAD/php-src/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/sqlite/libsqlite/src
-I/opt/cruisecontrol/projects/PHP_HEAD/php-src/ext -Iext/sqlite/
-I/opt/cruisecontrol/projects/PHP_HEAD/php-src/ext/sqlite/
-DPHP_ATOM_INC -I/opt/cruisecontrol/projects/PHP_HEAD/php-src/include
-I/opt/cruisecontrol/projects/PHP_HEAD/php-src/main
-I/opt/cruisecontrol/projects/PHP_HEAD/php-src -I/usr/local/include
-I/opt/libxml2/include/libxml2
-I/opt/cruisecontrol/projects/PHP_HEAD/php-src/pcrelib
-I/opt/curl/include
-I/opt/cruisecontrol/projects/PHP_HEAD/php-src/ext/date/lib
-I/usr/include/freetype2 -I/usr/include/c-client -I/usr/include/mysql
-I/opt/postgres/include -I/opt/tidy/include -I/opt/libxslt/include
-I/opt/cruisecontrol/projects/PHP_HEAD/php-src/TSRM
-I/opt/cruisecontrol/projects/PHP_HEAD/php-src/Zend -I/usr/include
-g -O2 -c
/opt/cruisecontrol/projects/PHP_HEAD/php-src/ext/sqlite/sqlite.c -o
ext/sqlite/sqlite.lo
/opt/cruisecontrol/projects/PHP_HEAD/php-src/ext/sqlite/sqlite.c: In
function `sqlite_get_iterator':
/opt/cruisecontrol/projects/PHP_HEAD/php-src/ext/sqlite/sqlite.c:1005:
parse error before `*'
/opt/cruisecontrol/projects/PHP_HEAD/php-src/ext/sqlite/sqlite.c:1010:
`obj' undeclared (first use in this function)
/opt/cruisecontrol/projects/PHP_HEAD/php-src/ext/sqlite/sqlite.c:1010:
(Each undeclared identifier is reported only once
/opt/cruisecontrol/projects/PHP_HEAD/php-src/ext/sqlite/sqlite.c:1010:
for each function it appears in.)
make: *** [ext/sqlite/sqlite.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37092&edit=1
Thread (3 messages)