Skip to Content.
Sympa Menu

freetds - Re: AIX endian problems

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Geoff Winkless" <geoff AT farmline.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: AIX endian problems
  • Date: Tue, 11 Jul 2000 11:19:19 +0100


"Mark Schaal" <mark AT champ.tstonramp.com> writes:
> > I've compiled the tds library on AIX 4.3.2. This is big endian
hardware.
> >
> > Autoconf defines both HW_BIG_ENDIAN and WORDS_BIGENDIAN.
> >
> > While the tds unittests all report success, the "sample" tdstest.c
> > program fails. The dumps all include the following message:
> >
> > The token datastream length was not correct. This is an internal
> > protocol error.
> [...]
> > Thanks,
> >
> > Tom
>
> If you pass the unittests you should be okay. There are some
> endian issues with TDS7.0 on big endian hardware for certain
> data types, but I believe that should be the only problem case.
>
> Oddly, I couldn't find your error message anywhere in the freeTDS
> files.

Hmm. The last time I had that symptom (error messages that aren't in the
code) I ended up realising that I was running the wrong libraries.

Check that you're linking to freetds, not (eg) Sybase's libs.

Geoff





Archive powered by MHonArc 2.6.24.

Top of Page