the-tcpdump-group / tcpdump

the TCPdump network dissector
https://www.tcpdump.org/
Other
2.73k stars 852 forks source link

can not compile the tcpdump3.9.4 #83

Closed guyharris closed 11 years ago

guyharris commented 11 years ago

Converted from SourceForge issue 1468966, submitted by fsjzy

In the HP 9000 11I.v1,I can not compile tcpdump3.9.4,there are two source file can not compile: the first file is: print-arcnet.c cc -O +DD64 -DHAVE_CONFIG_H -I./../libpcap- 0.4 -I/usr/local/include -I /usr/include -I./missing -DU="" -I. -I./../libpcap- 0.4 -I/usr/local/include -I/usr/include -I./missing -c ./print-arcnet.c cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11. *\ Error exit code 9

the second file is: print-dccp.c cc -O +DD64 -DHAVE_CONFIG_H -I./../libpcap- 0.4 -I/usr/local/include -I /usr/include -I./missing -DU="" -I. -I./../libpcap- 0.4 -I/usr/local/include -I/usr/include -I./missing -c ./print-dccp.c cc: "print-dccp.c", line 149: error 1539: Cannot do arithmetic with pointers to objects of unknown size. *\ Error exit code 1

How can i handle it ?

guyharris commented 11 years ago

Submitted by guy_harris

Logged In: YES user_id=541179

In the case of print-arcnet.c, you handle it by filing a bug with HP saying "your C compiler dumped core on this file; try downloading tcpdump 3.9.4 and compiling it with this version of your compiler".

In the case of print-dccp.c, you try building the version from "Current Tar files" from tcpdump.org. (The x.9 branch also has a fix for the print-dccp.c problem, but there hasn't been an x.9 release with that fix.)