[mapserver-users] Compile problems
    Tom Myny 
    tom at internetgids.be
       
    Tue Oct  1 07:27:18 PDT 2002
    
    
  
Hi,
When i try to compile mapserver1.6.1 with command rule:
./configure --with-php=../php-4.2.3
 i got:
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
ar rc libmap.a maptemplate.o mapbits.o maphash.o mapshape.o mapxbase.o mapparser.o maplexer.o maptree.o mapsearch.o mapstring.o mapsymbol.o mapfile.o maplegend.o maputil.o mapscale.o mapquery.o maplabel.o maperror.o mapprimitive.o mapproject.o mapraster.o mapsde.o mapogr.o mappostgis.o maplayer.o mapresample.o mapwms.o mapwmslayer.o maporaclespatial.o mapgml.o mapprojhack.o mapthread.o epplib.o  mappdf.o
ranlib libmap.a
gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL     -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DUSE_PDF       -I/usr/include              shp2img.c -o shp2img.o
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL     -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DUSE_PDF       -I/usr/include              shp2img.o  -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lfreetype -lpng -lz -lpdf -ljpeg -lfreetype -lpng -lz  -ljpeg          -lm   -o shp2img
./libmap.a(mapogr.o)(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
When i configure mapserver1.6.1 with command rule:
./configure --with-proj=/usr --with-wmsclient --with-libwww --with-gdal --enable-runpath --with-php=../php-4.2.3 --with-gd
i got:
cd mapscript/php3; make; cd ../..
make[1]: Entering directory `/usr/src/mapserver-3.6.1/mapscript/php3'
cc  cc -I. -I.. -fpic -O2  -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_WMS_LYR -DUSE_WMS  -DUSE_GDAL     -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_EPPL  -DUSE_PDF  -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DUSE_JPEG  -I/usr/src/mapserver-3.6.1 -I/usr/include -I/usr/include/w3c-libwww -DHAVE_CONFIG_H  -I/usr/include    -I/usr/include   -I/usr/include   -I/usr/src/mapserver-3.6.1/../php-4.2.3 -I/usr/src/mapserver-3.6.1/../php-4.2.3/dl -I/usr/src/mapserver-3.6.1/../php-4.2.3/main -I/usr/src/mapserver-3.6.1/../php-4.2.3/Zend -I/usr/src/mapserver-3.6.1/../php-4.2.3/include -I/usr/src/mapserver-3.6.1/../php-4.2.3/TSRM  -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
make[1]: Leaving directory `/usr/src/mapserver-3.6.1/mapscript/php3'
Please help :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20021001/106cbac4/attachment.htm>
    
    
More information about the MapServer-users
mailing list