[postgis-users] Re: [postgis] postgis and sgi irix 5.3
Jiøí Kastner
indy.j at seznam.cz
Wed Mar 27 11:21:41 PST 2002
dne Wed, 27 Mar 2002 09:57:40 -0800
"Dave Blasby" <dblasby at refractions.net> napsal(a):
> What kind of system (exactly) are you using? What compiler (and
> version) are you
> using? If you're not using GCC, you might want to try that.
i have ansi c compiler from sgi irix 5.3 ido (integr. devel. option)
cdrom. can i use gcc 2.95.3 if postgresql was compiled with ansi c from
sgi?
> #define BYTE_ORDER LITTLE_ENDIAN
cfe: Error: postgis_debug.c, line 212: 'BIG_ENDIAN' undefined;
reoccurrences will not be reported. if (BIG_ENDIAN ==
LITTLE_ENDIAN) ----^
cfe: Error: postgis_debug.c, line 219: 'BIG_ENDIAN' undefined;
reoccurrences will not be reported. if (BIG_ENDIAN ==
LITTLE_ENDIAN) ----^
cfe: Error: postgis_debug.c, line 282: 'BIG_ENDIAN' undefined;
reoccurrences will not be reported. if (BIG_ENDIAN ==
LITTLE_ENDIAN) ----^
cfe: Error: postgis_debug.c, line 289: 'BIG_ENDIAN' undefined;
reoccurrences will not be reported. if (BIG_ENDIAN ==
LITTLE_ENDIAN)
that's what i got :(
using gcc a get similar output:
postgis_debug.c: In function `decode_wkb_collection':
postgis_debug.c:212: `BIG_ENDIAN' undeclared (first use in this
function)
postgis_debug.c:212: (Each undeclared identifier is reported
only once
postgis_debug.c:212: for each function it appears in.)
postgis_debug.c:212: `LITTLE_ENDIAN' undeclared (first use in this
function)
postgis_debug.c: In function `decode_wkb':
postgis_debug.c:282: `BIG_ENDIAN' undeclared (first use in this
function)
postgis_debug.c:282: `LITTLE_ENDIAN' undeclared (first use in
this function)
> If you tell me what endian your machine is, I'll try to automagically
> set it
> in the Makefile for future versions.
i have sgi indy mips r4600: bigendian - i think :-)
More information about the postgis-users
mailing list