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

Shaun Craig s.craig at andronics.com
Fri Nov 5 10:20:19 EST 2004


On Friday 05 November 2004 15:15, ZIGLIO, Frediano, VF-IT wrote:
> > 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'
>
> Do not include sybdb.h and tds.h...
>
> freddy77

think i need sybdb.h and tds.h cause im using dblib and connection pooling, 
maybe im wrong?
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds


More information about the FreeTDS mailing list