Re: [PHP4BETA] build error in ext/db

From: Date: Thu, 11 May 2000 10:58:02 +0000
Subject: Re: [PHP4BETA] build error in ext/db
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-14829@lists.php.net to get a copy of this message
Joey Smith wrote: > I may be mistaken, but it looks like your Zend tree is not up to date > with your php4 tree? Must have been something like this. I downloaded PHP4RC2 last night, and it compiled without any problem. :) Thanks for the hint. I'll remember I should suspect the source tree first before trying to understand compiler error messages... ;o) Flavien. > > $./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 -O > 2 > > -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 ? > >

« previous php.version4 (#14829) next »