[Mapserver-users] MS 4.2b1 and ming 0.3b1 (compile problem)

Yewondwossen Assefa assefa at dmsolutions.ca
Tue May 11 10:01:11 EDT 2004


Header files have changed between 0.2 and 0.3. I commited mapswf.c so It 
can build with the 0.3. There are ifdef in the code (#ifdef 
MING_VERSION_03). The windows makfile have been updated to include the 
following directive MING_VERSION=-DMING_VERSION_03.
I have not done much tests with the 0.3 version though.

Later,

Bonnin S. wrote:

> 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=../proj-4.4.5/ --with-php=../php-4.3.6/  
> --with-postgis=/usr/local/pgsql-7.4.1/bin/pg_config
> -with-freetype=../freetype-2.0.5 --with-gd=static,../gd-2.0.22 
> --without-tiff
> --with-gdal=/usr/local/bin/gdal-config --with-ogr=/usr/local/bin/gdal-config
>  
> --with-ming=../ming-03beta1/src
>  
> Thanks in advance
>  
>  


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------





More information about the mapserver-users mailing list