Nmap Development mailing list archives

Re: ncat make error


From: David Fifield <david () bamsoftware com>
Date: Mon, 1 Aug 2011 14:08:53 -0700

On Thu, Jul 28, 2011 at 09:30:12AM -0700, rilian4 rilian4 wrote:
This time I'll actually attach the .txt...oops.

On Thu, Jul 28, 2011 at 9:29 AM, rilian4 rilian4 <rilian4 () gmail com> wrote:

Just downloaded nmap 5.59beta1 and attempted to compile on a SuSe system
that successfully compiled 5.21. I am getting the following error at the end
of the make run:

collect2: ld returned 1 exit status
make[1]: *** [ncat] Error 1
make[1]: Leaving directory `/home/netadmin/installs/nmap-5.59BETA1/ncat'
make: *** [ncat_build] Error 2

I have also attached a longer error log w/ more details as a text file (its
a bit big to put in an email). Most of this log contains "undefined
reference to" errors in pcap-linux.c

Any suggestions?


../libpcap/libpcap.a(pcap-linux.o): In function `nl80211_init':
/path/to/installer/nmap-5.59BETA1/libpcap/./pcap-linux.c:515: undefined reference to `nl_handle_alloc'
/path/to/installer/nmap-5.59BETA1/libpcap/./pcap-linux.c:522: undefined reference to `genl_connect'
/path/to/installer/nmap-5.59BETA1/libpcap/./pcap-linux.c:528: undefined reference to `genl_ctrl_alloc_cache'
/path/to/installer/nmap-5.59BETA1/libpcap/./pcap-linux.c:535: undefined reference to `genl_ctrl_search_by_name'
/path/to/installer/nmap-5.59BETA1/libpcap/./pcap-linux.c:547: undefined reference to `nl_handle_destroy'
/path/to/installer/nmap-5.59BETA1/libpcap/./pcap-linux.c:545: undefined reference to `nl_cache_free'

r23163 made a change related to libnl.

 o Stopped linking against libnl when not necessary (when linking
   dynamically with libpcap). Patch by Kevin Locke.

If you revert r23163 ("svn merge -c -23163"), does it compile for you?

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: