[Mapserver-users] mapserver with gdal: compile error

Schnider Markus msr at sourcepole.com
Tue Feb 17 11:07:01 EST 2004


Hi all

I've tried to compile mapserver 4.0.1 with gdal support on debian.

The configure arguments are:

./configure \
--with-httpd=/usr/sbin/apache  \
--with-gd  \
--with-eppl  \
--with-proj  \
--with-postgis  \
--with-sde=<path/to/arcsde>  \
--with-sde-version=82  \
--with-ming  \
--with-php=<path/to/php/sources> \
--with-gdal

I've also tried to disable jpeg and tiff, or set the path of gdal.

Nothing has changed, always the same error:
./libmap.a(mapogr.o)(.text+0x50): In function 
`msOGRSpatialRef2ProjectionObj(OGRSpatialReference*, projectionObj*, int)':
: undefined reference to `OGRSpatialReference::IsLocal() const'
./libmap.a(mapogr.o)(.text+0x6a): In function 
`msOGRSpatialRef2ProjectionObj(OGRSpatialReference*, projectionObj*, int)':
: undefined reference to `OGRSpatialReference::exportToProj4(char**) const'
./libmap.a(mapogr.o)(.text+0x119): In function `msOGCWKT2ProjectionObj':
: undefined reference to `OGRSpatialReference::OGRSpatialReference[in-charge]
(char const*)'
./libmap.a(mapogr.o)(.text+0x12e): In function `msOGCWKT2ProjectionObj':
: undefined reference to `OGRSpatialReference::importFromWkt(char**)'
./libmap.a(mapogr.o)(.text+0x158): In function `msOGCWKT2ProjectionObj':
: undefined reference to `OGRSpatialReference::~OGRSpatialReference 
[in-charge]()'
./libmap.a(mapogr.o)(.text+0x18c): In function `msOGCWKT2ProjectionObj':
: undefined reference to `OGRSpatialReference::~OGRSpatialReference 
[in-charge]()'
./libmap.a(mapogr.o)(.text+0x19a): In function `msOGCWKT2ProjectionObj':
: undefined reference to `OGRSpatialReference::~OGRSpatialReference 
[in-charge]()'
collect2: ld returned 1 exit status
make: *** [shp2img] Fehler 1




More information about the mapserver-users mailing list