Nmap Development mailing list archives
Re: compile error on Ubuntu
From: David Fifield <david () bamsoftware com>
Date: Mon, 11 Jan 2010 12:34:31 -0700
On Mon, Jan 11, 2010 at 01:22:22PM -0600, Matthew Raspberry wrote:
My bad, I captured the output with tee. It must not have got STDERR. Here is the full output of the make command. I ran make distclean and reran configure and make and got the same error. ../nsock/src/libnsock.a(nsock_iod.o): In function `nsi_delete': /home/mraspberry/nmap/nsock/src/nsock_iod.c:242: undefined reference to `pcap_close' ../nsock/src/libnsock.a(nsock_pcap.o): In function `nsock_pcap_set_filter': /home/mraspberry/nmap/nsock/src/nsock_pcap.c:161: undefined reference to `pcap_lookupnet' /home/mraspberry/nmap/nsock/src/nsock_pcap.c:168: undefined reference to `pcap_compile' /home/mraspberry/nmap/nsock/src/nsock_pcap.c:173: undefined reference to `pcap_setfilter' /home/mraspberry/nmap/nsock/src/nsock_pcap.c:174: undefined reference to `pcap_geterr' /home/mraspberry/nmap/nsock/src/nsock_pcap.c:169: undefined reference to `pcap_geterr' /home/mraspberry/nmap/nsock/src/nsock_pcap.c:178: undefined reference to `pcap_freecode' ../nsock/src/libnsock.a(nsock_pcap.o): In function `nsock_pcap_open': /home/mraspberry/nmap/nsock/src/nsock_pcap.c:66: undefined reference to `pcap_open_live' ../nsock/src/libnsock.a(nsock_pcap.o): In function `nsock_pcap_get_l3_offset': /home/mraspberry/nmap/nsock/src/nsock_pcap.c:187: undefined reference to `pcap_datalink' ../nsock/src/libnsock.a(nsock_pcap.o): In function `nsock_pcap_open': /home/mraspberry/nmap/nsock/src/nsock_pcap.c:105: undefined reference to `pcap_get_selectable_fd' /home/mraspberry/nmap/nsock/src/nsock_pcap.c:112: undefined reference to `pcap_setnonblock' ../nsock/src/libnsock.a(nsock_pcap.o): In function `nsock_pcap_get_l3_offset': /home/mraspberry/nmap/nsock/src/nsock_pcap.c:188: undefined reference to `pcap_geterr' ../nsock/src/libnsock.a(nsock_pcap.o): In function `do_actual_pcap_read': /home/mraspberry/nmap/nsock/src/nsock_pcap.c:293: undefined reference to `pcap_next_ex' /home/mraspberry/nmap/nsock/src/nsock_pcap.c:316: undefined reference to `pcap_geterr' collect2: ld returned 1 exit status make[1]: *** [ncat] Error 1 make[1]: Leaving directory `/home/mraspberry/nmap/ncat' make: *** [ncat_build] Error 2
Do another "svn update", then distclean again and recompile. This build error existed for a few hours two days ago but has been fixed since. David Fifield _______________________________________________ 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 Matthew Raspberry (Jan 11)
- Re: compile error on Ubuntu David Fifield (Jan 11)
- Re: compile error on Ubuntu Matthew Raspberry (Jan 11)
- Re: compile error on Ubuntu David Fifield (Jan 11)
- Re: compile error on Ubuntu Matthew Raspberry (Jan 11)
- Re: compile error on Ubuntu David Fifield (Jan 11)
- Re: compile error on Ubuntu Matthew Raspberry (Jan 11)
- Re: compile error on Ubuntu Jan Reister (Jan 11)
- Re: compile error on Ubuntu Matthew Raspberry (Jan 11)
- Re: compile error on Ubuntu David Fifield (Jan 11)
