clone #621771 -1 severity -1 normal retitle -1 pcap issues under kFreeBSD tags -1 confirmed thanks
On Fri, Apr 08, 2011 at 01:29:58PM -0400, Aaron M. Ucko wrote: > In addition (I know this should be a separate report, but I'm lazy ;-), I am not, splitting this bug off. > I see that the kFreeBSD builds fail before even attempting to build > documentation because struct udphdr and struct tcphdr aren't as expected: > > > cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o > > pcap.o pcap.c > > pcap.c: In function 'handle_udp': > > pcap.c:139:20: error: 'const struct udphdr' has no member named 'uh_sport' > > pcap.c:139:20: error: 'const struct udphdr' has no member named 'uh_sport' > > pcap.c:140:20: error: 'const struct udphdr' has no member named 'uh_dport' > > pcap.c:140:20: error: 'const struct udphdr' has no member named 'uh_dport' > > pcap.c: In function 'handle_tcp': > > pcap.c:532:21: error: 'const struct tcphdr' has no member named 'th_off' > > pcap.c:538:20: error: 'const struct tcphdr' has no member named 'th_sport' > > pcap.c:538:20: error: 'const struct tcphdr' has no member named 'th_sport' > > pcap.c:539:20: error: 'const struct tcphdr' has no member named 'th_dport' > > pcap.c:539:20: error: 'const struct tcphdr' has no member named 'th_dport' > > pcap.c:569:11: error: 'const struct tcphdr' has no member named 'th_seq' > > pcap.c:569:11: error: 'const struct tcphdr' has no member named 'th_seq' > > pcap.c:569:11: error: 'const struct tcphdr' has no member named 'th_seq' > > pcap.c:569:11: error: 'const struct tcphdr' has no member named 'th_seq' > > pcap.c:582:24: error: 'const struct tcphdr' has no member named 'th_flags' > > pcap.c:582:24: error: 'TH_SYN' undeclared (first use in this function) > > pcap.c:582:24: note: each undeclared identifier is reported only once for > > each function it appears in > > pcap.c:594:9: error: 'const struct tcphdr' has no member named 'th_flags' > > pcap.c:594:9: error: 'TH_RST' undeclared (first use in this function) > > pcap.c:615:9: error: 'const struct tcphdr' has no member named 'th_flags' > > pcap.c:636:9: error: 'const struct tcphdr' has no member named 'th_flags' > > pcap.c:636:9: error: 'TH_FIN' undeclared (first use in this function) > > make[3]: *** [pcap.o] Error 1 > > Could you please look into that as well, and either port the code to > kFreeBSD or restrict the package's architecture to linux-any, possibly > along with hurd-any? Will do. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org