Nmap Development mailing list archives
Re: Ncat is now available through Nmap trunk
From: Kris Katterjohn <katterjohn () gmail com>
Date: Tue, 16 Sep 2008 11:05:06 -0500
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sven Klemm wrote:
Hey Kris,
Hi Sven,
| I've added Ncat to the Nmap trunk, so now it should build automatically and | install along with Nmap. This means you build it from in /nmap now instead of | /ncat. In Unix you can use "configure --without-ncat" to keep it from | building and installing. cool :)
:)
I am getting a build error when running make: gcc -o ncat -g -O2 ncat_main.o ncat_connect.o ncat_core.o ncat_listen.o ncat_proxy.o ncat_broker.o ncat_hostmatch.o ncat_ssl.o util.o sys_wrap.o ../nsock/src/libnsock.a ../nbase/libnbase.a -lssl -lcrypto -lpcap /usr/bin/ld: cannot find -lpcap collect2: ld returned 1 exit status make[1]: *** [ncat] Error 1 make[1]: Leaving directory `/home/sven/code/nmap-trunk/ncat' make: *** [ncat_build] Error 2 [2] Adding -L../libpcap to the command fixes the build problem.
Thanks, I believe I've fixed this in SVN. I added checks to Ncat's configure to pass along the libpcap information to its Makefile. I tested it without any --with-libpcap option for configure, and with --with-libpcap=included and they both worked fine for me. Let me know if this still fails for you.
Cheers, Sven
Thanks, Kris Katterjohn -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIVAwUBSM/ZL/9K37xXYl36AQIFzg/9Fr8UAES2WEvtVu0F/dMgKd4eQTIqf9vK qReaIgrg00Lpk+EEGf33hhmfndVt9hIznsx3pvxqt/X9lcX4E1RR2JerEXgHSpjG O5fxfbzloRg6UGefamjRWiKT0jZ+2q6nsufsjOgMGoZ0AwIzBiwRTKHAfSLKyToB AYRfStzN95ggpDcDDF4lMEQfXo2EnARgiUw5zsbF8vFClFgeKpM+OoQAOnnkAAa2 jxIA6CeBhKlXkPmNBO1iL3lgFi7aBjYyDHsjtNYe0O7OaZRAfeqUj3efKqQNMdZr WISLJv9nnjf5hEQszMBB3hkNIQCuIgtVQHfTkxZeA0aXFMBDqLfCUjR3qEuEEzjn 9TTegjemyLNsJxwoapr/rQp2xrVCcutRnpAnX7PXhLSUcre0r4AHDRi7A2cU0j4V eGLoZg6QdGa363hKsz8jtWRZAH87vry3vlf14R6/no8HeATbNrrdlmmZd2QowV5z 51OTVPN26A8Vu4kXeBC6yWevLUolHhU3rd2gMVcjgjo5/AKItIwamSsQrinMeueB gHGn+cAIdS+8++SV5h6xiRwpetwMB5w6k3Y34RsKYJE8FeWfgQCgPn4EeLxsZ4N3 40v9KK+/lxW0FHAGipnfYZMa4hLMEk7jKdM5QyyiumvHBsK4NtjiLf4ubwayv9Vu QhkAtowRktI= =3dNS -----END PGP SIGNATURE----- _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Ncat is now available through Nmap trunk Kris Katterjohn (Sep 15)
- Re: Ncat is now available through Nmap trunk Sven Klemm (Sep 16)
- Re: Ncat is now available through Nmap trunk Kris Katterjohn (Sep 16)
- Re: Ncat is now available through Nmap trunk Sven Klemm (Sep 16)