|
楼主 |
发表于 2005-5-8 12:27:25
|
显示全部楼层
/root/mystar_gui/src/connect.cpp:99: undefined reference to `libnet_in
it'
connect.o(.text+0xbb):/root/mystar_gui/src/connect.cpp:102: undefined
reference to `pcap_open_live'
connect.o(.text+0xf3):/root/mystar_gui/src/connect.cpp:107: undefined
reference to `pcap_fileno'
connect.o(.text+0x104):/root/mystar_gui/src/connect.cpp:109: undefined
reference to `libnet_get_hwaddr'
connect.o(.text+0x11e):/root/mystar_gui/src/connect.cpp:111: undefined
reference to `libnet_geterror'
connect.o(.text+0x165):/root/mystar_gui/src/connect.cpp:118: undefined
reference to `libnet_get_ipaddr4'
connect.o(.text+0x179):/root/mystar_gui/src/connect.cpp:120: undefined
reference to `libnet_geterror'
connect.o(.text+0x1d6):/root/mystar_gui/src/connect.cpp:127: undefined
reference to `pcap_lookupnet'
connect.o(.text+0x2dc):/root/mystar_gui/src/connect.cpp:139: undefined
reference to `pcap_compile'
connect.o(.text+0x2ef):/root/mystar_gui/src/connect.cpp:141: undefined
reference to `pcap_geterr'
connect.o(.text+0x31c):/root/mystar_gui/src/connect.cpp:144: undefined
reference to `pcap_setfilter'
connect.o(.text+0x32f):/root/mystar_gui/src/connect.cpp:146: undefined
reference to `pcap_geterr'
connect.o(.text+0x352):/root/mystar_gui/src/connect.cpp:152: undefined
reference to `pcap_freecode'
connect.o(.text+0x5ec):/root/mystar_gui/src/connect.cpp:220: undefined
reference to `pcap_next_ex'
connect.o(.text+0x9de):/root/mystar_gui/src/connect.cpp:307: undefined
reference to `pcap_close'
connect.o(.text+0x9e9):/root/mystar_gui/src/connect.cpp:307: undefined
reference to `libnet_destroy'
connect.o(.text+0x9f7):/root/mystar_gui/src/connect.cpp:312: undefined
reference to `pcap_close'
connect.o(.text+0xa02):/root/mystar_gui/src/connect.cpp:314: undefined
reference to `libnet_destroy'
connect.o(.text+0xfc9): In function `sig_intr':
/root/mystar_gui/src/connect.cpp:460: undefined reference to `libnet_i
nit'
connect.o(.text+0xff4):/root/mystar_gui/src/connect.cpp:462: undefined
reference to `libnet_destroy'
sendpacket.o(.text+0xca): In function `SendFindServerPacket(libnet_con
text*)':
/root/mystar_gui/src/sendpacket.cpp:47: undefined reference to `libnet
_write_link'
sendpacket.o(.text+0x205): In function `SendNamePacket(libnet_context* , unsigned char const*)':
/root/mystar_gui/src/sendpacket.cpp:89: undefined reference to `libnet _write_link'
sendpacket.o(.text+0x44e): In function `SendPasswordPacket(libnet_cont ext*, unsigned char const*)':
/root/mystar_gui/src/sendpacket.cpp:148: undefined reference to `libne t_write_link'
sendpacket.o(.text+0x58d): In function `SendEchoPacket(libnet_context* , unsigned char const*)':
/root/mystar_gui/src/sendpacket.cpp:185: undefined reference to `libne t_write_link'
sendpacket.o(.text+0x621): In function `SendEndCertPacket(libnet_conte xt*)':
/root/mystar_gui/src/sendpacket.cpp:208: undefined reference to `libne t_write_link'
collect2: ld returned 1 exit status
make[1]: *** [mystar_gui] 错误 1
make[1]: Leaving directory `/root/mystar_gui/src'
make: *** [all-recursive] 错误 1
这应该是找不到lnet和lpcap库~
我在kdevelop下,的工程选项中添加了啊,难道没有写到makefile下面去? |
|