[one-users] Compilation problem
Ruben S. Montero
rubensm at dacya.ucm.es
Wed Feb 25 09:38:19 PST 2009
Hi,
Here its working with
$ flex -V
flex 2.5.35
$ bison --version
bison (GNU Bison) 2.3
So I suggest you to execute flex directly and see if it works:
$ cd one-1.2.0/src/host
$ flex host_parser.l
Cheers
Ruben
On Wednesday 25 February 2009 05:41:00 Upendra Sharma wrote:
>
> Hi folks,
> I tried to compile one-1.2.0 and it threw an error while compiling the lex file.I ran the following command
> scons parsers=yes...build_lex(["src/host/host_parser.c", "src/host/host_parser.h"], ["src/host/host_parser.l"])"host_parser.l", line 37: unrecognized %option: header-file
> I checked the host_parser.l is the same file (using diff).
> my flex and bison versions are ..lex --versionlex version 2.5.4
> bison --versionbison (GNU Bison) 2.3
>
> of course, I checked ... when I run scons without parsers=yes .. it sails smoothly. Can someone tell me where am I doing it wrong?
>
> thanks,-upendra
>
> _________________________________________________________________
> Chose your Life Partner! Join MSN Matrimony FREE
> http://www.in.msn.com/matrimony
--
+---------------------------------------------------------------+
Dr. Ruben Santiago Montero
Associate Professor
Distributed System Architecture Group (http://dsa-research.org)
URL: http://dsa-research.org/doku.php?id=people:ruben
Weblog: http://blog.dsa-research.org/?author=7
GridWay, http://www.gridway.org
OpenNEbula, http://www.opennebula.org
+---------------------------------------------------------------+
More information about the Users
mailing list