[libdnet-devel] python module build error on Fedora 8
Status: Abandoned
Brought to you by:
dugsong
|
From: Zheng L. <el...@gm...> - 2008-03-27 21:32:32
|
Greeting, I encountered this error when I was trying installing libdnet's python module on my Fedora 8 box. I also tried to use python2.4 setup.py install, not work either. Another question is that is there any Tun/Tap driver for windowsXP out there? I am pretty new to Linux and C (shameful), so if you'd like to answer me I would appreciate even if it is obvious to you :) Thanks ahead! Cheers, [root@localhost python]# python2.4 setup.py build running build running build_ext building 'dnet' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I../include -I/usr/local/include/python2.4 -c ./dnet.c -o build/temp.linux-i686-2.4/./dnet.o ./dnet.c:45: warning: this decimal constant is unsigned only in ISO C90 ./dnet.c: In function '__pyx_f_4dnet___oserror': ./dnet.c:441: warning: function declaration isn't a prototype ./dnet.c: In function '__pyx_f_4dnet_3eth_get': ./dnet.c:575: warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness ./dnet.c: In function '__pyx_f_4dnet_3eth_set': ./dnet.c:607: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness ./dnet.c: In function '__pyx_f_4dnet_3eth___dealloc__': ./dnet.c:685: warning: label '__pyx_L1' defined but not used ./dnet.c: In function '__pyx_f_4dnet_eth_ntoa': ./dnet.c:703: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness ./dnet.c: In function '__pyx_f_4dnet_eth_aton': ./dnet.c:755: warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness ./dnet.c: In function '__pyx_f_4dnet_eth_pack_hdr': ./dnet.c:793: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness ./dnet.c:797: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness ./dnet.c: In function '__pyx_f_4dnet_2ip___dealloc__': ./dnet.c:910: warning: label '__pyx_L1' defined but not used ./dnet.c: In function '__pyx_f_4dnet_ip_checksum': ./dnet.c:1038: warning: passing argument 2 of 'PyObject_AsReadBuffer' from incompatible pointer type ./dnet.c: In function '__pyx_f_4dnet_ip_cksum_add': ./dnet.c:1119: warning: passing argument 2 of 'PyObject_AsReadBuffer' from incompatible pointer type ./dnet.c: In function '__pyx_f_4dnet_4addr_3eth___get__': ./dnet.c:1749: warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness ./dnet.c: In function '__pyx_f_4dnet_4addr_3eth___set__': ./dnet.c:1799: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness ./dnet.c: In function '__pyx_f_4dnet_4addr_2ip___get__': ./dnet.c:1858: warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness ./dnet.c: In function '__pyx_f_4dnet_4addr_2ip___set__': ./dnet.c:1922: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness ./dnet.c: In function '__pyx_f_4dnet_4addr_3ip6___get__': ./dnet.c:1983: warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness ./dnet.c: In function '__pyx_f_4dnet_4addr_3ip6___set__': ./dnet.c:2033: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness ./dnet.c: In function '__pyx_f_4dnet_4addr___hash__': ./dnet.c:2457: warning: label '__pyx_L4' defined but not used ./dnet.c:2455: warning: label '__pyx_L3' defined but not used ./dnet.c: In function '__pyx_f_4dnet_4addr___iter__': ./dnet.c:2613: warning: statement with no effect ./dnet.c: In function '__pyx_f_4dnet_15__addr_ip4_iter___next__': ./dnet.c:2729: error: invalid lvalue in assignment ./dnet.c:2741: error: invalid lvalue in assignment ./dnet.c: In function '__pyx_f_4dnet_3arp_loop': ./dnet.c:3116: warning: passing argument 2 of 'arp_loop' from incompatible pointer type ./dnet.c: In function '__pyx_f_4dnet_3arp___dealloc__': ./dnet.c:3209: warning: label '__pyx_L1' defined but not used ./dnet.c: In function '__pyx_f_4dnet_arp_pack_hdr_ethip': ./dnet.c:3245: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness ./dnet.c:3249: warning: pointer targets in passing argument 1 of '__pyx_f_4dnet___memcpy' differ in signedness ./dnet.c: In function '__pyx_f_4dnet_ifent_to_dict': ./dnet.c:3588: warning: label '__pyx_L7' defined but not used ./dnet.c:3586: warning: label '__pyx_L6' defined but not used ./dnet.c: In function '__pyx_f_4dnet_dict_to_ifent': ./dnet.c:3643: warning: implicit declaration of function 'strlcpy' ./dnet.c:3741: warning: label '__pyx_L9' defined but not used ./dnet.c:3739: warning: label '__pyx_L8' defined but not used ./dnet.c: In function '__pyx_f_4dnet_4intf_loop': ./dnet.c:4131: warning: passing argument 2 of 'intf_loop' from incompatible pointer type ./dnet.c: In function '__pyx_f_4dnet_4intf___dealloc__': ./dnet.c:4221: warning: label '__pyx_L1' defined but not used ./dnet.c: In function '__pyx_f_4dnet_5route_loop': ./dnet.c:4552: warning: passing argument 2 of 'route_loop' from incompatible pointer type ./dnet.c: In function '__pyx_f_4dnet_5route___dealloc__': ./dnet.c:4642: warning: label '__pyx_L1' defined but not used ./dnet.c: In function '__pyx_f_4dnet_2fw_loop': ./dnet.c:5212: warning: passing argument 2 of 'fw_loop' from incompatible pointer type ./dnet.c: In function '__pyx_f_4dnet_2fw___dealloc__': ./dnet.c:5302: warning: label '__pyx_L1' defined but not used ./dnet.c: In function '__pyx_f_4dnet_4rand___dealloc__': ./dnet.c:5636: warning: label '__pyx_L1' defined but not used ./dnet.c: In function '__pyx_f_4dnet_13__rand_xrange___init__': ./dnet.c:5732: warning: label '__pyx_L5' defined but not used ./dnet.c:5725: warning: label '__pyx_L4' defined but not used ./dnet.c: In function '__pyx_f_4dnet_13__rand_xrange___iter__': ./dnet.c:5794: warning: label '__pyx_L1' defined but not used ./dnet.c: In function '__pyx_f_4dnet_13__rand_xrange___len__': ./dnet.c:5813: warning: label '__pyx_L1' defined but not used ./dnet.c: In function '__pyx_f_4dnet_13__rand_xrange___next__': ./dnet.c:5887: warning: label '__pyx_L6' defined but not used ./dnet.c:5885: warning: label '__pyx_L5' defined but not used ./dnet.c:5851: warning: label '__pyx_L3' defined but not used ./dnet.c: In function '__pyx_f_4dnet_3tun_close': ./dnet.c:6143: warning: label '__pyx_L1' defined but not used ./dnet.c: In function '__pyx_f_4dnet_3tun___dealloc__': ./dnet.c:6177: warning: label '__pyx_L1' defined but not used ./dnet.c: In function '__pyx_tp_new_4dnet_eth': ./dnet.c:6399: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_dealloc_4dnet_eth': ./dnet.c:6404: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_traverse_4dnet_eth': ./dnet.c:6419: warning: unused variable 'p' ./dnet.c:6418: warning: unused variable 'e' ./dnet.c: In function '__pyx_tp_clear_4dnet_eth': ./dnet.c:6424: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_new_4dnet_ip': ./dnet.c:6553: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_dealloc_4dnet_ip': ./dnet.c:6558: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_traverse_4dnet_ip': ./dnet.c:6573: warning: unused variable 'p' ./dnet.c:6572: warning: unused variable 'e' ./dnet.c: In function '__pyx_tp_clear_4dnet_ip': ./dnet.c:6578: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_new_4dnet_addr': ./dnet.c:6705: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_dealloc_4dnet_addr': ./dnet.c:6710: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_traverse_4dnet_addr': ./dnet.c:6716: warning: unused variable 'p' ./dnet.c:6715: warning: unused variable 'e' ./dnet.c: In function '__pyx_tp_clear_4dnet_addr': ./dnet.c:6721: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_new_4dnet___addr_ip4_iter': ./dnet.c:6934: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_dealloc_4dnet___addr_ip4_iter': ./dnet.c:6939: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_traverse_4dnet___addr_ip4_iter': ./dnet.c:6945: warning: unused variable 'p' ./dnet.c:6944: warning: unused variable 'e' ./dnet.c: In function '__pyx_tp_clear_4dnet___addr_ip4_iter': ./dnet.c:6950: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_new_4dnet_arp': ./dnet.c:7076: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_dealloc_4dnet_arp': ./dnet.c:7081: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_traverse_4dnet_arp': ./dnet.c:7096: warning: unused variable 'p' ./dnet.c:7095: warning: unused variable 'e' ./dnet.c: In function '__pyx_tp_clear_4dnet_arp': ./dnet.c:7101: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_new_4dnet_intf': ./dnet.c:7231: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_dealloc_4dnet_intf': ./dnet.c:7236: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_traverse_4dnet_intf': ./dnet.c:7251: warning: unused variable 'p' ./dnet.c:7250: warning: unused variable 'e' ./dnet.c: In function '__pyx_tp_clear_4dnet_intf': ./dnet.c:7256: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_new_4dnet_route': ./dnet.c:7387: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_dealloc_4dnet_route': ./dnet.c:7392: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_traverse_4dnet_route': ./dnet.c:7407: warning: unused variable 'p' ./dnet.c:7406: warning: unused variable 'e' ./dnet.c: In function '__pyx_tp_clear_4dnet_route': ./dnet.c:7412: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_new_4dnet_fw': ./dnet.c:7542: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_dealloc_4dnet_fw': ./dnet.c:7547: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_traverse_4dnet_fw': ./dnet.c:7562: warning: unused variable 'p' ./dnet.c:7561: warning: unused variable 'e' ./dnet.c: In function '__pyx_tp_clear_4dnet_fw': ./dnet.c:7567: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_new_4dnet_rand': ./dnet.c:7696: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_dealloc_4dnet_rand': ./dnet.c:7701: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_traverse_4dnet_rand': ./dnet.c:7716: warning: unused variable 'p' ./dnet.c:7715: warning: unused variable 'e' ./dnet.c: In function '__pyx_tp_clear_4dnet_rand': ./dnet.c:7721: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_new_4dnet___rand_xrange': ./dnet.c:7854: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_dealloc_4dnet___rand_xrange': ./dnet.c:7859: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_traverse_4dnet___rand_xrange': ./dnet.c:7865: warning: unused variable 'p' ./dnet.c:7864: warning: unused variable 'e' ./dnet.c: In function '__pyx_tp_clear_4dnet___rand_xrange': ./dnet.c:7870: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_new_4dnet_tun': ./dnet.c:7996: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_dealloc_4dnet_tun': ./dnet.c:8001: warning: unused variable 'p' ./dnet.c: In function '__pyx_tp_traverse_4dnet_tun': ./dnet.c:8016: warning: unused variable 'p' ./dnet.c:8015: warning: unused variable 'e' ./dnet.c: In function '__pyx_tp_clear_4dnet_tun': ./dnet.c:8021: warning: unused variable 'p' ./dnet.c: In function '__Pyx_EndUnpack': ./dnet.c:9239: warning: suggest parentheses around assignment used as truth value error: command 'gcc' failed with exit status 1 -- Li, Zheng |