Re: Compile error in tokenizer ext with ZE2 4.3 branch

From: Date: Mon, 02 Dec 2002 06:19:23 +0000
Subject: Re: Compile error in tokenizer ext with ZE2 4.3 branch
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-92001@lists.php.net to get a copy of this message
On Mon, 02 Dec 2002 13:59:08 +0800 Alan Knowles <alan@akbkhome.com> wrote: > Andi fixed it in CVS, try checking out downloading tokenizer.c again. > Yeah, it compiled now.. But now I get this: Zend/zend_language_scanner.c:5537: syntax error before "int" Zend/zend_language_scanner.c:5772: warning: `yy_fatal_error' defined but not used Zend/zend_language_scanner.c:2709: warning: `yy_last_accepting_state' defined but not used Zend/zend_language_scanner.c:2710: warning: `yy_last_accepting_cpos' defined but not used Zend/zend_language_scanner.c:2716: warning: `yy_more_flag' defined but not used Zend/zend_language_scanner.c:2717: warning: `yy_more_len' defined but not used Zend/zend_language_scanner.c:5757: warning: `yy_top_state' defined but not used make: *** [Zend/zend_language_scanner.lo] Error 1 > Magnus Määttä wrote: > > >>From 4.3 branch with ZE2 i get this compile error: > > > >/bin/sh /opt/DEV/php/php430/php4/libtool --mode=compile gcc -Iext/tokenizer/ > >-I/opt/DEV/php/php430/php4/ext/tokenizer/ -DPHP_ATOM_INC -I/opt/DEV/php/php430/php4/include > >-I/opt/DEV/php/php430/php4/main -I/opt/DEV/php/php430/php4 -I/usr/local/www/httpd2prefork/include > >-I/opt/DEV/php/php430/php4/Zend -I/usr/include/libxml2 -I/usr/X11R6/include -I/usr/include/freetype2 > >-I/usr//include/mysql -I/usr/include/pspell -I/usr/qt/3/include -I/usr//include > >-I/opt/DEV/php/php430/php4/TSRM -g -Wall -prefer-pic -c > >/opt/DEV/php/php430/php4/ext/tokenizer/tokenizer.c -o ext/tokenizer/tokenizer.lo > >gcc -Iext/tokenizer/ -I/opt/DEV/php/php430/php4/ext/tokenizer/ -DPHP_ATOM_INC > >-I/opt/DEV/php/php430/php4/include -I/opt/DEV/php/php430/php4/main -I/opt/DEV/php/php430/php4 > >-I/usr/local/www/httpd2prefork/include -I/opt/DEV/php/php430/php4/Zend -I/usr/include/libxml2 > >-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr//include/mysql -I/usr/include/pspell > >-I/usr/qt/3/include -I/usr//include -I/opt/DEV/php/php430/php4/TSRM -g -Wall -c > >/opt/DEV/php/php430/php4/ext/tokenizer/tokenizer.c -fPIC -DPIC -o ext/tokenizer/tokenizer.lo > >cpp0: warning: changing search order for system directory "/usr/include" > >cpp0: warning: as it has already been specified as a non-system directory > >/opt/DEV/php/php430/php4/ext/tokenizer/tokenizer.c: In function > >`zm_startup_tokenizer': > >/opt/DEV/php/php430/php4/ext/tokenizer/tokenizer.c:239: `T_OLD_FUNCTION' undeclared > >(first use in this function) > >/opt/DEV/php/php430/php4/ext/tokenizer/tokenizer.c:239: (Each undeclared identifier is > >reported only once > >/opt/DEV/php/php430/php4/ext/tokenizer/tokenizer.c:239: for each function it appears in.) > >/opt/DEV/php/php430/php4/ext/tokenizer/tokenizer.c: In function `get_token_type_name': > >/opt/DEV/php/php430/php4/ext/tokenizer/tokenizer.c:437: `T_OLD_FUNCTION' undeclared > >(first use in this function) > >make: *** [ext/tokenizer/tokenizer.lo] Error 1 > > > > > >/ Magnus > > > > > > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.dev (#92001) next »