php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46554 tokenizer.c undeclared yycINITIAL during build
Submitted: 2008-11-12 10:36 UTC Modified: 2008-11-14 12:19 UTC
From: mark at dynom dot nl Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 6CVS-2008-11-12 (CVS) OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mark at dynom dot nl
New email:
PHP Version: OS:

 

 [2008-11-12 10:36 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-12 20:19 UTC] felipe@php.net
Try using re2c 0.13.5.
 [2008-11-14 10:46 UTC] 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-14 12:19 UTC] tularis@php.net
marking this as bogus then.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 04:01:33 2025 UTC