Re: [PHP4BETA] compile problems w/ latest CVS

From: Date: Thu, 02 Dec 1999 20:41:29 +0000
Subject: Re: [PHP4BETA] compile problems w/ latest CVS
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-7271@lists.php.net to get a copy of this message
Andrei Zmievski <andrei@ispi.net> writes: > On Thu, 02 Dec 1999, David Hedbor wrote: > > I just updated my source tree from CVS and the build fails with the > > following: > > > > /bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. > > -I/home/neotron/src/php4/build/php4-nothreads/../../libzend -I. -g -O2 -g -c zend-scanner.c > > /home/neotron/src/php4/build/php4-nothreads/../../libzend/zend-scanner.l: In function > > `lex_scan': > > /home/neotron/src/php4/build/php4-nothreads/../../libzend/zend-scanner.l:839: > > `T_IMPORT' undeclared (first use in this function) > > /home/neotron/src/php4/build/php4-nothreads/../../libzend/zend-scanner.l:839: (Each > > undeclared identifier is reported only once > > /home/neotron/src/php4/build/php4-nothreads/../../libzend/zend-scanner.l:839: for each > > function it appears in.) > > /Home/neotron/src/php4/build/php4-nothreads/../../libzend/zend-scanner.l:847: `T_USE' > > undeclared (first use in this function) > > make: *** [zend-scanner.lo] Error 1 > > > > > > Help? :-) > > Did you update libzend as well? Don't forget to manually remove > zend-scanner.c and zend-parser.c and remake. Ahh, I had leftover versions of the two c-files from before I made the build tree separate from the source tree (hmm, maybe make distclean doesn't remove those two files). Thanks and sorry about that. -- [ Below is a random fortune, which is unrelated to the above message. ] Nothing is ever a total loss; it can always serve as a bad example.

« previous php.version4 (#7271) next »