Nmap Development mailing list archives
Re: Issues on AIX 5.3 installation
From: Vinicius Batista <vbatista () gmail com>
Date: Mon, 12 Mar 2012 15:37:51 -0300
Hi David, all. I have tried to install from SVN. Everything was doing fine, however, at gmake step, the following issue occurred. Compiling libnetutil cd libnetutil && gmake gmake[1]: Entering directory `/home/wassrvr/nmap-svn/nmap/libnetutil' Makefile:41: makefile.dep: No such file or directory g++ -MM -I../liblinear -I../liblua -I../libdnet-stripped/include -I../libpcre -I../libpcap -I../nbase -I../nsock/include -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 ./netutil.cc ./PacketElement.cc ./NetworkLayerElement.cc ./ARPHeader.cc ./PacketElement.cc ./NetworkLayerElement.cc ./TransportLayerElement.cc ./ARPHeader.cc ./EthernetHeader.cc ./ICMPv4Header.cc ./ICMPv6Header.cc ./IPv4Header.cc ./IPv6Header.cc ./TCPHeader.cc ./UDPHeader.cc ./RawData.cc ./HopByHopHeader.cc ./DestOptsHeader.cc ./FragmentHeader.cc ./RoutingHeader.cc ./PacketParser.cc ./npacket.cc > makefile.dep gmake[1]: Leaving directory `/home/wassrvr/nmap-svn/nmap/libnetutil' gmake[1]: Entering directory `/home/wassrvr/nmap-svn/nmap/libnetutil' g++ -c -I../liblinear -I../liblua -I../libdnet-stripped/include -I../libpcre -I../libpcap -I../nbase -I../nsock/include -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -g -O2 -Wall -fno-strict-aliasing netutil.cc -o netutil.o In file included from ../libdnet-stripped/include/dnet.h:15, from netutil.h:110, from netutil.cc:164: ../libdnet-stripped/include/dnet/ip.h:39: error: expected ';' before '.' token ../libdnet-stripped/include/dnet/ip.h:47: error: expected ';' before '.' token ../libdnet-stripped/include/dnet/ip.h:48: error: expected ';' before '.' token gmake[1]: *** [netutil.o] Error 1 gmake[1]: Leaving directory `/home/wassrvr/nmap-svn/nmap/libnetutil' gmake: *** [netutil_build] Error 2 wassrvr@b03cxnp01021:/home/wassrvr/nmap-svn/nmap> Any hints? -- Vinicius Batista IBM IT Specialist On Wednesday, 7 de March de 2012 at 00:42, David Fifield wrote:
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:
- Issues on AIX 5.3 installation Vinicius Batista (Feb 29)
- Fw: Issues on AIX 5.3 installation Vinicius Batista (Feb 29)
- Re: Fw: Issues on AIX 5.3 installation David Fifield (Feb 29)
- Re: Issues on AIX 5.3 installation Vinicius Batista (Feb 29)
- Fw: Issues on AIX 5.3 installation Vinicius Batista (Feb 29)
- Re: Fw: Issues on AIX 5.3 installation David Fifield (Mar 06)
- Re: Issues on AIX 5.3 installation Vinicius Batista (Mar 12)
- Re: Issues on AIX 5.3 installation David Fifield (Mar 12)
- Re: Fw: Issues on AIX 5.3 installation David Fifield (Feb 29)
- Fw: Issues on AIX 5.3 installation Vinicius Batista (Feb 29)