#6556 closed defect (fixed)
hping2 doesn't build, compile fails in pcap_recv function
Reported by: | ams@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | VERIFIED | Cc: | bugzilla.opendarwin.org@…, olegb@… |
Port: |
Description
Running 10.4.4 gcc specs: $ gcc -v Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5247.obj~4/src/configure --disable-checking -enable- werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program- transform-name=/[cg][.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 -- build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.1 (Apple Computer, Inc. build 5247)
<ERROR>
$ sudo port install hping2 ---> Building hping2 with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_net_hping2/work/ hping2-rc3" && make all" returned error 2 Command output: gcc -c -O2 -Wall -g libpcap_stuff.c In file included from libpcap_stuff.c:20: /usr/include/net/bpf.h:93: error: redefinition of 'struct bpf_program' /usr/include/net/bpf.h:118: error: redefinition of 'struct bpf_version' /usr/include/net/bpf.h:321: error: redefinition of 'struct bpf_insn' libpcap_stuff.c: In function 'pcap_recv': libpcap_stuff.c:61: warning: pointer targets in assignment differ in signedness make: * [libpcap_stuff.o] Error 1
Error: /opt/local/bin/port: Status 1 encountered during processing.
Change History (4)
comment:1 Changed 19 years ago by olegb@…
Cc: | olegb@… added |
---|
comment:2 Changed 19 years ago by bugzilla.opendarwin.org@…
Cc: | bugzilla.opendarwin.org@… added |
---|
ditto
comment:4 Changed 19 years ago by bugzilla.opendarwin.org@…
Keywords: | VERIFIED added |
---|
adding me as cc