Nmap Development mailing list archives

Compiling nmap on AIX 6.1


From: nmapuseraix <nmapuseraix () o2 pl>
Date: Tue, 23 Feb 2010 16:31:38 +0100

Hello,

I am trying to compile nmap on AIX 6.1.

Running configure without parameters goes ok, then gmake ends with:

/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -g -O2 -Wall -c -o 
route-bsd.lo route-bsd.c
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[2]: *** [route-bsd.lo] Error 1
gmake[2]: Leaving directory `/ibm/aixgnu/nmap-5.21/libdnet-stripped/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/ibm/aixgnu/nmap-5.21/libdnet-stripped'
gmake: *** [dnet_build] Error 2


So I have downloaded newest libpcap and libdnet and run:

$ ./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?

BR,
--
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: