Skip to Content.
Sympa Menu

freetds - freetds-0.40 on Solaris/Sparc (fwd)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT umcc.ais.org>
  • To: freetds AT franklin.oit.unc.edu
  • Cc: martin AT quickstep.cologne.de
  • Subject: freetds-0.40 on Solaris/Sparc (fwd)
  • Date: Tue, 24 Nov 1998 21:08:11 -0500 (EST)



Martin, I am forwarding this message to the mailing list
(http://franklin.oit.unc.edu/cgi-bin/lyris.pl?enter=freetds)
I currently don't have access to any Sparc boxes to try this, but I have
run it under PowerPC (AIX 4.x), with good results.

Maybe someone on the list has experience with Sun.


Brian

---------- Forwarded message ----------
Date: Tue, 24 Nov 1998 23:37:29 +0100 (MET)
From: Martin Spott <martin AT quickstep.cologne.de>
Reply-To: mas AT plesnik.de
To: camber AT ais.org
Subject: freetds-0.40 on Solaris/Sparc

Brian, I have the impression that freetds' configure isn't designed for
big-endian CPU's. From config.log, trying to compile freetds-0.40 on "SunOS
foehn 5.5.1 Generic sun4m sparc":

configure:1636: checking whether byte ordering is bigendian
configure:1654: gcc -c conftest.c 1>&5
configure: In function ain':
configure:1649: ogus' undeclared (first use in this function)
configure:1649: (Each undeclared identifier is reported only once
configure:1649: for each function it appears in.)
configure:1649: parse error before ndian'
configure: failed program was:
#line 1643 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {

#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
bogus endian macros
#endif
; return 0; }
configure:1702: gcc -o conftest conftest.c 1>&5
configure: failed program was:
#line 1689 "configure"
#include "confdefs.h"
main () {
/* Are we little or big endian? From Harbison&Steele. */
union
{
long l;
char c[sizeof (long)];
} u;
u.l = 1;
exit (u.c[sizeof (long) - 1] == 1);
}


Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------





Archive powered by MHonArc 2.6.24.

Top of Page