Nmap Development mailing list archives

Compile NMAP 6.40 on Solaris 10 - fails in 'lauxlib.c'


From: mikep () noc utoronto ca
Date: Tue, 27 Aug 2013 10:20:38 -0400 (EDT)

Hi,

I'm trying to build 'nmap-6.40' on Solaris 10, with:

./configure CC=gcc --prefix=/opt/local --with-localdirs --without-zenmap --with-openssl=/opt/local --with-liblua=included

It dies in:

gcc -O2 -Wall -I/usr/local/include -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lauxlib.o lauxlib.c
In file included from /usr/include/sys/wait.h:24,
                 from lauxlib.c:229:
/usr/include/sys/siginfo.h:259: error: syntax error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: syntax error before '}' token
/usr/include/sys/siginfo.h:294: error: syntax error before '}' token
/usr/include/sys/siginfo.h:390: error: syntax error before "ctid_t"
/usr/include/sys/siginfo.h:398: error: conflicting types for '__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of '__fault' was here
/usr/include/sys/siginfo.h:404: error: conflicting types for '__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of '__file' was here
/usr/include/sys/siginfo.h:420: error: conflicting types for '__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of '__prof' was here
/usr/include/sys/siginfo.h:424: error: conflicting types for '__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of '__rctl' was here
/usr/include/sys/siginfo.h:426: error: syntax error before '}' token
/usr/include/sys/siginfo.h:428: error: syntax error before '}' token
/usr/include/sys/siginfo.h:432: error: syntax error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: syntax error before '}' token
In file included from /usr/include/sys/procset.h:23,
                 from /usr/include/sys/wait.h:25,
                 from lauxlib.c:229:
/opt/gnu/lib/gcc/sparc-sun-solaris2.8/3.4.6/include/sys/signal.h:96: error: syntax error before "siginfo_t"
In file included from lauxlib.c:229:
/usr/include/sys/wait.h:86: error: syntax error before "siginfo_t"
gmake[1]: *** [lauxlib.o] Error 1
gmake[1]: Leaving directory `/opt/local/src/security/nmap-6.40/liblua'
gmake: *** [lua_build] Error 2

(Same error with Solaris 'make').

Any help appreciated.

Thanks,
Mike
--
Mike Peterson                            Information Security Analyst - Audit
E-mail: mikep () noc utoronto ca                WWW: http://www.noc.utoronto.ca/
Tel: 416-978-5230                                           Fax: 416-978-6620
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: