Discussion:
Compilation errors with lftp 4.5.4
Andrew Reis
2014-08-11 19:21:02 UTC
Permalink
Receiving the following errors that are stopping compilation:

lftp_ssl.cc: In constructor 'lftp_ssl_openssl::lftp_ssl_openssl(int,
lftp_ssl_base::handshake_mode_t, const char*)':
lftp_ssl.cc:835: error: 'SSL_set_tlsext_host_name' was not declared in
this scope

Versions:

gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi --disable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)

openssl version
openssl 0.9.8e-el5

ssh -V
openssh 6.6p1, openssl 1.0.1h

Any help would be appreciated.
--
ANDREW REIS | MCTS, NETWORK+, MOBILITY+
NETWORK/SYSTEMS ANALYST
_WINDOWS SUPPORT/WEBMASTER_

DBMS Inc.

_ _
Alexander V. Lukyanov
2014-08-19 09:21:27 UTC
Permalink
Post by Andrew Reis
lftp_ssl.cc: In constructor 'lftp_ssl_openssl::lftp_ssl_openssl(int,
lftp_ssl.cc:835: error: 'SSL_set_tlsext_host_name' was not declared in
this scope
openssl version
openssl 0.9.8e-el5
I think this old openssl does not define that function. You can either
upgrade openssl, compile without openssl or with GNU TLS, or comment out
the line lftp_ssl.cc:835 with the function call - it is not critically
needed.
--
Alexander.
Loading...