[mapserver-users] Compilation crashes with PDF

Düster Horst Horst.Duester at bd.so.ch
Mon Mar 18 07:04:01 EST 2002


Hi
 
I try to compile MapServer 3.5 configured among other params "--with-pdf "
using PDFLib 3.02
the compilation process results with the following error:
 
gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL    -DUSE_TIFF -DUSE_JPEG
-DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_TTF -DGD_HAS_
GDIMAGEGIFPTR -DUSE_PDF      -I/home/hdus/local/include
-I/usr/local/include -I/usr/local/include          shp2pdf.o  -L. -lmap 
-L/home/hdus/local/lib -lgd -L/usr/local/lib -ljpeg -lttf -lpng -lz -lpdf
-L/usr/local/lib -ltiff -L/usr/local/lib -ljpeg -lttf -lpng -lz
-L/usr/local/lib -ljpeg
 -lm   -o shp2pdf
./libmap.a(mappdf.o): In function `msDrawMarkerSymbolPDF':
mappdf.o(.text+0xbe6): undefined reference to `gdFree'
collect2: ld returned 1 exit status
make: *** [shp2pdf] Error 1
 
when I configure without pdf the compilation process works without errors. 
Let me know your hints.
 
 
Horst Düster



More information about the mapserver-users mailing list