PDO_SQLite refuses to compile
| From: | Derick Rethans | Date: | Fri, 01 Jul 2005 08:40:07 +0000 |
| Subject: | PDO_SQLite refuses to compile | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-17055@lists.php.net to get a copy of this message | ||
With the following errors:
gcc -Iext/pdo_sqlite/sqlite/src -DPDO_SQLITE_BUNDLED=1 -DSQLITE_OMIT_CURSOR
-I/dat/dev/php/php-5.1dev/ext -Iext/pdo_sqlite/ -I/dat/dev/php/php-5.1dev/ext/pdo_sqlite/
-DPHP_ATOM_INC -I/dat/dev/php/php-5.1dev/include -I/dat/dev/php/php-5.1dev/main
-I/dat/dev/php/php-5.1dev -I/usr/include/libxml2 -I/usr/X11R6/include -I/usr/include/freetype2
-I/dat/dev/php/php-5.1dev/ext/mbstring/oniguruma -I/dat/dev/php/php-5.1dev/ext/mbstring/libmbfl
-I/dat/dev/php/php-5.1dev/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/tidy
-I/dat/dev/php/php-5.1dev/TSRM -I/dat/dev/php/php-5.1dev/Zend -g -Wall -c
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c -o ext/pdo_sqlite/sqlite/src/expr.o
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c: In function `getFunctionName':
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:980: error: `TK_LIKE' undeclared
(first use in this function)
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:980: error: (Each undeclared identifier is
reported only once
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:980: error: for each function it appears
in.)
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:985: error: `TK_GLOB' undeclared
(first use in this function)
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:990: error: `TK_CTIME' undeclared
(first use in this function)
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:995: error: `TK_CDATE' undeclared
(first use in this function)
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:1000: error: `TK_CTIMESTAMP'
undeclared (first use in this function)
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c: In function `nameResolverStep':
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:1082: error: `TK_CTIME' undeclared
(first use in this function)
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:1083: error: `TK_CTIMESTAMP'
undeclared (first use in this function)
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:1084: error: `TK_CDATE' undeclared
(first use in this function)
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:1085: error: `TK_GLOB' undeclared
(first use in this function)
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:1086: error: `TK_LIKE' undeclared
(first use in this function)
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c: In function `sqlite3ExprCode':
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:1519: error: `TK_CDATE' undeclared
(first use in this function)
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:1520: error: `TK_CTIME' undeclared
(first use in this function)
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:1521: error: `TK_CTIMESTAMP'
undeclared (first use in this function)
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:1522: error: `TK_GLOB' undeclared
(first use in this function)
/dat/dev/php/php-5.1dev/ext/pdo_sqlite/sqlite/src/expr.c:1523: error: `TK_LIKE' undeclared
(first use in this function)
make: *** [ext/pdo_sqlite/sqlite/src/expr.lo] Error 1
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org