Nmap Development mailing list archives

Current SVN fails to build / link on CentOS 5.5


From: "Thomas Buchanan" <TBuchanan () thecompassgrp net>
Date: Wed, 18 Aug 2010 13:32:36 -0500

Hello,

While trying to compile and test a recent SVN build (rev 19863), I
noticed the following failure on a CentOS 5.5 box:

gcc -o ncat -g -O2 -Wall  ncat_main.o ncat_connect.o ncat_core.o
ncat_posix.o ncat_listen.o ncat_proxy.o ncat_broker.o ncat_hostmatch.o
ncat_ssl.o base64.o http.o util.o sys_wrap.o http_digest.o
../nsock/src/libnsock.a ../nbase/libnbase.a -lssl -lcrypto -lpcap -lssl
-lcrypto -ldl
../nsock/src/libnsock.a(nsock_core.o): In function
`handle_connect_result':
/home/tbuchanan/dev/svn/nmap/nsock/src/nsock_core.c:423: undefined
reference to `SSL_set_tlsext_host_name'
collect2: ld returned 1 exit status
make[1]: *** [ncat] Error 1
make[1]: Leaving directory `/home/tbuchanan/dev/svn/nmap/ncat'
make: *** [ncat_build] Error 2

This also happens with nping and ncrack, at least.

g++   -o nping ArgParser.o NetworkLayerElement.o PacketElement.o
common.o common_modified.o nping.o RawData.o UDPHeader.o  NpingOps.o
TCPHeader.o utils.o utils_net.o IPv4Header.o ICMPv4Header.o IPv6Header.o
output.o TransportLayerElement.o stats.o NpingTargets.o NpingTarget.o
EthernetHeader.o ARPHeader.o EchoHeader.o  ../nbase/libnbase.a
../nsock/src/libnsock.a ../libnetutil/libnetutil.a -lpcap -lssl -lcrypto
../libdnet-stripped/src/.libs/libdnet.a -ldl  -lpthread
../nsock/src/libnsock.a(nsock_core.o): In function
`handle_connect_result':
/home/tbuchanan/dev/svn/nmap/nsock/src/nsock_core.c:423: undefined
reference to `SSL_set_tlsext_host_name'
collect2: ld returned 1 exit status
make[1]: *** [nping] Error 1
make[1]: Leaving directory `/home/tbuchanan/dev/svn/nmap/nping'
make: *** [all] Error 2

Apologies for any wrapping errors in the previous lines.

I believe I have all the necessary devel RPMS installed, as nmap-5.35DC1
compiles and links just fine.  I can provide specific package version
information if necessary.

Thanks for any suggestions on this.

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


Current thread: