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

Frank Warmerdam warmerdam at pobox.com
Wed Apr 28 20:05:43 EDT 2004


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.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the mapserver-users mailing list