Nmap Development mailing list archives

Re: applink.c not found during static building


From: David Fifield <david () bamsoftware com>
Date: Mon, 12 Nov 2012 22:04:07 -0800

On Sun, Nov 11, 2012 at 11:49:42PM +0100, Alfredo Esteban wrote:
I'm trying to generate a ncat portable version following these steps:

https://secwiki.org/w/Nmap/Ncat_Portable

However, when I build ncat I get an error:

ncat_ssl.c(109): fatal error C1083: No se puede abrir el archivo incluir:
'openssl/applink.c': No such file or directory

So I remove the inclusion of applink in ncat_ssl.c and it compiled without
error but the resulting .exe file doesn't work:

ncat.exe -l 8001
setsockopt: No error

In fact, it's the same error I got the first time I tried to compile a
portable version of ncat:

http://seclists.org/nmap-dev/2011/q3/208

I'm not sure why applink.c doesn't exist for you. I don't know if this
will work, but you might try checking out a prebuilt OpenSSL:
        svn checkout https://svn.nmap.org/nmap-mswin32-aux
I checked and applink.c is present there.

I think that the Ncat Portable instructions haven't been updated since
we removed the mswin32/OpenSSL directory from the nmap directory. You
might have to install your compiled OpenSSL in a different place.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: