[Mapserver-dev] cvs compile error

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Sat Sep 25 18:50:14 EDT 2004


(For some reason, I get email errors when trying to email:

mapserver-users at lists.umn.edu
mapserver-users at lists.gis.umn.edu

???

..hence my email to the dev list)


Hi,

I'm trying to compile the cvs dist on a Fedora Core 2 box, but running
into errors in mapwfs.c.  Below is the error message:


./configure --with-freetype=/usr/local/bin/freetype-config
--with-zlib=/usr/local --with-png=/usr/local --with-jpeg=/usr/local
--with-xpm=/usr/local --with- libiconv=/usr/local --with-gd=/usr/local
--with-pdf=/usr/local --with-eppl --with-proj=/usr/local
--with-geos=/usr/local/bin/geos-config --with-gdal=/usr/lo
cal/bin/gdal-config --with-ogr=/usr/local/bin/gdal-config
--with-postgis=/usr/local/pgsql/bin/pg_config --with-wfs --with-wcs
--with-wmsclient --with-wfscli ent --without-tiff
--with-curl-config=/usr/local/bin/curl-config

.......

gcc -c -O2 -fPIC  -Wall -DIGNORE_MISSING_DATA -DNEED_STRLCAT  -DUSE_EPPL
-DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR
-DUSE_WFS_LYR
 -DUSE_WCS_SVR     -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
-DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DUSE_PDF  -DUSE_OGR -DUSE_GDAL
-DUSE_GEOS -DUSE
_ICONV -DUSE_POSTGIS    -I/usr/local/include -I/usr/local/include
-I/usr/local/include       -I/usr/local/include
-I/usr/local/pgsql/include  -I/usr/local/i
nclude   -I -I/usr/local/include mapwfs.c -o mapwfs.o
mapwfs.c: In function `msWFSPrintRequestCap':
mapwfs.c:229: error: `encoded' undeclared (first use in this function)
mapwfs.c:229: error: (Each undeclared identifier is reported only once
mapwfs.c:229: error: for each function it appears in.)
mapwfs.c: In function `msWFSDescribeFeatureType':
mapwfs.c:627: error: `stream' undeclared (first use in this function)
mapwfs.c: In function `msWFSGetFeature':
mapwfs.c:1148: error: `stream' undeclared (first use in this function)
mapwfs.c: At top level:
mapwfs.c:305: warning: `msWFSGetGeomType' defined but not used
make: *** [mapwfs.o] Error 1

Any idea what's going on here?  I've noticed that mapwfs.c and mapwms.c
have had CVS changes to encoding.

Cheers

..Tom




More information about the mapserver-dev mailing list