Nmap Development mailing list archives

Re: Bug in latest build


From: Daniel Miller <bonsaiviking () gmail com>
Date: Sat, 1 Aug 2015 14:41:57 -0500

Forrest,

Thanks for catching this! We mistakenly used an implementation-specific
name to reference the IPv6 address within a struct in6_addr instead of the
POSIX-defined [1] s6_addr name. Should be fixed in r35039, but let us know
if you have any other problems.

Dan

[1]
http://pubs.opengroup.org/onlinepubs/000095399/basedefs/netinet/in.h.html

On Fri, Jul 31, 2015 at 11:45 AM, Forrest Aldrich <forrie () gmail com> wrote:

All,

Just attempted to build from SVN and received the following compiler error:

g++ -c -I./liblinear -I./liblua -I./libdnet-stripped/include  -I./nbase
-I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\
"https://nmap.org\"; -DNMAP_PLATFORM=\"i686-pc-linux-gnu\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -g -O2 -Wall
-fno-strict-aliasing   nmap_dns.cc -o nmap_dns.o
nmap_dns.cc: In static member function 'static bool
DNS::Factory::ipToPtr(const sockaddr_storage&, std::string&)':
nmap_dns.cc:1337: error: 'const struct in6_addr' has no member named
'__in6_u'
make[1]: *** [nmap_dns.o] Error 1
make[1]: Leaving directory `/usr/local/src/nmap'
make: *** [all] Error 2
[root@mail nmap]# svn update
At revision 35032.


This is done against a fresh checkout (ie: clean repo), on CentOS 5.11 (up
to date).



Just FYI, thanks,

Forrest


_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: