#46554 [Fbk->Opn]: tokenizer.c undeclared yycINITIAL during build
| From: | mark at dynom dot nl | Date: | Fri, 14 Nov 2008 10:46:15 +0000 |
| Subject: | #46554 [Fbk->Opn]: tokenizer.c undeclared yycINITIAL during build | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-130962@lists.php.net to get a copy of this message | ||
ID: 46554
User updated by: mark at dynom dot nl
Reported By: mark at dynom dot nl
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: Linux
PHP Version: 6CVS-2008-11-12 (CVS)
New Comment:
I have no idea what's going on..
I deleted my local copy and checked out PHP6-CVS again.
I installed flex 2.5.4a (since 4 is considerably less then 35, 2.5.4 vs
2.5.35). And it build fine! (Problem solved, or so I thought).
So just to test it I installed flex 2.5.35 and tried to build it again,
and now also builds fine...
So either the inital checkout went bezerk, or something fishy is going
on. But either way, I can build again, still no idea what caused it
though..
Previous Comments:
------------------------------------------------------------------------
[2008-11-12 20:19:45] felipe@php.net
Try using re2c 0.13.5.
------------------------------------------------------------------------
[2008-11-12 10:36:36] mark at dynom dot nl
Description:
------------
Building gives the following error:
ext/tokenizer/tokenizer.c: In function 'zif_token_get_all':
ext/tokenizer/tokenizer.c:181: error: 'yycINITIAL' undeclared (first
use in this function)
ext/tokenizer/tokenizer.c:181: error: (Each undeclared identifier is
reported only once
ext/tokenizer/tokenizer.c:181: error: for each function it appears
in.)
Using:
autoconf-2.63
automake-1.10.1
libtool-2.2.6a
flex-2.5.35
re2c-0.13.3
bison-2.3
Reproduce code:
---------------
cvs up Zend/
cvs up
./cvsclean
./buildconf
rm -rf mybuild
mkdir mybuild
cd mybuild/
../configure
make
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46554&edit=1