Nmap Development mailing list archives

Re: ncat tests - linking problems


From: Jacek Wielemborek <wielemborekj1 () gmail com>
Date: Mon, 5 Aug 2013 20:12:21 +0200

2013/8/3 v4hn <me () v4hn de>:
Hey everyone,

thank you for developing
and maintaining this wonderful tool!

I found a minor problem with your
current make system: ncat's tests are build
with a wrong order of libraries.

The lua library depends on libdl, so libdl should
be listed _after_ lua in the compile command.
This type of dependency is the reason why $(LIBS)
is normally listed _last_ by default.
The attached patch changes this.

The problem only shows up when you compile
your system with -Wl,--as-needed and is therefore
a minor issue. Nevertheless, I would like
to see this fixed. :)


v4hn

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

Hi,

Thanks for the patch. We got one more report about this issue (Ubuntu
12.04) and this patch fixed it. I applied it manually and commited it
in r31637.

Yours,
Jacek Wielemborek
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: