Skip to Content.
Sympa Menu

freetds - Re: AIX endian problems

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Mark Schaal <mark AT champ.tstonramp.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: AIX endian problems
  • Date: Mon, 10 Jul 2000 13:27:51 -0700 (PDT)


>
> 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.

Hope that helps,

Mark
--
Mark J. Schaal Phone: (909) 620-7724
TST On Ramp Fax: (909) 620-8174
System Administrator E-Mail: mark AT tstonramp.com




Archive powered by MHonArc 2.6.24.

Top of Page