Skip to Content.
Sympa Menu

freetds - configure error on SunOS

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: bocavik AT yahoo.com
  • To: freetds AT franklin.oit.unc.edu
  • Subject: configure error on SunOS
  • Date: Thu, 1 Aug 2002 17:36:30 -0400


the configure script ends with this error, please help
thanks, Fred


configure:5835: gcc -c -g -O2 conftest.c 1>&5
configure: In function `main':
configure:5830: `bogus' undeclared (first use in this function)
configure:5830: (Each undeclared identifier is reported only once
configure:5830: for each function it appears in.)
configure:5830: parse error before "endian"
configure: failed program was:
#line 5824 "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:5883: gcc -o conftest -g -O2 conftest.c 1>&5
configure: failed program was:
#line 5870 "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);
}



  • configure error on SunOS, bocavik, 08/01/2002

Archive powered by MHonArc 2.6.24.

Top of Page