nmap broken

Richard B. Pyne rpyne at kinfolk.org
Thu Sep 29 17:32:26 CEST 2011


gcc -o ncat -O1 -march=native -pipe -Wall -L../libpcap  -s ncat_main.o 
ncat_connect.o ncat_core.o ncat_posix.o ncat_listen.o ncat_proxy.o 
ncat_broker.o ncat_hostmatch.o ncat_ssl.o base64.o http.o util.o 
sys_wrap.o http_digest.o ../nsock/src/libnsock.a ../nbase/libnbase.a 
-lssl -lcrypto -lpcap -lssl -lcrypto -ldl
../libpcap/libpcap.a(pcap-linux.o): In function `nl80211_init':
pcap-linux.c:(.text+0x104e): undefined reference to `nl_handle_alloc'
pcap-linux.c:(.text+0x108d): undefined reference to `genl_connect'
pcap-linux.c:(.text+0x10c7): undefined reference to `genl_ctrl_alloc_cache'
pcap-linux.c:(.text+0x1109): undefined reference to 
`genl_ctrl_search_by_name'
pcap-linux.c:(.text+0x1142): undefined reference to `nl_cache_free'
pcap-linux.c:(.text+0x114c): undefined reference to `nl_handle_destroy'
../libpcap/libpcap.a(pcap-linux.o): In function `del_mon_if':
pcap-linux.c:(.text+0x11a9): undefined reference to `nlmsg_alloc'
pcap-linux.c:(.text+0x11e8): undefined reference to `genl_family_get_id'
pcap-linux.c:(.text+0x1224): undefined reference to `genlmsg_put'
pcap-linux.c:(.text+0x1249): undefined reference to `nla_put'
pcap-linux.c:(.text+0x125f): undefined reference to `nl_send_auto_complete'
pcap-linux.c:(.text+0x1270): undefined reference to `nlmsg_free'
pcap-linux.c:(.text+0x12bb): undefined reference to `nlmsg_free'
pcap-linux.c:(.text+0x12cf): undefined reference to `nl_wait_for_ack'
pcap-linux.c:(.text+0x12e0): undefined reference to `nlmsg_free'
pcap-linux.c:(.text+0x132b): undefined reference to `nlmsg_free'
pcap-linux.c:(.text+0x133a): undefined reference to `nlmsg_free'
pcap-linux.c:(.text+0x1374): undefined reference to `nlmsg_free'
../libpcap/libpcap.a(pcap-linux.o): In function `nl80211_cleanup':
pcap-linux.c:(.text+0x13a5): undefined reference to `genl_family_put'
pcap-linux.c:(.text+0x13b0): undefined reference to `nl_cache_free'
pcap-linux.c:(.text+0x13ba): undefined reference to `nl_handle_destroy'
../libpcap/libpcap.a(pcap-linux.o): In function `enter_rfmon_mode_mac80211':
pcap-linux.c:(.text+0x14ca): undefined reference to `nlmsg_alloc'
pcap-linux.c:(.text+0x150a): undefined reference to `genl_family_get_id'
pcap-linux.c:(.text+0x1546): undefined reference to `genlmsg_put'
pcap-linux.c:(.text+0x156e): undefined reference to `nla_put'
pcap-linux.c:(.text+0x15a8): undefined reference to `nla_put'
pcap-linux.c:(.text+0x15dc): undefined reference to `nla_put'
pcap-linux.c:(.text+0x15f6): undefined reference to `nl_send_auto_complete'
pcap-linux.c:(.text+0x1607): undefined reference to `nlmsg_free'
pcap-linux.c:(.text+0x1653): undefined reference to `nlmsg_free'
pcap-linux.c:(.text+0x1666): undefined reference to `nl_wait_for_ack'
pcap-linux.c:(.text+0x1677): undefined reference to `nlmsg_free'
pcap-linux.c:(.text+0x16c3): undefined reference to `nlmsg_free'
pcap-linux.c:(.text+0x16d0): undefined reference to `nlmsg_free'
pcap-linux.c:(.text+0x1775): undefined reference to `nlmsg_free'
collect2: ld returned 1 exit status
make[1]: *** [ncat] Error 1
make[1]: Leaving directory `/usr/src/nmap-5.51/ncat'
make: *** [ncat_build] Error 2
Creating /var/log/lunar/compile/nmap-5.51.bz2
! Problem detected during BUILD



More information about the Lunar mailing list