[postgis-devel] Unable to compile PostGIS 2.0 under Solaris x86 - BYTE_ORDER undeclared

Sandro Santilli strk at keybit.net
Thu May 26 07:54:10 PDT 2011


On Thu, May 26, 2011 at 02:38:12PM +0000, Hecox, Brad wrote:
> Hi,  
> 
> In attempting to compile the latest build of 2.0 (revision 7254) we are receiving errors with regards to determining the BYTE_ORDER:
> 
> Any ideas?  Thanks!

Try including sys/types.h from lwout_wkb.c
I have also endian.h, but dunno if that's expected to be present on
all supported systems.

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list