undefined reference to `CPLSearchXMLNode' - compiling mapserver-4.8.1

Alessandro Pasotti ale.pas at TISCALI.IT
Thu Mar 16 10:20:02 EST 2006


Hello,

it's not the first time I compile this release, but on an "old" mandrake linux 
10.0 it fails with this message:

gcc -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  -DHAVE_VSNPRINTF -DNEED_STRLCAT  
-DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR         -DUSE_GD_GIF -DUSE_GD_PNG 
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR 
-DGD_HAS_GETBITMAPFONTS -DUSE_PDF   -DUSE_OGR -DUSE_GDAL  -DUSE_ICONV 
-DUSE_FASTCGI   -DUSE_POSTGIS -DUSE_MYGIS   -DUSE_ZLIB -I/usr/include  
-I/usr/lib      -I/usr/local/include -I/usr/local/pgsql/include 
-I/usr/include/mysql -mcpu=i486 -fno-strength-reduce      -I/usr/include  
shp2img.o  -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lfreetype -lpng -lz   -lpdf 
-ljpeg -lfreetype -lpng -lz   -L/usr/lib -lproj -ljpeg  -L/usr/local/lib 
-lgdal  -L/usr/local/pgsql/lib -lpq -L/usr/lib/mysql -lmysqlclient -lz 
-lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files 
-lnss_dns -lresolv -lmysqlclient      -lc -L/usr/lib -lfcgi -lz -lm -lstdc++  
-o shp2img
./libmap.a(mapogcfilter.o)(.text+0x25fe): In function 
`FLTInsertElementInNode':
: undefined reference to `CPLSearchXMLNode'

-----------------------------------------------
$ /usr/local/bin/gdal-config --version
1.2.6b3

-----------------------------------------------
/configure  --prefix=/usr --with-proj=/usr/lib --includedir=/usr/include 
--with-gdal=/usr/local/bin/gdal-config --with-ogr=/usr/local/bin/gdal-config 
--with-php=/usr/local/include/php --with-mygis=yes  --with-postgis 
--with-fastcgi=/usr  


Any hint?

-- 
Alessandro Pasotti
ICQ# 245871392
Linux User #167502



More information about the mapserver-users mailing list