[Mapserver-users] Info: compiling 4.2b on FreeBSD fails

Eric Bridger eric at gomoos.org
Fri Apr 30 11:28:22 EDT 2004


On Wed, 2004-04-28 at 20:05, Frank Warmerdam wrote:
> Benjamin Thelen wrote:
> > Hi,
> > 
> > I found out that mapserver 4.2b does not compile on FreeBSD 4.9 with 
> > gdal-1.1.8_1 installed from ports-collection and proj support requested. 
> > It fails with the following error message.
> > 
> > 
> > /usr/lib/libg2c.so.1: warning: tempnam() possibly used unsafely; 
> > consider using mkstemp()
> > ./libmap.a(mapwfs.o): In function `msWFSParseRequest':
> > mapwfs.o(.text+0x1ae3): undefined reference to `CPLStripXMLNamespace'
> > ./libmap.a(mapogcfilter.o): In function `FLTShapeFromGMLTree':
> > mapogcfilter.o(.text+0x55): undefined reference to 
> > `OGR_G_CreateFromGMLTree'
> > ./libmap.a(mapogcfilter.o): In function `FLTParseFilterEncoding':
> > mapogcfilter.o(.text+0x1122): undefined reference to `CPLStripXMLNamespace'
> > mapogcfilter.o(.text+0x1132): undefined reference to `CPLStripXMLNamespace'
> > ./libmap.a(mapogcsld.o): In function `msSLDParseSLD':
> > mapogcsld.o(.text+0x491): undefined reference to `CPLStripXMLNamespace'
> > mapogcsld.o(.text+0x4a4): undefined reference to `CPLStripXMLNamespace'
> > mapogcsld.o(.text+0x4ba): undefined reference to `CPLStripXMLNamespace'
> > gmake: *** [shp2img] Error 1
> 
> Benjamin,
> 
> Indeed 1.1.8 is ancient now.
> 
> > Installing gdal-1.1.9 from source does solve the error! Btw, is there a 
> > "make uninstall" or something like that, available for gdal?
> 
> There is no make uninstall option for GDAL.

We face the same issue and use gdal/ogr only within mapserver. Any
reason to avoid gdal-1.2.0?





More information about the mapserver-users mailing list