[Gdal-dev] Compiling gdal 1.2.0 with static-proj4

Nicol Hermann gdal at geoworld.de
Tue May 18 12:54:02 EDT 2004


Hi List,

i trying to compile gdal 1.2.0 with the following configure statement on
my Debian 3.0r2 box:
./configure --with-static-proj4=/usr/local --without-ld-shared

gcc/g++ --version is 2.95.4

During the make process i get the following error:

ogrct.cpp:210: warning: garbage at end of `#ifdef' argument
ogrct.cpp: In function `int LoadProjLibrary()':
ogrct.cpp:211: `pj_get_def' undeclared (first use this function)
ogrct.cpp:211: (Each undeclared identifier is reported only once
ogrct.cpp:211: for each function it appears in.)
make[1]: *** [ogrct.o] Fehler 1
make[1]: Leaving directory `/tmp/gdal/gdal-1.2.0/ogr'
make: *** [ogr-target] Fehler 2

Any clues how to fix this?
The same error appears with the CVS Version.

Many thanks
Nicol
-- 




More information about the Gdal-dev mailing list