Nmap Development mailing list archives
Re: Nmap-4.85BETA9 compilation problems
From: David Fifield <david () bamsoftware com>
Date: Fri, 5 Jun 2009 20:16:11 -0600
On Sat, May 30, 2009 at 12:32:02PM +0200, Jaroslav Fojtik wrote:
Dears nmap developpers, nmap-4.76 gets compiled without any problem. I am facing this problem during nmap-4.85BETA9 compilation: -------------------------------------------------------------- make[1]: Entering directory `/USR_SRC/nmap-4.85BETA9/ncat' gcc -I../libpcap -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" - D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -g -O2 -c ncat_ssl.c -o ncat_ssl.o ncat_ssl.c: In function `cert_match_dnsname': ncat_ssl.c:130: structure has no member named `it' ncat_ssl.c:133: structure has no member named `it' ncat_ssl.c:133: warning: assignment makes pointer from integer without a cast ncat_ssl.c:137: warning: passing arg 2 of pointer to function from incompatible pointer type make[1]: *** [ncat_ssl.o] Error 1 make[1]: Target `all' not remade because of errors. make[1]: Leaving directory `/USR_SRC/nmap-4.85BETA9/ncat' --------------------------------------------------------------
Thank you for this report. I think that this happens with OpenSSL before version 0.9.7. What version of OpenSSL do you have? Anyway, my OpenSSL book recommends conditional compilation with OPENSSL_VERSION_NUMBER to solve this, so that what I did in r13563. It is basically the same as the change you suggested, however I don't have an old version of OpenSSL to test with. 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.85BETA9 compilation problems Jaroslav Fojtik (May 30)
- Re: Nmap-4.85BETA9 compilation problems David Fifield (Jun 05)
- Re: Nmap-4.85BETA9 compilation problems Jaroslav Fojtik (Jun 06)
- Re: Nmap-4.85BETA9 compilation problems David Fifield (Jun 06)
- Re: Nmap-4.85BETA9 compilation problems Jaroslav Fojtik (Jun 06)
- Re: Nmap-4.85BETA9 compilation problems David Fifield (Jun 05)