Nmap Development mailing list archives

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


From: Phillip Pi <ant () zimage com>
Date: Mon, 27 Nov 2006 03:23:53 -0800

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. 
:)
-- 
"Maybe it's like an ant hive..." "Bees man, bees have hives." "You know
what I mean. It's like one female that runs the whole show." "Yes, the
queen." "Yeah the mamma. She is bad*ss, man. I mean big." "These things
ain't ants estupido." "I know that." --ALIENS movie
  /\___/\
 / /\ /\ \     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: