Nmap Development mailing list archives

Re: Nmap 4.10 - Compile error on Solaris 8?


From: Matt Selsky <selsky () columbia edu>
Date: Wed, 21 Jun 2006 00:29:26 +0000 (UTC)

kx <kxmail <at> gmail.com> writes:

That is my fault.

I noted when I submitted my patch that I didn't know what to alter in
the configure scripts as I don't develop C/C++ on unix outside of very
small programs that don't require configure.

All inet_aton calls have been modified to inet_pton calls, so the
configure script shouldn't be checking for that dependency.  I just
didn't know how to edit it and asked for help. I guess it slipped
passed Fyodor.

Would someone be willing to tell me what to do or submit a patch?
Otherwise, I will have to RTFM for configure.

Same error on Solaris 9 with gcc 4.1.1.  This patch fixes the problem:

--- nmap-4.10.orig/nbase/configure.ac   2006-03-26 01:44:25.000000000 -0500
+++ nmap-4.10/nbase/configure.ac  2006-06-20 20:04:30.400453000 -0400
@@ -209,7 +209,6 @@
 dnl Checks for library functions.
 dnl AC_TYPE_SIGNAL
 AC_CHECK_FUNCS( bzero snprintf vsnprintf memcpy nanosleep strerror strcasestr strcasecmp 
strncasecmp signal )
-AC_REPLACE_FUNCS(inet_aton)
 
 needsnprintf=no
 AC_CHECK_FUNCS(vsnprintf snprintf asprintf asnprintf vasprintf vasnprintf,,


Make sure to re-run autoconf to rebuild configure (or just run "make clean")


-- 
Matt




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


Current thread: