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

Wireshark-users: Re: [Wireshark-users] Building latest tshark on FreeBSD 4.11

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Mon, 09 Jul 2007 17:33:57 -0400
Tom Melendez wrote:
Hi Folks,

I'd like to use wireshark (tshark actually) on a FreeBSD 4.11 box. I'm getting the following error while compiling with gcc-2.95:

dtd_grammar.c: In function `DtdParseTokenName':
dtd_grammar.c:405: warning: comparison between signed and unsigned
dtd_grammar.c: In function `yy_reduce':
dtd_grammar.c:1100: virtual memory exhausted

I'm also using glib-2.6.6. Any ideas on how I can build this (hopefully without upgrading gcc, although if that is the bad news, then give it to me)? My configure line is:

Googling for "gcc virtual memory exhausted" turns up this page at the top of the list:

http://www.delorie.com/djgpp/v2faq/faq6_4.html

It says you might want to turn off optimization.

Else add swap space?