Nmap Development mailing list archives

nmap 4.75 & 4.76 'make' error.


From: sergej arko <sergej.arko () gmail com>
Date: Fri, 12 Sep 2008 22:26:43 +0200

Hi.

Compiling 4.75 and 4.76 on Mac OS X 10.3.9 i get this:

make: *** No rule to make target `nbase/libnbase.a', needed by `nmap'. Stop.

The end of make script looks like:

Compiling libnbase
cd nbase && make
gcc -g -O2 -Wall    -DHAVE_CONFIG_H    -c -o snprintf.o snprintf.c
In file included from snprintf.c:66:
nbase.h:192: error: parse error before "u8"
nbase.h:192: warning: type defaults to `int' in declaration of `u8'
nbase.h:192: warning: data definition has no type or storage class
nbase.h:194: error: parse error before "u16"
nbase.h:194: warning: type defaults to `int' in declaration of `u16'
nbase.h:194: warning: data definition has no type or storage class
nbase.h:196: error: parse error before "u32"
nbase.h:196: warning: type defaults to `int' in declaration of `u32'
nbase.h:196: warning: data definition has no type or storage class
nbase.h:198: error: parse error before "u64"
nbase.h:198: warning: type defaults to `int' in declaration of `u64'
nbase.h:198: warning: data definition has no type or storage class
In file included from snprintf.c:66:
nbase.h:392: error: parse error before "get_random_u32"
nbase.h:392: warning: type defaults to `int' in declaration of `get_random_u32'
nbase.h:392: warning: data definition has no type or storage class
nbase.h:393: error: parse error before "get_random_u16"
nbase.h:393: warning: type defaults to `int' in declaration of `get_random_u16'
nbase.h:393: warning: data definition has no type or storage class
nbase.h:394: error: parse error before "get_random_u8"
nbase.h:394: warning: type defaults to `int' in declaration of `get_random_u8'
nbase.h:394: warning: data definition has no type or storage class
snprintf.c:51: warning: `rcsid' defined but not used
make[1]: *** [snprintf.o] Error 1
make: *** [nbase_build] Error 2)

What seems to be the problem?

Thanks.

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: