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

Benjamin Thelen thelen at ccgis.de
Wed Apr 28 14:13:09 EDT 2004


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



Installing gdal-1.1.9 from source does solve the error! Btw, is there 
a "make uninstall" or something like that, available for gdal?



Regards,
Benjamin

---------------------------------
CCGIS GbR - Bonn
http://www.ccgis.de

Siemensstraße 8
53121 Bonn
Germany

Tel: ++49 (0) 228 90826 15
Fax: ++49 (0) 228 90826 11



More information about the mapserver-users mailing list