[mapserver-users] 3.5 compilation problems.

Stephen Lime steve.lime at dnr.state.mn.us
Thu Aug 23 08:26:16 PDT 2001


GD 1.2 is not supported any more. I suspect it doesn't contain the missing
function noted below and hence the error.

Steve

Stephen Lime
Internet Applications Analyst

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> Marcus Dillury <md at socialchange.net> 08/22/01 09:32PM >>>
I am trying to compile a 3.5 build of mapserver on a Redhat 7 Linux box.
I am using the following options with the configuration script.

./configure --with-proj=/usr/local --with-gdal --with-gd=/usr/local/lib/gd-1.2 --with-freetype=/usr/lib

proj-4.4.3
gdal-1.1.5
gd-1.2
freetype-1.3.1-7


The Makefile builds without complaint.
When I run 'make' I get the following problem


gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ
-DUSE_PROJ_API_H -DUSE_WMS  -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF
-DUSE_GD_SWAP_XY   -DUSE_GDAL   -I/usr/local/lib/gd-1.2
-I/usr/local/include        -I/usr/local/include   shp2img.o  -L. -lmap
-L/usr/local/lib/gd-1.2 -lgd -ljpeg -L/usr/lib -lttf -lpng -lz -ltiff
-ljpeg -L/usr/lib -lttf -lpng -lz -L/usr/local/lib -lproj -ljpeg
-L/usr/local/lib -lgdal.1.1    -lm   -o shp2img
./libmap.a(mapresample.o): In function `msResampleGDALToMap':
mapresample.o(.text+0xe8e): undefined reference to `gdImagePaletteCopy'
mapresample.o(.text+0xec4): undefined reference to `gdImagePaletteCopy'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1


Does anyone seen this error before? Could I please get some pointers or
advice?

Thanks in advance,

--Marcus





More information about the MapServer-users mailing list