php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37092 ext/sqlite/sqlite.c:1005: parse error before `*'
Submitted: 2006-04-15 15:47 UTC Modified: 2010-12-20 12:04 UTC
From: nohn@php.net Assigned: tony2001 (profile)
Status: Closed Package: Compile Failure
PHP Version: 6CVS-2006-04-15 (CVS) OS: Linux
Private report: No CVE-ID: None
 [2006-04-15 15:47 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-15 15:52 UTC] nohn@php.net
When adding --without-sqlite to the configure line, everything works fine.
 [2006-04-15 15:56 UTC] tony2001@php.net
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.
 [2010-12-20 12:04 UTC] jani@php.net
-Package: Tidy +Package: Compile Failure -Assigned To: +Assigned To: tony2001
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 19:01:32 2024 UTC