Nmap Development mailing list archives

Compiling nmap on AIX 7.1


From: Kevin Brott <kevin.brott () gmail com>
Date: Thu, 14 Aug 2014 16:56:02 -0700

Been having some minor headaches with getting route-bsd.c and
TargetGroup.cc to compile under gcc 4.2.4, 4.3.6, and 4.4.7 (so far -
bootstrapping to 4.5.4 as I write this).

Is there an (undocumented? - I sure can't find reference to it if there is)
minimum version of gcc required on AIX to build nmap?

The TargetGroup.cc issue is due to a difference in the way AIX 7 handles
inet joins (I've finally got a patch for this that works under the gcc
versions I've tested so far, hoping higher revs of gcc with deprecate teh
patch, but I'm not holding my breath).

The route-bsd.c failure looks to be a syntax/structure error in NEXTSA (but
I suspect it's really in ROUNDUP), and it's probably another AIX7-ism.
  i..e error: invalid type argument of '->' (have 'int')

I'm assuming I'm missing something really simple, but while my google-fu
is pretty good, my c++-fu isn't quite.


-- 
# include <stddisclaimer.h>
/* Kevin  Brott <Kevin.Brott () gmail com> */
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: