tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pypcap-1.1 compilation problems



Hi,

Does anybody with knowledge of libpcap in NetBSD know how to solve the compilation errors with wip/pypcap ? At first, I thought it was a problem with the NetBSD included pcap headers/library, but then I run it with pkgsrc bundled libpcap version I still get the same errors (and 3 out of 5 tests fail).

-bash-4.1$ cc -pthread -fno-strict-aliasing -DNDEBUG -O2 - DHAVE_DB_185_H -fPIC -I/usr/pkg/include/pcap -I/usr/pkg/include -I/usr/ include -I/usr/pkg/include/python2.6 -c pcap.c -o build/ temp.netbsd-5.0_STABLE-i386-2.6/pcap.o
pcap.c: In function '__pyx_f_4pcap_4pcap_dispatch':
pcap.c:1039: warning: passing argument 3 of 'pcap_dispatch' from incompatible pointer type
pcap.c: In function '__pyx_f_4pcap_4pcap_loop':
pcap.c:1142: warning: passing argument 3 of 'pcap_ex_next' from incompatible pointer type
pcap.c: In function '__pyx_f_4pcap_4pcap___next__':
pcap.c:1338: warning: passing argument 3 of 'pcap_ex_next' from incompatible pointer type

Thanks,
/P

(please don't forget to CC me then replying, since I'm not subscribed to tech-net)



Home | Main Index | Thread Index | Old Index