Skip to Content.
Sympa Menu

freetds - RE: [freetds] Error: FreeTDS+WINE

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO Frediano" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Error: FreeTDS+WINE
  • Date: Wed, 24 Sep 2003 14:29:07 +0200

> ...
> > This patch should solve the problem. However I don't
> understand why a
> > ODBC3 client should use a ODBC2 only attribute...
> >
> > I hope the attach will arrive...
> >
> > freddy77
>
> Freddy,
>
> Thanks for the patch.
> After applying it, I get this error during compilation:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -I/usr/local/iodbc/include -D_FREETDS_LIBRARY_SOURCE -DIODBC
> -DMSDBLIB -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall
> -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c odbc.c -MT
> odbc.lo -MD -MP -MF .deps/odbc.TPlo -fPIC -DPIC -o .libs/odbc.lo
> odbc.c: In function `odbc_col_setname':
> odbc.c:158: warning: unused variable `resinfo'
> odbc.c: In function `_SQLGetStmtAttr':
> odbc.c:2924: duplicate case value
> odbc.c:2923: previously used here
> odbc.c: In function `_SQLSetStmtAttr':
> odbc.c:4744: duplicate case value
> odbc.c:4743: previously used here
> make[3]: ** [odbc.lo] Error 1
>

James fix this issue in CVS.

> Also, regarding the libiodbcinst.so linking issue, the error
> persists after the patch you applied to configure.in
> yesterday... here is what
> happens:
>
> /bin/sh ../../libtool --mode=link gcc -g -O2
> -L/usr/local/iodbc/lib -o libtds.la -rpath
> /usr/local/freetds-iodbc-cvs/lib -version-info 2:0:0
> libtds_objects.la -lnsl -liodbcinst
> ../replacements/libreplacements.la
> rm -fr .libs/libtds.la .libs/libtds.* .libs/libtds.*
> gcc -shared -Wl,--whole-archive ./.libs/libtds_objects.al
> ../replacements/.libs/libreplacements.al -Wl,--no-whole-archive
> -Wl,--rpath -Wl,/usr/local/iodbc/lib -Wl,--rpath
> -Wl,/usr/local/iodbc/lib -L/usr/local/iodbc/lib -lnsl
> /usr/local/iodbc/lib/libiodbcinst.so
> -Wl,-soname -Wl,libtds.so.2 -o .libs/libtds.so.2.0.0
>

I didn't fix odbcinst error. This row is quite strange. It build libTDS
using libiodbcinst.so... I don't understand why...

> #$ ldd ~/src/cvs/freetds/src/odbc/.libs/libtdsodbc.so.0.0.0
> libnsl.so.1 => /lib/libnsl.so.1 (0x40060000)
> libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
> libdl.so.2 => /lib/libdl.so.2 (0x40076000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
>
> Regards,
> Rainer
>

I'm still getting some problems with my ISP and there are some problems
too:
- snapshot seem not run yesterday
- CVS web on SF is yesterday (I'm using it with CVSGrab to sync CVS
behind a firewall)
- CVS backup is 4-day old

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page