freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Unable to compile Freetds with OpenSSL 1.1.X
- From: nik mur <nikhil6018 AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Unable to compile Freetds with OpenSSL 1.1.X
- Date: Mon, 13 Feb 2017 07:53:36 +0000
Seems like I will be stuck on OpenSSL 1.0.X for a while.
On Sat, Feb 11, 2017 at 7:40 PM Frediano Ziglio <freddy77 AT gmail.com> wrote:
> 2017-02-11 5:11 GMT+00:00 nik mur <nikhil6018 AT gmail.com>:
> > 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
>
>
> Looks like they decided to entirely break the ABI from 1.0 to 1.1...
> Not impossible to solve, just tedious and take some time. One reason I
> prefer GnuTLS.
> Patches are welcome!
>
> Frediano
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
-
[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.