Nmap Development mailing list archives

gmake NMAP7.40 got error on solaris 10


From: rujira wasikarn <rujira.wasikarn () kbzbank com>
Date: Thu, 9 Feb 2017 14:36:39 +0630

Hi NMAP dev team

   I tried to install nmap on solaris 5.10 Generic_150400-40 sun4v sparc
sun4v.
I got error as below when i executed gmake step.

===========================================
gmake[4]: Entering directory `/tmp/nmap-7.40/libdnet-stripped/include/dnet'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/tmp/nmap-7.40/libdnet-stripped/include/dnet'
gmake[4]: Entering directory `/tmp/nmap-7.40/libdnet-stripped/include'
gmake[4]: Leaving directory `/tmp/nmap-7.40/libdnet-stripped/include'
gmake[3]: Leaving directory `/tmp/nmap-7.40/libdnet-stripped/include'
gmake[2]: Leaving directory `/tmp/nmap-7.40/libdnet-stripped/include'
Making all in src
gmake[2]: Entering directory `/tmp/nmap-7.40/libdnet-stripped/src'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/tmp/nmap-7.40/libdnet-stripped/src'
gmake[2]: Entering directory `/tmp/nmap-7.40/libdnet-stripped'
gmake[2]: Nothing to be done for `all-am'.
gmake[2]: Leaving directory `/tmp/nmap-7.40/libdnet-stripped'
gmake[1]: Leaving directory `/tmp/nmap-7.40/libdnet-stripped'
Compiling liblua
gmake[1]: Entering directory `/tmp/nmap-7.40/liblua'
gcc -O2 -Wall -Wextra -DLUA_COMPAT_5_2  -g -O2 -Wall   -DLUA_USE_POSIX
-DLUA_USE_DLOPEN   -c -o lapi.o lapi.c
In file included from /usr/include/iso/stdarg_c99.h:34,
                 from /usr/include/stdarg.h:33,
                 from lapi.c:13:
/usr/include/sys/feature_tests.h:341:2: #error "Compiler or options
invalid; UNIX 03 and POSIX.1-2001 applications      require the use of c99"
gmake[1]: *** [lapi.o] Error 1
gmake[1]: Leaving directory `/tmp/nmap-7.40/liblua'
gmake: *** [build-lua] Error 2

=========================================================

Please help us to resolve the issue.

Regards,
Rujira

-- 


*The information in this email together with any attachments is intended 
only for the person or entity to which it is addressed and may contain 
confidential and/or privileged material. Any form of review, disclosure, 
modification, distribution and/or publication of this email message and/or 
its attachments is prohibited. If you have received this message in error, 
you are asked to inform the sender as quickly as possible and delete this 
message and any copies of this message from your computer and/or your 
computer system network. Any attachments should be checked for viruses by 
you before being opened. Kanbawza Bank Ltd accepts no responsibility for an 
attachment that contains a virus.*
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: