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

Wireshark 1.7.1 Solaris Sparc installation failed

In file included from packet-coap.c:32:
../../config.h:391:1: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/stdio.h:21,
                 from packet-coap.c:1:
/usr/include/sys/feature_tests.h:187:1: this is the location of the previous definition
make[5]: *** [libdissectors_la-packet-coap.lo] Error 1
make[5]: Leaving directory `/Software/wireshark-1.7.1/epan/dissectors'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/Software/wireshark-1.7.1/epan/dissectors'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/Software/wireshark-1.7.1/epan/dissectors'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/Software/wireshark-1.7.1/epan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Software/wireshark-1.7.1'
make: *** [all] Error 2
This question is marked "community wiki".

asked 17 May '12, 05:39

isarana's gravatar image

accept rate: 0%

edited 17 May '12, 06:09

grahamb's gravatar image

grahamb ♦

One Answer:


This was fixed in r41993. To avoid the problem without upgrading (to SVN) you could delete the "#include<stdio.h>" from packet-coap.c .

Please do report (preferrably--as this is a Q&A site--via a bug report) if you find the problem in any other places.

answered 17 May '12, 08:16

JeffMorriss's gravatar image

JeffMorriss ♦
accept rate: 27%