Nmap Development mailing list archives

Re: Link errors while compiling Nmap from SVN (was "Port number in verbose mode")


From: David Fifield <david () bamsoftware com>
Date: Mon, 24 May 2010 15:41:46 -0600

On Wed, May 12, 2010 at 06:29:54PM -0300, rebellis wrote:
Hi

I roughly managed to solve the linking errors I mentioned in this
thread: http://seclists.org/nmap-dev/2010/q2/412.

The problem is that configure is not adding -lnl (for netlink library)
to LDFLAGS. I can go around it by setting LDFLAGS myself before
running configure and make (tested in revision 17541):

rebellis@dagon ~/sources/nmap $ LDFLAGS=-lnl ./configure && make

I guess it's a problem in configure.ac but I don't have the knowledge
to fix it. Any help is appreciated.

Does this patch work for you?

David Fifield

Attachment: configure-libnl.diff
Description:

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

Current thread: