<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4915.500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>When i try to compile mapserver1.6.1 with command 
rule:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>./configure --with-php=../php-4.2.3</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;i got:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>cc1: warning: changing search order for system 
directory "/usr/include"<BR>cc1: warning:&nbsp;&nbsp; as it has already been 
specified as a non-system directory<BR>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&nbsp; mappdf.o<BR>ranlib 
libmap.a<BR>gcc -c -O2&nbsp; -Wall -DIGNORE_MISSING_DATA&nbsp; 
-DUSE_EPPL&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG 
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR 
-DUSE_PDF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
-I/usr/include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
shp2img.c -o shp2img.o<BR>cc1: warning: changing search order for system 
directory "/usr/include"<BR>cc1: warning:&nbsp;&nbsp; as it has already been 
specified as a non-system directory<BR>gcc -O2&nbsp; -Wall 
-DIGNORE_MISSING_DATA&nbsp; -DUSE_EPPL&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_JPEG 
-DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT 
-DGD_HAS_GDIMAGEGIFPTR -DUSE_PDF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
-I/usr/include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
shp2img.o&nbsp; -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lfreetype -lpng -lz -lpdf 
-ljpeg -lfreetype -lpng -lz&nbsp; 
-ljpeg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -lm&nbsp;&nbsp; -o 
shp2img<BR>./libmap.a(mapogr.o)(.eh_frame+0x11): undefined reference to 
`__gxx_personality_v0'<BR>collect2: ld returned 1 exit status<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>When i configure mapserver1.6.1 with command 
rule:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>./configure --with-proj=/usr --with-wmsclient 
--with-libwww --with-gdal --enable-runpath --with-php=../php-4.2.3 
--with-gd<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>i got:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>cd mapscript/php3; make; cd ../..<BR>make[1]: 
Entering directory `/usr/src/mapserver-3.6.1/mapscript/php3'<BR>cc&nbsp; cc -I. 
-I.. -fpic -O2&nbsp; -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_WMS_LYR -DUSE_WMS&nbsp; 
-DUSE_GDAL&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_EPPL&nbsp; 
-DUSE_PDF&nbsp; -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP 
-DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DUSE_JPEG&nbsp; -I/usr/src/mapserver-3.6.1 
-I/usr/include -I/usr/include/w3c-libwww -DHAVE_CONFIG_H&nbsp; 
-I/usr/include&nbsp;&nbsp;&nbsp; -I/usr/include&nbsp;&nbsp; 
-I/usr/include&nbsp;&nbsp; -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&nbsp; -c -o php_mapscript_util.o 
php_mapscript_util.c<BR>cc: cannot specify -o with -c or -S and multiple 
compilations<BR>make[1]: *** [php_mapscript_util.o] Error 1<BR>make[1]: Leaving 
directory `/usr/src/mapserver-3.6.1/mapscript/php3'<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Please help :)</DIV></FONT></BODY></HTML>