[Mapserver-users] sym2img

mapserver at geochem.de mapserver at geochem.de
Fri Dec 5 09:02:02 EST 2003


Dear List,

i discovered the MapServer Utility Program 'sym2img' on 
http://mapserver.gis.umn.edu/doc40/utils.html.
As it wasn't build by default i tried to build it with the line:
make sym2img

Unfortunately i get the following error messages:

gcc -c -g -O2 -Wall -DENABLE_STDERR_DEBUG -DIGNORE_MISSING_DATA 
-DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_MING_FLASH  -DUSE_TIFF  -DUSE_GD_PNG
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_PDF  -DUSE_OGR -DUSE_GDAL
-DUSE_POSTGIS    -I/usr/local/include -I/usr/local/include
-I/usr/local/include       -I/usr/local/include -I/usr/local/include
-I/usr/local/pgsql/include     sym2img.c -o sym2img.o
sym2img.c: In function `main':
sym2img.c:43: too few arguments to function `msLoadSymbolSet'
sym2img.c:66: structure has no member named `color'
sym2img.c:67: structure has no member named `backgroundcolor'
sym2img.c:68: structure has no member named `outlinecolor'
sym2img.c:79: structure has no member named `symbol'
sym2img.c:81: structure has no member named `type'
sym2img.c:82: `MS_MARKERSET' undeclared (first use in this function)
sym2img.c:82: (Each undeclared identifier is reported only once
sym2img.c:82: for each function it appears in.)
sym2img.c:83: structure has no member named `sizescaled'
sym2img.c:87: warning: passing arg 2 of `msDrawMarkerSymbol' from
incompatible pointer type
sym2img.c:87: warning: passing arg 4 of `msDrawMarkerSymbol' from
incompatible pointer type
sym2img.c:87: too few arguments to function `msDrawMarkerSymbol'
sym2img.c:90: `MS_LINESET' undeclared (first use in this function)
sym2img.c:91: structure has no member named `sizescaled'
sym2img.c:101: warning: passing arg 2 of `msDrawLineSymbol' from
incompatible pointer type
sym2img.c:101: warning: passing arg 4 of `msDrawLineSymbol' from
incompatible pointer type
sym2img.c:101: too few arguments to function `msDrawLineSymbol'
sym2img.c:104: `MS_SHADESET' undeclared (first use in this function)
sym2img.c:105: structure has no member named `sizescaled'
sym2img.c:115: warning: passing arg 2 of `msDrawShadeSymbol' from
incompatible pointer type
sym2img.c:115: warning: passing arg 4 of `msDrawShadeSymbol' from
incompatible pointer type
sym2img.c:115: too few arguments to function `msDrawShadeSymbol'
sym2img.c:84: warning: unreachable code at beginning of switch statement
sym2img.c:137: warning: implicit declaration of function `gdImageGif'
make: *** [sym2img.o] Fehler 1

My environment:
- mapserver cvs 
- Linux box
- gcc version 2.95.4 20011002 

How could i solve this problem?
Many Thanks Nicol



More information about the mapserver-users mailing list