This is our old Q&A Site. Please post any new questions and answers at

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

accept rate: 0%

edited 19 May '13, 23:01

Guy%20Harris's gravatar image

Guy Harris ♦♦

  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.
permanent link

answered 19 May '13, 23:05

Guy%20Harris's gravatar image

Guy Harris ♦♦
accept rate: 19%

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.

permanent link

answered 20 May '13, 07:15

JeffMorriss's gravatar image

JeffMorriss ♦
accept rate: 27%

edited 20 May '13, 07:15

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 19 May '13, 19:31

question was seen: 2,465 times

last updated: 20 May '13, 07:15

p​o​w​e​r​e​d by O​S​Q​A