[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetds
Subject:    [freetds] configure error on SunOS
From:       bocavik () yahoo ! com
Date:       2002-08-01 21:36:30
[Download RAW message or body]

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);
}

---
You are currently subscribed to freetds as: [freetds@progressive-comp.com]
To unsubscribe, forward this message to leave-freetds-113879Q@franklin.oit.unc.edu
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic