Skip to Content.
Sympa Menu

freetds - Endian Problems on Sparc

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Kevin <kevin AT nol.org>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Endian Problems on Sparc
  • Date: Sat, 30 Jan 1999 00:12:50 +0000


Before anyone else yells, I know the code snippet I posted a bit ago
is
off a bit...just trying to get the general idea across, sorry all :)

I've been trying to work with the current CVS checkout of libtds, and
seem to be having a strange problem...network byte order seems to be
backwards. Configure is catching that I'm on a big endian machine and
make allways has a -DHW_BIG_ENDIAN=1 flag on compilation. I compiled
with --with-tdsver=4.2 as well.
Yet, when I do a packet dump, I'm getting everything in little endian.
Now, I'm sure it's something I did, but just to be safe, and if anyone
knows, please tell me. However, I noticed a large number of changes in
the way that the login is being sent...there's a few more things being
sent before the endianness in the new version, and it's been changed
from magic3[] (in v40) to magic4[] (current CVS). Anyone else have any
problems like this?

-- Kevin
-----------------------------------------------------------------------
Kevin M. Lyons Phone: (402)-471-7870 Email: kevin AT nol.org
No matter what happens, somebody will find a way to take it way too
seriously - Dave Barry
-----------------------------------------------------------------------



  • Endian Problems on Sparc, Kevin, 01/29/1999

Archive powered by MHonArc 2.6.24.

Top of Page