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

Wireshark 1.7.1 Solaris Sparc installation failed

0
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

isarana
1223
accept rate: 0%

edited 17 May '12, 06:09

grahamb's gravatar image

grahamb ♦
19.8k330206


One Answer:

0

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 ♦
6.2k572
accept rate: 27%