[postgis-users] Compilation error in Postgis-0.7.5 setting USE_PROJ=1

Stefano Perona sperona1 at tin.it
Tue Nov 18 07:21:10 PST 2003


Hi, my name is Stefano

If i try to compile (SuSE Linux 8.2, gcc version: 3.3-23) Postgis-0.7.5 with 
Proj support and with the right path to my Proj-4.4.7 directory set in the 
makefile , i have this compilation error:


Stefano at linux:~/postgresql-7.3.2/contrib/postgis-0.7.5> make
gcc -O3 -mcpu=athlon-xp -Wall -Wmissing-prototypes -Wmissing-declarations 
-fpic -g -I/home/Stefano/include -I. -I../../src/include  -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql/etc"' -DUSE_PROJ -DUSE_VERSION=73  -c -o 
postgis_transform.o postgis_transform.c
postgis_transform.c: In function `pj_transform_nodatum':
postgis_transform.c:54: error: structure has no member named `is_latlong'
postgis_transform.c:73: error: structure has no member named `is_latlong'
postgis_transform.c: In function `transform_geom':
postgis_transform.c:251: error: structure has no member named `is_latlong'
postgis_transform.c:257: warning: implicit declaration of function 
`pj_transform'
postgis_transform.c:278: error: structure has no member named `is_latlong'
postgis_transform.c:293: error: structure has no member named `is_latlong'
postgis_transform.c:319: error: structure has no member named `is_latlong'
postgis_transform.c:325: error: structure has no member named `is_latlong'
postgis_transform.c:353: error: structure has no member named `is_latlong'
postgis_transform.c:366: error: structure has no member named `is_latlong'
postgis_transform.c:396: error: structure has no member named `is_latlong'
make: *** [postgis_transform.o] Error 1
Stefano at linux:~/postgresql-7.3.2/contrib/postgis-0.7.5>


Btw, with USE_PROJ=0, Postgis is compiled without error messages.

Can you give me some hints? Thanks in advance!

Stefano Perona



More information about the postgis-users mailing list