Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: [nmap-svn] r23442 - nmap-exp/weilin/nmap-netlink nmap-exp/weilin/nmap-netlink/libnetutil nping
From: Henri Doreau <henri.doreau () gmail com>
Date: Mon, 30 May 2011 15:09:33 +0200

2011/5/30  <commit-mailer () insecure org>:
Author: david
Date: Sun May 29 19:35:54 2011
New Revision: 23442

Log:
Quick-and-dirty configuration needed to link against libnetlink.


Modified:
  nmap-exp/weilin/nmap-netlink/Makefile.in
  nmap-exp/weilin/nmap-netlink/configure
  nmap-exp/weilin/nmap-netlink/configure.ac
  nmap-exp/weilin/nmap-netlink/libnetutil/Makefile.in
  nping/Makefile.in
  nping/configure
  nping/configure.ac

[...]
Modified: nping/configure
==============================================================================
--- nping/configure     (original)
+++ nping/configure     Sun May 29 19:35:54 2011
@@ -5332,6 +5332,8 @@



+CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/../libnetlink/include"
+LIBS="\$(top_srcdir)/../libnetlink/lib/libnetlink.a \$(top_srcdir)/../libnetlink/lib/libutil.a -ldl"

 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr{} has sa_len member" >&5
 $as_echo_n "checking if sockaddr{} has sa_len member... " >&6; }

Modified: nping/configure.ac
==============================================================================
--- nping/configure.ac  (original)
+++ nping/configure.ac  Sun May 29 19:35:54 2011
@@ -325,6 +325,8 @@
 AC_SUBST(DNET_CLEAN)
 AC_SUBST(DNET_DIST_CLEAN)

+CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/../libnetlink/include"
+LIBS="\$(top_srcdir)/../libnetlink/lib/libnetlink.a \$(top_srcdir)/../libnetlink/lib/libutil.a -ldl"

 dnl This test is from the configure.in of Unix Network Programming second
 dnl edition example code by W. Richard Stevens

Hello,

it looks like this revision breaks compilation:

g++: error: ./../libnetlink/lib/libnetlink.a: No such file or directory
g++: error: ./../libnetlink/lib/libutil.a: No such file or directory


I don't understand the reason of linking nping against libnetlink like
this. Am I missing something?

Regards.

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


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault