Nmap Development mailing list archives

Re: Can't compile nmap v4.03 in Mac OS X 10.2.8


From: Phillip Pi <ant () zimage com>
Date: Sat, 23 Dec 2006 02:45:10 -0800

FYI. I can't compile v4.20 as well: http://pastebin.ca/289686


On Mon, Nov 27, 2006 at 03:23:53AM -0800, Phillip Pi wrote:
Hello,

I am having problems compiling nmap in Mac OS X 10.2.8:

...
gcc -c  -g -O2 -Wall  -I../../nbase  -DHAVE_CONFIG_H 
-DNSOCK_VERSION=\"0.01\"  -I../include nsock_connect.c -o 
nsock_connect.o
nsock_connect.c: In function `nsi_getlastcommunicationinfo':
nsock_connect.c:274: error: `socklen_t' undeclared (first use in this 
function)
nsock_connect.c:274: error: (Each undeclared identifier is reported only 
once
nsock_connect.c:274: error: for each function it appears in.)
nsock_connect.c:274: error: parse error before "slen"
nsock_connect.c:291: error: `slen' undeclared (first use in this 
function)
make[1]: *** [nsock_connect.o] Error 1
make: *** [nsock/src/libnsock.a] Error 2

The whole log is at http://pastebin.ca/259312 ... Thank you in advance. 
-- 
[Laser pulsing] "Bah. It's as easy as crushing an ant! You know, the..." [grunting] "Wh-wh-whoa! Hey, take my wallet 
and leave me alone!" --Mr. Burns from The Simpsons (Fraudcast News; FABF16/FABF18 episode)
  /\___/\
 / /\ /\ \     Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site)
| |o   o| |         Ant's Quality Foraged Links (AQFL): http://aqfl.net
   \ _ /                 E-mail: philpi () earthlink net or ant () zimage com
    ( )

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


Current thread: