[postgis] postgis and sgi irix 5.3

Paul Ramsey pramsey at refractions.net
Sun Mar 24 18:05:21 PST 2002


I made some minor changes to the CVS version in the places flagged,
removing some ' symbols and possibly confusing comment locations. If you
try the CVS version, you might get a better result.

JiXX Kastner wrote:
> 
> i have problems with compilation  (IRIX 5.3, ANSI C compiler, or gcc)
> when i type gmake i'll get this:
> cc  -woff 1164,1171,1185,1195,1552  -g  -I. -I../../src/include  -U_NO_XOPEN4 -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -c -o postgis_debug.o postgis_debug.c
> cfe: Error: ./postgis.h: 190: Unterminated string or character constant
> cfe: Warning 594: postgis_debug.c: 41: #ifdef accepts only one identifier as parameter
> cfe: Warning 596: postgis_debug.c: 43: text following #endif violates the ANSI C standard.
> gmake: *** [postgis_debug.o] Error 1
> 
> in postgis_debug.c is:
> 
> #ifdef __CYGWIN__
> #include <sys/param.h>
> #endif
> 
> #define SHOW_DIGS_DOUBLE 15
> #define MAX_DIGS_DOUBLE (SHOW_DIGS_DOUBLE + 6 + 1 + 3 +1)
> 
> #define DEBUG_GIST
> #define DEBUG_GIST2
> 
> OR:
> 
> postgis_debug.c: In function `decode_wkb_collection':
> postgis_debug.c:214: `BYTE_ORDER' undeclared (first use in this function)
> postgis_debug.c:214: (Each undeclared identifier is reported only once
> postgis_debug.c:214: for each function it appears in.)
> postgis_debug.c:214: `LITTLE_ENDIAN' undeclared (first use in this function)
> postgis_debug.c: In function `decode_wkb':
> postgis_debug.c:283: `BYTE_ORDER' undeclared (first use in this function)
> postgis_debug.c:283: `LITTLE_ENDIAN' undeclared (first use in this function)
> gmake: *** [postgis_debug.o] Error 1
> 
> 
> To unsubscribe from this group, send an email to:
> postgis-unsubscribe at yahoogroups.com
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Tiny Wireless Camera under $80!
Order Now! FREE VCR Commander!
Click Here - Only 1 Day Left!
http://us.click.yahoo.com/nuyOHD/7.PDAA/yigFAA/PhFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
postgis-unsubscribe at yahoogroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 





More information about the postgis-users mailing list