Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Compile NMAP 6.40 on Solaris 10 - fails in 'lauxlib.c'
From: David Fifield <david () bamsoftware com>
Date: Tue, 10 Sep 2013 14:33:13 -0700

On Tue, Aug 27, 2013 at 10:20:38AM -0400, mikep () noc utoronto ca wrote:
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

What happens if you enter the liblua directory and do "make solaris",
before doing any Nmap compilation?

David Fifield
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault