Nmap Development mailing list archives

Re: Compile errors on Mac 10.6.4


From: David Fifield <david () bamsoftware com>
Date: Wed, 4 Aug 2010 14:41:08 -0600

On Wed, Aug 04, 2010 at 04:29:55PM -0400, Walt Scrivens wrote:
Here it the end of the compile messages from revision 19418 on my Mac.  I'm not sure, but it looks like a problem 
with the Makefile.  configure gave no errors.
.
.
.
Compiling libnsock
cd nsock/src && make
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 
-Wall   error.c -o error.o
make[1]: *** No rule to make target `nsock_utils.h', needed by `filespace.o'.  Stop.
make: *** [nsock_build] Error 2
TestComputer:nmap walts$ 

Is this a fresh build? You might have to "make clean" first. When you
see "*** No rule to make target ..., needed by ....", it usually means
that makefile.dep files are stale. If that fails, try a fresh checkout.
nsock_utils.h was moved a little while ago and your generated build
files may still be pointing to the old location.

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


Current thread: