[mapserver-users] Error when compiling 3.7 with ming

Yewondwossen Assefa assefa at dmsolutions.ca
Wed Aug 21 12:57:24 PDT 2002


There is a new version of mapswf.c (r1.15) with the corrections.

Later,

"Arthur, John" wrote:

> When compiling 3.7 with ming, I get this error:
>
> ------------------------------------------------------------------
> gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ
> -DUSE_PROJ_API_H
> -DUSE_WMS  -DUSE_MING_FLASH  -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG
> -DUSE_GD_JPEG -D
> USE_GD_WBMP -DUSE_GD_FT -DUSE_PDF  -DUSE_OGR -DUSE_GDAL    -I/usr/include
>   -I/usr/local/include -I/usr/local/include   -I/usr/include  mapswf.c -o
> mapswf
> .o
> mapswf.c: In function `msDrawMarkerSymbolSWF':
> mapswf.c:1299: request for member `red' in something not a structure or
> union
> mapswf.c:1299: request for member `green' in something not a structure or
> union
> mapswf.c:1299: request for member `blue' in something not a structure or
> union
> mapswf.c:1301: request for member `red' in something not a structure or
> union
> mapswf.c:1301: request for member `green' in something not a structure or
> union
> mapswf.c:1301: request for member `blue' in something not a structure or
> union
> mapswf.c:1304: request for member `red' in something not a structure or
> union
> mapswf.c:1304: request for member `green' in something not a structure or
> union
> mapswf.c:1304: request for member `blue' in something not a structure or
> union
> mapswf.c:1319: request for member `red' in something not a structure or
> union
> mapswf.c:1319: request for member `green' in something not a structure or
> union
> mapswf.c:1319: request for member `blue' in something not a structure or
> union
> mapswf.c:1358: request for member `red' in something not a structure or
> union
> mapswf.c:1358: request for member `green' in something not a structure or
> union
> mapswf.c:1358: request for member `blue' in something not a structure or
> union
> mapswf.c:1360: request for member `red' in something not a structure or
> union
> mapswf.c:1360: request for member `green' in something not a structure or
> union
> mapswf.c:1360: request for member `blue' in something not a structure or
> union
> mapswf.c:1376: request for member `red' in something not a structure or
> union
> mapswf.c:1376: request for member `green' in something not a structure or
> union
> mapswf.c:1376: request for member `blue' in something not a structure or
> union
> mapswf.c: In function `msDrawLineSymbolSWF':
> mapswf.c:1595: request for member `red' in something not a structure or
> union
> mapswf.c:1595: request for member `green' in something not a structure or
> union
> mapswf.c:1595: request for member `blue' in something not a structure or
> union
> mapswf.c: In function `msDrawShadeSymbolSWF':
> mapswf.c:1755: request for member `red' in something not a structure or
> union
> mapswf.c:1755: request for member `green' in something not a structure or
> union
> mapswf.c:1755: request for member `blue' in something not a structure or
> union
> mapswf.c:1757: request for member `red' in something not a structure or
> union
> mapswf.c:1757: request for member `green' in something not a structure or
> union
> mapswf.c:1757: request for member `blue' in something not a structure or
> union
> mapswf.c:1806: request for member `red' in something not a structure or
> union
> mapswf.c:1806: request for member `green' in something not a structure or
> union
> mapswf.c:1806: request for member `blue' in something not a structure or
> union
> mapswf.c:1806: request for member `red' in something not a structure or
> union
> mapswf.c:1806: request for member `green' in something not a structure or
> union
> mapswf.c:1806: request for member `blue' in something not a structure or
> union
> mapswf.c: In function `draw_textSWF':
> mapswf.c:1900: request for member `red' in something not a structure or
> union
> mapswf.c:1900: request for member `green' in something not a structure or
> union
> mapswf.c:1900: request for member `blue' in something not a structure or
> union
> mapswf.c:1906: request for member `red' in something not a structure or
> union
> mapswf.c:1906: request for member `green' in something not a structure or
> union
> mapswf.c:1906: request for member `blue' in something not a structure or
> union
> mapswf.c:1912: request for member `red' in something not a structure or
> union
> mapswf.c:1912: request for member `green' in something not a structure or
> union
> mapswf.c:1912: request for member `blue' in something not a structure or
> union
> mapswf.c: In function `msDrawLabelCacheSWF':
> mapswf.c:2015: warning: unused variable `classPtr'
> make: *** [mapswf.o] Error 1
> ------------------------------------------------------------------
>
> I have ming installed and working with PHP just fine.  Any clue to this
> error?
>
> John Arthur
> RF Technician
> Office:   (757) 490-7221
> Cellular: (757) 692-1515
> Email: john.arthur at t-mobile.com
> ·T···Mobile·

--
----------------------------------------------------------------
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