[mapserver-users] compile error with wms and php support

Armin Burger armin.burger at territoriumonline.com
Mon Dec 10 17:34:06 EST 2001


Hi all,

I tried to compile mapserver under Linux (Mandrake 8.1) and got the
following errors:

with wms support enabled:

./libmap.a(mapwms.o): In function `msWMSFeatureInfo':
mapwms.o(.text+0x2894): undefined reference to `msGMLStart'
mapwms.o(.text+0x297e): undefined reference to `msGMLWriteShape'
mapwms.o(.text+0x2a36): undefined reference to `msGMLFinish'
collect2: ld returned 1 exit status
make: *** [mapserv] Error 1

compiling with the option '--without-wms' was possible


also the option '--with-php' caused the following errors:

make[1]: Entering directory `/usr/home/install/mapserver/mapscript/php3'
cc  cc -I. -I.. -fpic -O2  -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_PROJ
   -DUSE_PROJ_API_H -DUSE_EPPL -DUSE_TIFF -DUSE_PDF
   -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_JPEG
   -I/home/install/mapserver         -I/usr/local/include/
   -I/usr/include/php/ -I/usr/include/php//dl -I/usr/include/php//main
   -I/usr/include/php//Zend -I/usr/include/php//include
-I/usr/include/php//TSRM
   -I/usr/include/apache -c -o php_mapscript_util.o php_mapscript_util.c
cc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [php_mapscript_util.o] Error 1


Without these two options mapserver compiled well and runs fine. I used the
nightly builds from 8 and 10 December. Any ideas?


I was also curious what the shp2pdf would do but the compiled binary crashed
with 'segmentation fault (core dumped)'. Did somebody succeed and could run
this program? What is the output - a pixel image embedded in a pdf document?


Thanks for any help

Armin
--
Armin Burger
Territorium Online
Bolzano, Italy





More information about the mapserver-users mailing list