Home page logo

nmap-dev logo 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.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 
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
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]