Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 2493] Wireshark compile errors for cygwin flex (v 2.5.35)

Date: Fri, 25 Apr 2008 07:58:02 -0700 (PDT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2493





--- Comment #16 from LEGO <luis.ontanon@xxxxxxxxx>  2008-04-25 07:58:02 GMT ---
(In reply to comment #15)
> On the noyywrap issue:
> For the record, the noyywrap flex bug is documented on the GNU flex sf.net
> site:
> http://sourceforge.net/tracker/index.php?func=detail&aid=1783536&group_id=97492&atid=618177

Good to know, Thanks

> A hack is to remove the compiler switch temporarily from all the Makefile.nmake
> above to get it compiled.
We just need some #pargma warning()

> On the unistd.h:
> Until this is fully resolved a temporary hack to get things compiled is to
> create an empty unistd.h file in the directory where the lex file resides. The
> include path includes ".".

or better call flex from the makefile with --nounistd

> For the time being (and to compile 1.0.0) the best workaround is to remove flex
> from Cygwin and use the GnuWin32 native version instead:

No please, not yet another tool to build, seting up a win-dev-env is painful as
it is. 

Put the proper version of flex in the tools library and have it compiled with
the rest would be a better solution. But to get them compiled OK anyway
indipendently of which version of flex you are using would be the ideal
solution.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.