build error in ext/db

From: Date: Tue, 09 May 2000 23:51:23 +0000
Subject: build error in ext/db
Groups: php.version4 
Request: Send a blank email to php-version4+get-14702@lists.php.net to get a copy of this message
Hello, System : Linux, Mandrake 7.02. tools : libtool 1.3.3, autoconf 2.14.1, gcc 2.95.2 PHP version : 4.0, freshly updated (couple of minutes) CVS. $./cvsclean && ./buildconf && ./configure && make Everything's fine (usual warning about building unsafe cgi version). Until the following : gcc -DHAVE_CONFIG_H -I. -I/home/flavien/cvs/php4/ext/db -I/home/flavien/cvs/php4 -I/home/flavien/cvs/php4/Zend -I/home/flavien/cvs/php4 -I/home/flavien/cvs/php4/ext/mysql/libmysql -I/home/flavien/cvs/php4/ext/xml/expat/xmltok -I/home/flavien/cvs/php4/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -pthread -Wall -c db.c && touch db.lo db.c: In function `php_find_dbm': db.c:167: `zend_rsrc_list_entry' undeclared (first use in this function) db.c:167: (Each undeclared identifier is reported only once db.c:167: for each function it appears in.) db.c:167: `le' undeclared (first use in this function) db.c:167: warning: statement with no effect db.c:168: parse error before `*' db.c:174: `numitems' undeclared (first use in this function) db.c:175: `i' undeclared (first use in this function) db.c:180: `info' undeclared (first use in this function) db.c:190: `info_type' undeclared (first use in this function) make[3]: *** [db.lo] Error 1 make[3]: Leaving directory `/home/flavien/cvs/php4/ext/db' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/flavien/cvs/php4/ext/db' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/flavien/cvs/php4/ext' make: *** [all-recursive] Error 1 Any idea of what might be causing this ? I successfully build CVS on a development platform at work almost every day. The machine I've trouble with is my home machine, and it does not have a lot of development packages/libraries installed on. Flavien.

« previous php.version4 (#14702) next »