Skip to Content.
Sympa Menu

freetds - [freetds] compile problem between tds.h and sybdb.h

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Shaun Craig <s.craig AT andronics.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] compile problem between tds.h and sybdb.h
  • Date: Fri, 5 Nov 2004 14:20:20 +0000

hi,

i was working on the last stable vesion of freetds, version 0.62.4 and my
compiles were ok, but when i took a recent snapshot and installed and compile
i get the following error, im sure someone may have come across this problem
before, any help would be great.

gcc -c gprs_db.c
In file included from gprs.h:24,
from gprs_db.c:1:
/freetds-0.63.dev.20041029/include/tds.h:354: error: conflicting types for
`SYBCHAR'
/usr/local/include/sybdb.h:152: error: previous declaration of `SYBCHAR'
/freetds-0.63.dev.20041029/include/tds.h:356: error: conflicting types for
`SYBVARCHAR'
/usr/local/include/sybdb.h:154: error: previous declaration of `SYBVARCHAR'
/freetds-0.63.dev.20041029/include/tds.h:358: error: conflicting types for
`SYBINTN'
/usr/local/include/sybdb.h:156: error: previous declaration of `SYBINTN'
/freetds-0.63.dev.20041029/include/tds.h:360: error: conflicting types for
`SYBINT1'
/usr/local/include/sybdb.h:158: error: previous declaration of `SYBINT1'
/freetds-0.63.dev.20041029/include/tds.h:362: error: conflicting types for
`SYBINT2'
/usr/local/include/sybdb.h:160: error: previous declaration of `SYBINT2'
/freetds-0.63.dev.20041029/include/tds.h:364: error: conflicting types for
`SYBINT4'
/usr/local/include/sybdb.h:162: error: previous declaration of `SYBINT4'
/freetds-0.63.dev.20041029/include/tds.h:366: error: conflicting types for
`SYBINT8'
/usr/local/include/sybdb.h:164: error: previous declaration of `SYBINT8'
/freetds-0.63.dev.20041029/include/tds.h:368: error: conflicting types for
`SYBFLT8'
/usr/local/include/sybdb.h:166: error: previous declaration of `SYBFLT8'
/freetds-0.63.dev.20041029/include/tds.h:370: error: conflicting types for
`SYBDATETIME'
/usr/local/include/sybdb.h:168: error: previous declaration of `SYBDATETIME'
/freetds-0.63.dev.20041029/include/tds.h:372: error: conflicting types for
`SYBBIT'
/usr/local/include/sybdb.h:170: error: previous declaration of `SYBBIT'
/freetds-0.63.dev.20041029/include/tds.h:374: error: conflicting types for
`SYBTEXT'
/usr/local/include/sybdb.h:172: error: previous declaration of `SYBTEXT'
/freetds-0.63.dev.20041029/include/tds.h:378: error: conflicting types for
`SYBIMAGE'
/usr/local/include/sybdb.h:174: error: previous declaration of `SYBIMAGE'
/freetds-0.63.dev.20041029/include/tds.h:380: error: conflicting types for
`SYBMONEY4'
/usr/local/include/sybdb.h:176: error: previous declaration of `SYBMONEY4'
/freetds-0.63.dev.20041029/include/tds.h:382: error: conflicting types for
`SYBMONEY'
/usr/local/include/sybdb.h:178: error: previous declaration of `SYBMONEY'
/freetds-0.63.dev.20041029/include/tds.h:384: error: conflicting types for
`SYBDATETIME4'
/usr/local/include/sybdb.h:180: error: previous declaration of `SYBDATETIME4'
/freetds-0.63.dev.20041029/include/tds.h:386: error: conflicting types for
`SYBREAL'
/usr/local/include/sybdb.h:182: error: previous declaration of `SYBREAL'
/freetds-0.63.dev.20041029/include/tds.h:388: error: conflicting types for
`SYBBINARY'
/usr/local/include/sybdb.h:184: error: previous declaration of `SYBBINARY'
/freetds-0.63.dev.20041029/include/tds.h:392: error: conflicting types for
`SYBVARBINARY'
/usr/local/include/sybdb.h:186: error: previous declaration of `SYBVARBINARY'
/freetds-0.63.dev.20041029/include/tds.h:398: error: conflicting types for
`SYBNUMERIC'
/usr/local/include/sybdb.h:188: error: previous declaration of `SYBNUMERIC'
/freetds-0.63.dev.20041029/include/tds.h:400: error: conflicting types for
`SYBDECIMAL'
/usr/local/include/sybdb.h:190: error: previous declaration of `SYBDECIMAL'
/freetds-0.63.dev.20041029/include/tds.h:402: error: conflicting types for
`SYBFLTN'
/usr/local/include/sybdb.h:192: error: previous declaration of `SYBFLTN'
/freetds-0.63.dev.20041029/include/tds.h:404: error: conflicting types for
`SYBMONEYN'
/usr/local/include/sybdb.h:194: error: previous declaration of `SYBMONEYN'
/freetds-0.63.dev.20041029/include/tds.h:406: error: conflicting types for
`SYBDATETIMN'
/usr/local/include/sybdb.h:198: error: previous declaration of `SYBDATETIMN'
make: *** [gprs_db.o] Error 1




Archive powered by MHonArc 2.6.24.

Top of Page