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: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Error: FreeTDS+WINE
  • Date: Tue, 23 Sep 2003 13:45:07 -0400

> From: Rainer [mailto:sourceforge AT powered.net]
> Sent: September 23, 2003 12:53 PM
>
> 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

I had the same problem. Comment out lines 158, 2923, and 4743 for now.

The lastest revision of src/odbc/odbc.c is 1.250. If you tell me the
revision number of the file you patched, I can post one to bring it up to
date. The attached uses 1.247 (available via anonymous CVS) as a base.

--jkl

-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the original
message. Please note that we do not accept account orders and/or instructions
by e-mail, and therefore will not be responsible for carrying out such orders
and/or instructions.

Attachment: odbc.c-1.247-to-1.250.diff
Description: Binary data




Archive powered by MHonArc 2.6.24.

Top of Page