freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] Unable to compile Freetds with OpenSSL 1.1.X
- From: nik mur <nikhil6018 AT gmail.com>
- To: freetds AT lists.ibiblio.org
- Subject: [freetds] Unable to compile Freetds with OpenSSL 1.1.X
- Date: Sat, 11 Feb 2017 05:11:48 +0000
This my first message to the list, very happy to do so.
While compiling freetds with OpenSSL 1.1.0d I am receiving the following
errors which I am unable to debug or make sense even after googling for
hours
Here is the error string (i am really sorry but the error string is very
long) :
tls.c: In function 'tds_pull_func_login':
tls.c:83: error: dereferencing pointer to incomplete type
tls.c: In function 'tds_push_func_login':
tls.c:114: error: dereferencing pointer to incomplete type
tls.c: In function 'tds_pull_func':
tls.c:126: error: dereferencing pointer to incomplete type
tls.c: In function 'tds_push_func':
tls.c:149: error: dereferencing pointer to incomplete type
tls.c: In function 'tds_ssl_ctrl_login':
tls.c:551: error: dereferencing pointer to incomplete type
---------------------------------------------------------------
tls.c:569: error: variable 'tds_method_login' has initializer but
incomplete type
tls.c:571: warning: excess elements in struct initializer
tls.c:571: warning: (near initialization for 'tds_method_login')
---------------------------------------------------------------
tls.c:580: warning: (near initialization for 'tds_method_login')
tls.c:583: error: variable 'tds_method' has initializer but incomplete type
----------------------------------------------------------------
tls.c: In function 'tds_init_openssl':
tls.c:611: warning: 'TLSv1_client_method' is deprecated (declared at
/usr/local/apps/include/openssl/ssl.h:1598)
tls.c: In function 'check_alt_names':
tls.c:747: warning: 'ASN1_STRING_data' is deprecated (declared at
/usr/local/apps/include/openssl/asn1.h:553)
tls.c: In function 'tds_ssl_init':
----------------------------------------------------------------
tls.c:887: error: dereferencing pointer to incomplete type
tls.c:887: error: 'SSL_ST_OK' undeclared (first use in this function)
tls.c:887: error: (Each undeclared identifier is reported only once
tls.c:887: error: for each function it appears in.)
----------------------------------------------------------------
In case if something is wrong with my configure command you can check it
below :
LDFLAGS="-L$PPS_PATH/lib" CPPFLAGS="-I$PPS_PATH/include" ./configure
--prefix=$PPS_PATH \
--enable-shared \
--with-libiconv-prefix=$PPS_PATH \
--with-openssl=$PPS_PATH && make && make install >> $LOG 2>&1
Also you can check my openssl configure command below :
LDFLAGS="-L$PPS_PATH/lib" CPPFLAGS="-I$PPS_PATH/include" ./config
--prefix=$PPS_PATH \
--openssldir=$PPS_PATH/etc/openssl shared && make && make install >> $LOG
2>&1
-
[freetds] Unable to compile Freetds with OpenSSL 1.1.X,
nik mur, 02/11/2017
-
Re: [freetds] Unable to compile Freetds with OpenSSL 1.1.X,
Frediano Ziglio, 02/11/2017
-
Re: [freetds] Unable to compile Freetds with OpenSSL 1.1.X,
nik mur, 02/13/2017
-
Re: [freetds] Unable to compile Freetds with OpenSSL 1.1.X,
Frediano Ziglio, 02/14/2017
- Re: [freetds] Unable to compile Freetds with OpenSSL 1.1.X, nik mur, 02/14/2017
-
Re: [freetds] Unable to compile Freetds with OpenSSL 1.1.X,
Frediano Ziglio, 02/14/2017
-
Re: [freetds] Unable to compile Freetds with OpenSSL 1.1.X,
nik mur, 02/13/2017
-
Re: [freetds] Unable to compile Freetds with OpenSSL 1.1.X,
Frediano Ziglio, 02/11/2017
Archive powered by MHonArc 2.6.24.