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/
Current thread:
- compile error on Ubuntu 9.10 Matt Raspberry (Nov 01)
- Re: compile error on Ubuntu 9.10 Tom Sellers (Nov 02)
- Re: compile error on Ubuntu 9.10 Matthew Raspberry (Nov 02)
- Re: compile error on Ubuntu 9.10 David Fifield (Nov 02)
- Re: compile error on Ubuntu 9.10 Matt Raspberry (Nov 02)
- Re: compile error on Ubuntu 9.10 David Fifield (Nov 02)
- Re: compile error on Ubuntu 9.10 Corey Chandler (Nov 02)
- Re: compile error on Ubuntu 9.10 Matt Raspberry (Nov 02)
- Re: compile error on Ubuntu 9.10 Tom Sellers (Nov 02)