# PDO_SQLite refuses to compile

- Thread: https://externals.io/message/17055
- Original archive: https://news-web.php.net/php.internals/17055
- Started by Derick Rethans on 2005-07-01T08:40:07+00:00
- Messages: 4
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #17055 — Derick Rethans — 2005-07-01T08:40:07+00:00

URL: https://externals.io/message/17055#17055

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

---

## #17061 — Ilia Alshanetsky — 2005-07-01T15:37:56+00:00

URL: https://externals.io/message/17055#17061 · In reply to: #17055

You need to do ./buildconf; configure; make;

Ilia

Derick Rethans wrote:
> 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

---

## #17064 — Derick Rethans — 2005-07-01T16:11:44+00:00

URL: https://externals.io/message/17055#17064 · In reply to: #17061

> You need to do ./buildconf; configure; make;

No, I should have updated the whole tree, not just half of it ;-)

Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org

---

## #17065 — Ilia Alshanetsky — 2005-07-01T17:15:38+00:00

URL: https://externals.io/message/17055#17065 · In reply to: #17064

That helps too :-)

Ilia

Derick Rethans wrote:
> 
> 
> 
> > […]
> 
> 
> No, I should have updated the whole tree, not just half of it ;-)
> 
> Derick
