Nmap Development mailing list archives

nmap 6.47 compile failure on AIX 7100-03


From: Kevin Brott <kevin.brott () gmail com>
Date: Tue, 2 Sep 2014 16:12:15 -0700

Looks to possibly(?) be an issue with NEXTSA/ROUNDUP on this platform.
Noted that 6.25 builds and runs on this platform without issue, but nothing
more recent than that (including an SVN pull from today).

oslevel 7100-03-03-1415 :: gcc (GCC) 4.4.7 :: GNU Make 3.82

$ ./configure --prefix=/opt/nmap --mandir=/opt/nmap/man \
  --with-liblinear=included --with-liblua=included \
  --with-libdnet=included --with-libpcre=included
  --with-libpcap=included && echo OK || echo FAIL
...
Configuration complete.  Type make (or gmake on some *BSD machines) to
compile.
OK

$ gmake
...
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_msg':
route-bsd.c:108: error: invalid type argument of '->' (have 'int')
route-bsd.c:108: error: invalid type argument of '->' (have 'int')
route-bsd.c:116: error: invalid type argument of '->' (have 'int')
route-bsd.c:116: error: invalid type argument of '->' (have 'int')
route-bsd.c:123: error: invalid type argument of '->' (have 'int')
route-bsd.c:123: error: invalid type argument of '->' (have 'int')
route-bsd.c:157: error: invalid type argument of '->' (have 'int')
route-bsd.c:157: error: invalid type argument of '->' (have 'int')
route-bsd.c: In function 'route_loop':
route-bsd.c:294: warning: implicit declaration of function 'getkerninfo'
route-bsd.c:354: error: invalid type argument of '->' (have 'int')
route-bsd.c:354: error: invalid type argument of '->' (have 'int')
route-bsd.c:364: error: invalid type argument of '->' (have 'int')
route-bsd.c:364: error: invalid type argument of '->' (have 'int')
gmake[2]: *** [route-bsd.lo] Error 1
gmake[2]: Leaving directory `/lppdir/build/nmap-6.47/libdnet-stripped/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/lppdir/build/nmap-6.47/libdnet-stripped'
gmake: *** [dnet_build] Error 2

Searching the 'net seems to indicate an undefined function call, but
determining exactly which one and why is beyond my current skillset.
 Pointers?  Missed gcc or AIX networking FAQ? A polite(?!) sod-off?

-- 
# 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: