Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




nmap-dev logo Nmap Development mailing list archives

Re: Ncat: Update and Feature Request
From: eldraco <eldraco () gmail com>
Date: Tue, 29 Jul 2008 12:32:10 -0300

silly question: did you re-run ./configure after installing libpcap-dev?
Did you install libpcap-dev from debian repository?

Here is my configuration, and is working fine to me:

libpcap0.8                            0.9.8-5
libpcap0.8-dev                        0.9.8-5
libssl-dev                            0.9.8g-12
gcc-4.3                               4.3.1-6

Ncat svn revision: 9174

Everything works like a charm.

cheers

eldraco

El Tuesday 29 July 2008 04:32:50 Aaron Leininger escribió:
$ svn co --username guest --password "" svn://svn.insecure.org/ncat

ok. I was finally able to check out the latest ncat svn source using the
above command. I ran ./configure seemingly w/o errors.
I figured out that I needed the libpcap-dev package installed from an
earlier email on the list (I was getting pcap.h compile errors otherwise),
so I installed that.

I ran: $make after installing pcap-dev and got errors. Below are the errors
being generated. See attached text file for full output of my make command.

gcc -o ncat -Wall -DHAVE_CONFIG_H -Insock/include/ -Inbase  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  -lpcap nsock/src/libnsock.a(nsock_pcap.o): In function
`nsock_pcap_open': /<pathtosrc>/ncat/nsock/src/nsock_pcap.c:105: undefined
reference to `pcap_get_selectable_fd' nsock/src/libnsock.a(nsock_pcap.o):
In function `do_actual_pcap_read':
/<pathtosrc>/ncat/nsock/src/nsock_pcap.c:292: undefined reference to
`pcap_next_ex' collect2: ld returned 1 exit status
make: *** [ncat] Error 1


Please note: I am running this on a different system than in my previous
emails. Stats below if it helps:

running Debian 4.0 on i686 platform
$uname -r
2.4.27-2-386


(paths and hostname changed for privacy)

Thanks,
Aaron

_________________________________________________________________
Time for vacation? WIN what you need- enter now!
http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm
        


-- 
Ing. Sebastián García
http://minsky.surfnet.nl:11371/pks/lookup?op=get&search=0x3E42ED27F864EDE6

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

  By Date           By Thread  

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