|
Nmap Development
mailing list archives
Re: Error compiling nmap-4.76 during make of libnbase on MacOSX 10.3.9
From: Myshkin LeVine <myshlev () mac com>
Date: Thu, 18 Sep 2008 06:07:24 -0400
On Sep 15, 2008, at 11:59 PM, David Fifield wrote:
On Mon, Sep 15, 2008 at 01:32:01PM -0400, Myshkin LeVine wrote:
Hello,
I had the same compiling errors as Sergej Arko who posted recently.
The thread seems to have stopped without resolution so I decided to
post. The build fails when libnbase starts to be compiled. Here are
the
error messages:
......................
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
----cut----
snprintf.c:51: warning: `rcsid' defined but not used
make[1]: *** [snprintf.o] Error 1
make: *** [nbase_build] Error 2
.....................
Can you try the attached patch? It appears OS X 10.3.9 needs inttypes.h
for the integer types. You'll have to re-configure and re-make after
appying the patch.
David Fifield
<nbase-inttypes.diff>
Hi David,
The patch did the trick, and now nmap-4.76 will compile and install
with no errors. Thanks very much.
Myshkin LeVine
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
By Date
By Thread
Current thread:
|