This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

openbsd compiling errors

0

During the gmake process while attempting to compile ver 1.8.7 of wireshark on an OpenBSD 5.3 platform I get the following errors:

cc1: out of memory allocating 4072 bytes after a total of 0 bytes
gmake[5]: *** [packet-parlay.lo] Error 1
gmake[5]: Leaving directory '/home/..../wireshark-1.8.7/epan/dissectors
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory '/home/..../wireshark-1.8.7/epan/dissectors
gmake[5]: *** [all] Error 2

Any thoughts?

asked 19 May '13, 19:31

junebug's gravatar image

junebug
11112
accept rate: 0%

edited 19 May '13, 23:01

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196


2 Answers:

0
  1. If you don't care about the Parlay protocol (if you don't know what it is, you probably don't care about it), edit epan/dissectors/Makefile.common and remove packet-parlay.c from the list in which it appears.
  2. Repartition your disk to have a significantly larger swap partition and hope that's enough.
  3. Buy a lot more memory and hope that's enough.

answered 19 May '13, 23:05

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

0

4) Upgrade to 1.10.0rc1 or a development release. The Parlay dissector has 35% lines of code in those versions ("only" 68,000). That might help.

answered 20 May '13, 07:15

JeffMorriss's gravatar image

JeffMorriss ♦
6.2k572
accept rate: 27%

edited 20 May '13, 07:15