freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Frediano Ziglio <freddy77 AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Compiling error on Ubuntu
- Date: Fri, 30 Jan 2015 09:28:09 +0000
2015-01-30 0:36 GMT+00:00 <sales AT minixel.com>:
> I am compiling freetds from CVS like this
> ./configure --prefix= --with-tdsver=8.0 --enable-msdblib
> --with-unixodbc=$(odbc_config --prefix) --enable-krb5
> the configure command runs fine, but the make fails, as below
>
> /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I../../include -I../../include -I/usr/include/krb5 -I/usr/include/et
> -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG
> -DSIZEOF_LONG_INT=8 -I//include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1
> -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g
> -O2 -Wdeclaration-after-statement -MT gssapi.lo -MD -MP -MF
> .deps/gssapi.Tpo -c -o gssapi.lo gssapi.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include
> -I/usr/include/krb5 -I/usr/include/et -DUNIXODBC -DHAVE_UNISTD_H
> -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8
> -I//include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wno-long-long -pthread -g -O2
> -Wdeclaration-after-statement -MT gssapi.lo -MD -MP -MF .deps/gssapi.Tpo -c
> gssapi.c -fPIC -DPIC -o .libs/gssapi.o
> gssapi.c:259:1: error: conflicting types for 'error_message'
> error_message(OM_uint32 e)
> ^
> In file included from gssapi.c:57:0:
> /usr/include/et/com_err.h:38:20: note: previous declaration of
> 'error_message' was here
> extern char const *error_message (long);
> ^
> make[4]: *** [gssapi.lo] Error 1
> make[4]: Leaving directory `/usr/src/freetds/src/tds'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/src/freetds/src/tds'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/src/freetds/src/tds'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/freetds/src'
> make: *** [all-recursive] Error 1
>
> if I do not add kerberos to the configure, it does work,
>
> Compile-time settings (established with the "configure" script)
> Version: freetds v0.92.dev.20150129
> freetds.conf directory: /etc
> MS db-lib source compatibility: yes
> Sybase binary compatibility: no
> Thread safety: yes
> iconv library: yes
> TDS version: 5.0
> iODBC: no
> unixodbc: yes
> SSPI "trusted" logins: no
> Kerberos: no
>
> However I cannot make unixODBC connect to MS SQL. Tsql, does connect fine.
> Maybe I don´t need kerberos, but, how do I troubleshoot unixodbc with
> freetds?
> I am using of course an entry in freetds.conf with
> tds version = 8.0
>
> Yours
> Federico
Hi Federico,
it's a known old issue. Yesterday I just fixed snapshot creation.
Could you try download again last snapshot (current on
http://www.freetds.org/software.html) ?
Frediano
-
[freetds] Compiling error on Ubuntu,
sales, 01/29/2015
- Re: [freetds] Compiling error on Ubuntu, Frediano Ziglio, 01/30/2015
Archive powered by MHonArc 2.6.24.