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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 23:01:30 2024 UTC