[Mapserver-users] MS 4.2b1 and ming 0.3b1 (compile problem)
Bonnin S.
shpr at libero.it
Tue May 11 06:15:36 PDT 2004
This is a multi-part message in MIME format.
------=_NextPart_000_13D2_01C4376A.CF9CFE50
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I'm trying to compile mapserver 4.2b1 with ming 0.3b1 and the compiler =
return me the followig error:
....
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system =
directory
gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ =
-DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_MING_FLASH -DUSE_GD_PNG =
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_OGR -DUSE_GDAL =
-DUSE_POSTGIS -I/usr/src/BuildSmit/mapserver-4.2b1/../gd-2.0.22 =
-I/usr/src/BuildSmit/mapserver-4.2b1/../proj-4.4.5//src =
-I/usr/local/include -I/usr/local/pgsql-7.4.1/include mapswf.c -o =
mapswf.o
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system =
directory
mapswf.c: In function `BuildButtonFromGD':
mapswf.c:444: warning: passing arg 2 of `SWFButton_addShape' from =
incompatible pointer type
mapswf.c: In function `BuildEllipseButton':
mapswf.c:529: warning: passing arg 2 of `SWFButton_addShape' from =
incompatible pointer type
mapswf.c:534: warning: passing arg 2 of `SWFButton_addShape' from =
incompatible pointer type
mapswf.c: In function `BuildButtonPolygon':
mapswf.c:720: warning: passing arg 2 of `SWFButton_addShape' from =
incompatible pointer type
mapswf.c:727: warning: passing arg 2 of `SWFButton_addShape' from =
incompatible pointer type
mapswf.c:731: warning: passing arg 2 of `SWFButton_addShape' from =
incompatible pointer type
mapswf.c: In function `BuildButtonLine':
mapswf.c:782: warning: passing arg 2 of `SWFButton_addShape' from =
incompatible pointer type
mapswf.c:788: warning: passing arg 2 of `SWFButton_addShape' from =
incompatible pointer type
mapswf.c: In function `msImageStartLayerSWF':
mapswf.c:973: warning: passing arg 2 of `SWFMovie_add' from incompatible =
pointer type
mapswf.c:977: warning: passing arg 2 of `SWFMovie_add' from incompatible =
pointer type
mapswf.c:983: warning: passing arg 2 of `SWFMovie_add' from incompatible =
pointer type
mapswf.c:988: warning: passing arg 2 of `SWFMovie_add' from incompatible =
pointer type
mapswf.c: In function `msDrawStartShapeSWF':
.....
./configure --with-proj=3D../proj-4.4.5/ --with-php=3D../php-4.3.6/ =
--with-postgis=3D/usr/local/pgsql-7.4.1/bin/pg_config
-with-freetype=3D../freetype-2.0.5 --with-gd=3Dstatic,../gd-2.0.22 =
--without-tiff
--with-gdal=3D/usr/local/bin/gdal-config =
--with-ogr=3D/usr/local/bin/gdal-config
--with-ming=3D../ming-03beta1/src
Thanks in advance
------=_NextPart_000_13D2_01C4376A.CF9CFE50
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I'm trying to compile mapserver 4.2b1 =
with ming=20
0.3b1 and the compiler return me the =
followig error:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>cc1: warning: changing search order for =
system=20
directory "/usr/local/include"<BR>cc1: warning: as it has =
already=20
been specified as a non-system directory<BR>gcc -c -O2 -Wall=20
-DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H=20
-DUSE_WMS_SVR -DUSE_MING_FLASH =
-DUSE_GD_PNG=20
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_OGR -DUSE_GDAL =
-DUSE_POSTGIS =20
-I/usr/src/BuildSmit/mapserver-4.2b1/../gd-2.0.22 =20
-I/usr/src/BuildSmit/mapserver-4.2b1/../proj-4.4.5//src =
=20
-I/usr/local/include =
-I/usr/local/pgsql-7.4.1/include =20
mapswf.c -o mapswf.o<BR>cc1: warning: changing search order for system =
directory=20
"/usr/local/include"<BR>cc1: warning: as it has already been =
specified as a non-system directory<BR>mapswf.c: In function=20
`BuildButtonFromGD':<BR>mapswf.c:444: warning: passing arg 2 of=20
`SWFButton_addShape' from incompatible pointer type<BR>mapswf.c: In =
function=20
`BuildEllipseButton':<BR>mapswf.c:529: warning: passing arg 2 of=20
`SWFButton_addShape' from incompatible pointer type<BR>mapswf.c:534: =
warning:=20
passing arg 2 of `SWFButton_addShape' from incompatible pointer=20
type<BR>mapswf.c: In function `BuildButtonPolygon':<BR>mapswf.c:720: =
warning:=20
passing arg 2 of `SWFButton_addShape' from incompatible pointer=20
type<BR>mapswf.c:727: warning: passing arg 2 of `SWFButton_addShape' =
from=20
incompatible pointer type<BR>mapswf.c:731: warning: passing arg 2 of=20
`SWFButton_addShape' from incompatible pointer type<BR>mapswf.c: In =
function=20
`BuildButtonLine':<BR>mapswf.c:782: warning: passing arg 2 of=20
`SWFButton_addShape' from incompatible pointer type<BR>mapswf.c:788: =
warning:=20
passing arg 2 of `SWFButton_addShape' from incompatible pointer=20
type<BR>mapswf.c: In function `msImageStartLayerSWF':<BR>mapswf.c:973: =
warning:=20
passing arg 2 of `SWFMovie_add' from incompatible pointer =
type<BR>mapswf.c:977:=20
warning: passing arg 2 of `SWFMovie_add' from incompatible pointer=20
type<BR>mapswf.c:983: warning: passing arg 2 of `SWFMovie_add' from =
incompatible=20
pointer type<BR>mapswf.c:988: warning: passing arg 2 of `SWFMovie_add' =
from=20
incompatible pointer type<BR>mapswf.c: In function=20
`msDrawStartShapeSWF':<BR>.....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>./configure =
--with-proj=3D../proj-4.4.5/=20
--with-php=3D../php-4.3.6/ =20
--with-postgis=3D/usr/local/pgsql-7.4.1/bin/pg_config<BR>-with-freetype=3D=
../freetype-2.0.5=20
--with-gd=3Dstatic,../gd-2.0.22=20
--without-tiff<BR>--with-gdal=3D/usr/local/bin/gdal-config=20
--with-ogr=3D/usr/local/bin/gdal-config</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial =
size=3D2>--with-ming=3D../ming-03beta1/src</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial =
size=3D2></FONT> </DIV></FONT></DIV></BODY></HTML>
------=_NextPart_000_13D2_01C4376A.CF9CFE50--
More information about the MapServer-users
mailing list