#46554 [Opn->Bgs]: tokenizer.c undeclared yycINITIAL during build

From: Date: Fri, 14 Nov 2008 12:19:36 +0000
Subject: #46554 [Opn->Bgs]: tokenizer.c undeclared yycINITIAL during build
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-130964@lists.php.net to get a copy of this message
ID: 46554 Updated by: tularis@php.net Reported By: mark at dynom dot nl -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Linux PHP Version: 6CVS-2008-11-12 (CVS) New Comment: marking this as bogus then. Previous Comments: ------------------------------------------------------------------------ [2008-11-14 10:46:15] mark at dynom dot nl 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.. ------------------------------------------------------------------------ [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

« previous php.bugs (#130964) next »