Nmap Development mailing list archives

Re: [patch] openssl/md2 issue autoconf files configure.ac configure nse_openssl.cc


From: Daniel Roethlisberger <daniel () roe ch>
Date: Sat, 28 Aug 2010 12:58:33 +0200

David Fifield <david () bamsoftware com> 2010-08-26:
On Fri, Aug 20, 2010 at 10:10:33PM +0200, olli hauer wrote:
Has someone a workaround if openssl is build with SCTP support?
I got the following build failure if SCTP is anabled in openssl.

In file included from /usr/local/include/openssl/dtls1.h:78,
                 from /usr/local/include/openssl/ssl.h:1193,
                 from service_scan.cc:106:
/usr/include/netinet/sctp.h:57: error: redefinition of 'struct sctp_chunkhdr'
./libdnet-stripped/include/dnet/sctp.h:39: error: previous definition of 'struct
sctp_chunkhdr'
gmake[1]: *** [service_scan.o] Error 1
gmake[1]: Leaving directory `/data/work/usr/ports/security/nmap/work/nmap-5.35DC1'
gmake: *** [all] Error 2
*** Error code 1

Daniel, is this a naming conflict with libdnet's own sctp_chunkhdr?
Might it have to be renamed?

Yes, looks like it.  Feel free to rename it as a quick fix, I
won't be able to take care of it the next few days, but plan to
look into it later.

-- 
Daniel Roethlisberger
http://daniel.roe.ch/
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: