Nmap Development mailing list archives
Re: Compiling nmap on AIX 6.1
From: nmapuseraix <nmapuseraix () o2 pl>
Date: Wed, 24 Feb 2010 12:13:47 +0100
Dnia 23 lutego 2010 17:10 jrf <jay.fink () gmail com> napisaĆ(a):
On Tue, Feb 23, 2010 at 04:31:38PM +0100, nmapuseraix wrote:$ ./configure --with-libpcap=/ibm/aixgnu/libpcap-1.0.0 --with-libdnet=/ibm/aixgnu/libdnet-1.12 Configure ends with dragon, then trying to gmake nmap it ends with: gcc -o ncat -g -O2 -Wall -L/ibm/aixgnu/libpcap-1.0.0/lib ncat_main.o ncat_connect.o ncat_core.o ncat_posix.o ncat_listen.o ncat_proxy.o ncat_broker.o ncat_hostmatch.o ncat_ssl.o base64.o http.o util.o sys_wrap.o ../nsock/src/libnsock.a ../nbase/libnbase.a -lpcap ld: 0711-317 ERROR: Undefined symbol: .pcap_next_ex ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status gmake[1]: *** [ncat] Error 1 gmake[1]: Leaving directory `/ibm/aixgnu/nmap-5.21/ncat' gmake: *** [ncat_build] Error 2 Any clues how to proceed from here?have you tried using: ./configure --with-libpcap=included There may be fixes in the copy of libpcap that ships with Nmap which are not upstream yet. Regards, Jay _______________________________________________
Hi, Thanks for tips. Looks like libpcap cannot go through configure: For libpcap-1.0.0: ./configure[6236]: syntax error at line 6659 : `newline or ;' unexpected For libpcap supplied with nmap-5.21: ./configure[6232]: syntax error at line 6655 : `newline or ;' unexpected Looking into configure it is the same statement in both versions: 6655: for ac_header in 6656:do 6657:as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` (...) What shall I do now with this? I also run configure in: nmap-5.21/libdnet-stripped and then gmake, result is: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c route-bsd.c -DPIC -o .libs/route-bsd.o route-bsd.c: In function 'route_loop': route-bsd.c:469: error: too few arguments to function 'knlist' route-bsd.c:474: error: 'struct radix_node_head' has no member named 'rnh_next' route-bsd.c:477: error: 'struct radix_node_head' has no member named 'rnh_af' gmake[1]: *** [route-bsd.lo] Error 1 gmake[1]: Leaving directory `/ibm/aixgnu/nmap-5.21/libdnet-stripped/src' gmake: *** [all-recursive] Error 1 A bit different for libdnet-1.12: gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -Wall -c arp-ioctl.c -o arp-ioctl.o arp-ioctl.c: In function '_radix_walk': arp-ioctl.c:417: error: 'struct arptab' has no member named 'at_hwaddr' arp-ioctl.c: In function 'arp_loop': arp-ioctl.c:439: error: storage size of 'ifarp' isn't known arp-ioctl.c:448: error: too few arguments to function 'knlist' arp-ioctl.c:455: error: 'struct ifnet' has no member named 'if_arp_cache_head' arp-ioctl.c:456: error: 'struct ifnet' has no member named 'if_arp_cache_head' arp-ioctl.c:440: warning: unused variable 'head' arp-ioctl.c:439: warning: unused variable 'ifarp' gmake[1]: *** [arp-ioctl.lo] Error 1 gmake[1]: Leaving directory `/ibm/aixgnu/libdnet-1.12/src' gmake: *** [all-recursive] Error 1 So it looks like problems with both libpcap and libdnet here... -- Best regards, Bart _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Compiling nmap on AIX 6.1 nmapuseraix (Feb 23)
- Re: Compiling nmap on AIX 6.1 jrf (Feb 23)
- Re: Compiling nmap on AIX 6.1 nmapuseraix (Feb 24)
- Re: Compiling nmap on AIX 6.1 jrf (Feb 25)
- Re: Compiling nmap on AIX 6.1 nmapuseraix (Feb 24)
- Re: Compiling nmap on AIX 6.1 David Fifield (Feb 23)
- Re: Compiling nmap on AIX 6.1 jrf (Feb 23)