Nmap Development mailing list archives
Re: Nmap 4.23RC1 released
From: David Fifield <david () bamsoftware com>
Date: Sun, 11 Nov 2007 13:51:17 -0700
On Sun, Nov 11, 2007 at 01:27:30PM -0700, David Fifield wrote:
On Sat, Nov 10, 2007 at 11:05:42PM -0700, David Fifield wrote:On Sat, Nov 10, 2007 at 05:48:38PM -0500, Matt Selsky wrote:Solaris 9/gcc 4 build failure: make[1]: Entering directory `/src/nmap-4.23RC1/nbase' gcc -g -O2 -Wall -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1 -c -o snprintf.o snprintf.c In file included from nbase.h:431, from snprintf.c:66: nbase_ipv6.h:214: error: redefinition of `struct addrinfo' nbase_ipv6.h:239: error: conflicting types for `?gai_strerro' /usr/include/netdb.h:311: error: previous declaration of `gai_strerror' was here make[1]: *** [snprintf.o] Error 1 make[1]: Leaving directory `/src/nmap-4.23RC1/nbase' make: *** [nbase/libnbase.a] Error 2 I did not try to configure with --enable-ipv6 or anything.I can confirm this on Solaris 9. I have access to such a machine that I can test this on.I committed a fix for this and a bunch of other issues on Solaris. One issue remains: ... I can make the problem go away by adding -ldl to LIBS in Makefile.
Oh, and one other thing. After adding -ldl nmap quits with a bus error
when I scan a local or remote host.
$ ./nmap localhost
Starting Nmap 4.23RC1 ( http://insecure.org ) at 2007-11-11 13:29 MST
Bus Error (core dumped)
The same thing happens with
./nmap -sL localhost
./nmap -sL -n localhost
./nmap -sP localhost
But running just
./nmap
correctly prints out usage instructions.
But, if I compile with "make debug", everything works just fine. I don't
have root on this machine. I tracked the error down to line 242 of
services.cc:
sp->ratio = current->ratio;
Maybe some alignment problem?
David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Current thread:
- Nmap 4.23RC1 released Fyodor (Nov 10)
- Re: Nmap 4.23RC1 released Kris Katterjohn (Nov 10)
- Re: Nmap 4.23RC1 released Fyodor (Nov 13)
- Re: Nmap 4.23RC1 released Gianluca Varenni (Nov 13)
- Re: Nmap 4.23RC1 released Fyodor (Nov 13)
- Re: Nmap 4.23RC1 released Matt Selsky (Nov 10)
- Re: Nmap 4.23RC1 released David Fifield (Nov 10)
- Re: Nmap 4.23RC1 released David Fifield (Nov 11)
- Re: Nmap 4.23RC1 released David Fifield (Nov 11)
- Re: Nmap 4.23RC1 released David Fifield (Nov 10)
- Re: Nmap 4.23RC1 released Kris Katterjohn (Nov 10)
- Re: Nmap 4.23RC1 released Michael Bakeman (Nov 11)
- Re: Nmap 4.23RC1 released David Fifield (Nov 11)
- <Possible follow-ups>
- Re: Nmap 4.23RC1 released Patrick Derwael (Nov 10)
- Re: Nmap 4.23RC1 released Fyodor (Nov 10)
- Re: Nmap 4.23RC1 released David Fifield (Nov 10)
- RE: Nmap 4.23RC1 released Patrick Derwael (Nov 11)
- Re: Nmap 4.23RC1 released Andreas Ericsson (Nov 11)
- Re: Nmap 4.23RC1 released Fyodor (Nov 10)
