bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gperf error?


From: Ernest Mak
Subject: gperf error?
Date: Mon, 26 Feb 2001 11:35:09 -0800 (PST)

Hi,

I was having problem compiling icarus verilog on
Cygwin.  Compilation stopped because gperf did
not generate the right output file. 

In this case, the input file is lexor_keyword.gperf
and the output file is lexor_keyword.cc.  I have
obtained a copy of the correct output file from the
icarus verilog author Stephen Williams
(address@hidden) who pointed out that it was a gperf
bug and the matter should be routed to the proper
channel (pls see attached mail).  I have enclosed 3
files here for your reference:
lexor_keyword.gperf
lexor_keyword.cc
wrong.lexor_keyword.cc

Pls let me know if you need more info.

Thanks
Ernest


Note: forwarded message attached.


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/
--- Begin Message --- Subject: Re: Problem compiling wth Cygwin Date: Mon, 26 Feb 2001 10:15:26 -0800
address@hidden said:
> The process stopped exactly at the same spot, complaining about 'nstr'
> not previously declared anywhere. I have enclosed the generated
> lexor_keyword.cc file for your reference.

It looks like the gperf program botched the reading of the input file.
It is not recognizing the %% that terminates the table, so is putting
the tail code into the table, and otherwise making a grizzly mess.

In may be having troubles with DOS/UNIX line terminators. My day
job has me swamped at the moment, so I'll just send you a pre-compiled
lexor_keyword.cc for now. This needs to be ultimately passed on as a
bug for the Cygwin or the gperf folks.

Thanks for your help, we'll get this fixed up eventually.
-- 
Steve Williams                "The woods are lovely, dark and deep.
address@hidden              But I have promises to keep,
address@hidden            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

Attachment: lexor_keyword.cc
Description: lexor_keyword.cc


--- End Message ---

Attachment: lexor_keyword.gperf
Description: lexor_keyword.gperf

Attachment: lexor_keyword.cc
Description: lexor_keyword.cc

Attachment: wrong.lexor_keyword.cc
Description: wrong.lexor_keyword.cc


reply via email to

[Prev in Thread] Current Thread [Next in Thread]