Nmap Development mailing list archives

Re: Fw: Issues on AIX 5.3 installation


From: David Fifield <david () bamsoftware com>
Date: Tue, 6 Mar 2012 19:42:02 -0800

On Wed, Feb 29, 2012 at 11:52:39PM -0300, Vinicius Batista wrote:
Ok, I just found out the 'ftruncate64' issue - it's related to LARGE FILES support on AIX, which is not enabled 
unless you edit the file <nmap installation folder>/libpcap/scanner.c and add the following definition:  

#define _LARGE_FILES 1

After that, I ran gmake and it passed that code without issues. The next error occurred during 'libdnet-stripped/src' 
files compilation, as follows:

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c route-bsd.c -o 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 
`/home/wassrvr/RPMS/nmap-5.51/libdnet-stripped/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory 
`/home/wassrvr/RPMS/nmap-5.51/libdnet-stripped' gmake: *** [dnet_build] Error 2  

Again, looking over the internet, it looks an issue with libdnet AIX port, which is incomplete as per the following 
link:
http://seclists.org/nmap-dev/2009/q3/1037

BTW, I have specified on configure to use the included libdnet(which is occurring properly), but no lucky. Is that 
broken as well?

Please build from Subversion on AIX. There were many AIX portability
fixes that were not in version 5.51. See the instructions here please:
http://nmap.org/book/install.html#inst-svn

We have a report that there is still a bug on AIX 5.3 with regard to
Ethernet sending: http://seclists.org/nmap-dev/2012/q1/119. Please let
us know if this affects you too.

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: