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: compile error on Ubuntu 9.10
From: Matthew Raspberry <m4zr41618 () gmail com>
Date: Mon, 2 Nov 2009 06:50:19 -0600

Tom,

I did install both bison and flex. I'm still recieving the same error.

Matthew Raspberry
Sent from my cell phone

On Nov 2, 2009, at 6:09, Tom Sellers <nmap () fadedcode net> wrote:

Matt Raspberry wrote:
Hi all,
I am unable to compile r15955 on Ubuntu 9.10
$ make
../nsock/src/libnsock.a ../nbase/libnbase.a -lssl -lcrypto -lpcap - lssl
-lcrypto -ldl
../libpcap/libpcap.a(gencode.o): In function `pcap_compile':
/home/matt/nmap/libpcap/./gencode.c:397: undefined reference to `lex_init' /home/matt/nmap/libpcap/./gencode.c:399: undefined reference to `pcap_parse'
/home/matt/nmap/libpcap/./gencode.c:416: undefined reference to
`lex_cleanup'
/home/matt/nmap/libpcap/./gencode.c:383: undefined reference to
`lex_cleanup'
../libpcap/libpcap.a(grammar.o): In function `yyparse':
/home/matt/nmap/libpcap/y.tab.c:2092: undefined reference to `yylex'


Matt,

   Do you have bison installed?  That should fix the yylex entry.
"sudo apt-get install bison" should install it.  I think when I setup
Ubuntu boxes I do "sudo apt-get install build-essentials bison flex"

Hope that helps,

Tom
_______________________________________________
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 ]