[Mapserver-users] compilation of ms40 crashes

Norbert Schauerte-Lueke nsl at regio-gis-planung.de
Thu Jul 31 11:14:56 EDT 2003


Hi,

I try to compile mapserver 40 beta2 on an Suse 8.2 with wms support. The compilations 
crashes at mapcontext.c. Starting the compilation of mapcontext.c the following 
warnings and errors are written out: 

gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ -
DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR     -DUSE_TIFF -
DUSE_JPEG -DUSE_
GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_PDF        -
I/usr/local/include             -I/usr/local/include   mapcontext.c -o mapc
ontext.o
mapcontext.c:181:25: cpl_minixml.h: Datei oder Verzeichnis nicht gefunden
mapcontext.c:247: error: parse error before '*' token
mapcontext.c: In function `msGetMapContextXMLHashValue':
mapcontext.c:252: warning: implicit declaration of function `CPLGetXMLValue'
mapcontext.c:252: error: `psRoot' undeclared (first use in this function)
mapcontext.c:252: error: (Each undeclared identifier is reported only once
mapcontext.c:252: error: for each function it appears in.)
mapcontext.c:252: error: `pszXMLPath' undeclared (first use in this function)
mapcontext.c:255: error: `metadata' undeclared (first use in this function)
mapcontext.c:257: error: `pszMetadata' undeclared (first use in this function)
mapcontext.c: At top level:
mapcontext.c:278: error: parse error before '*' token
mapcontext.c: In function `msGetMapContextXMLHashValueDecode':
mapcontext.c:285: error: `psRoot' undeclared (first use in this function)
mapcontext.c:285: error: `pszXMLPath' undeclared (first use in this function)
mapcontext.c:288: error: `metadata' undeclared (first use in this function)
mapcontext.c:291: error: `pszMetadata' undeclared (first use in this function)
mapcontext.c: At top level:
mapcontext.c:313: error: parse error before '*' token
mapcontext.c: In function `msGetMapContextXMLStringValue':
mapcontext.c:318: error: `psRoot' undeclared (first use in this function)
mapcontext.c:318: error: `pszXMLPath' undeclared (first use in this function)
mapcontext.c:321: error: `pszField' undeclared (first use in this function)
mapcontext.c: At top level:
mapcontext.c:345: error: parse error before '*' token
mapcontext.c: In function `msGetMapContextXMLStringValueDecode':
mapcontext.c:350: error: `psRoot' undeclared (first use in this function)
mapcontext.c:350: error: `pszXMLPath' undeclared (first use in this function)
mapcontext.c:353: error: `pszField' undeclared (first use in this function)
mapcontext.c: At top level:
mapcontext.c:378: error: parse error before '*' token
mapcontext.c: In function `msGetMapContextXMLFloatValue':
mapcontext.c:383: error: `psRoot' undeclared (first use in this function)
mapcontext.c:383: error: `pszXMLPath' undeclared (first use in this function)
mapcontext.c:386: error: `pszField' undeclared (first use in this function)
mapcontext.c: At top level:
mapcontext.c:410: error: parse error before '*' token
mapcontext.c: In function `msCombineXMLValueInHash':
mapcontext.c:418: error: `psRoot' undeclared (first use in this function)
mapcontext.c:418: error: `pszXMLPath1' undeclared (first use in this function)
mapcontext.c:419: error: `pszXMLPath2' undeclared (first use in this function)
mapcontext.c:420: error: `pszXMLPath3' undeclared (first use in this function)
mapcontext.c:421: error: `pszXMLPath4' undeclared (first use in this function)
mapcontext.c:426: error: `metadata' undeclared (first use in this function)
mapcontext.c:436: error: `pszMetadata' undeclared (first use in this function)
mapcontext.c: In function `msLoadMapContext':
mapcontext.c:467: error: `CPLXMLNode' undeclared (first use in this function)
mapcontext.c:467: error: `psRoot' undeclared (first use in this function)
mapcontext.c:467: error: `psContactInfo' undeclared (first use in this function)
mapcontext.c:467: error: `psMapContext' undeclared (first use in this function)
mapcontext.c:467: error: `psLayer' undeclared (first use in this function)
mapcontext.c:467: error: `psLayerList' undeclared (first use in this function)
mapcontext.c:467: warning: left-hand operand of comma expression has no effect
mapcontext.c:467: warning: left-hand operand of comma expression has no effect
mapcontext.c:467: warning: left-hand operand of comma expression has no effect
mapcontext.c:467: warning: left-hand operand of comma expression has no effect
mapcontext.c:468: error: `psFormatList' undeclared (first use in this function)
mapcontext.c:468: error: `psFormat' undeclared (first use in this function)
mapcontext.c:468: error: `psStyleList' undeclared (first use in this function)
mapcontext.c:468: error: `psStyle' undeclared (first use in this function)
mapcontext.c:468: error: `psChild' undeclared (first use in this function)
mapcontext.c:468: error: `psKeyword' undeclared (first use in this function)
mapcontext.c:469: error: `psKeywordList' undeclared (first use in this function)
mapcontext.c:469: warning: left-hand operand of comma expression has no effect
mapcontext.c:469: warning: left-hand operand of comma expression has no effect
mapcontext.c:469: warning: left-hand operand of comma expression has no effect
mapcontext.c:469: warning: left-hand operand of comma expression has no effect
mapcontext.c:469: warning: left-hand operand of comma expression has no effect
mapcontext.c:469: warning: left-hand operand of comma expression has no effect
mapcontext.c:470: error: `psLegendURL' undeclared (first use in this function)
mapcontext.c:470: error: `psSRS' undeclared (first use in this function)
mapcontext.c:470: warning: left-hand operand of comma expression has no effect
mapcontext.c:500: warning: implicit declaration of function `CPLParseXMLString'
mapcontext.c:516: error: `CXT_Element' undeclared (first use in this function)
mapcontext.c:517: warning: implicit declaration of function `EQUAL'
mapcontext.c:531: warning: implicit declaration of function `CPLDestroyXMLNode'
mapcontext.c:595: warning: comparison between signed and unsigned
mapcontext.c:678: warning: implicit declaration of function `CPLGetXMLNode'
mapcontext.c:1170: error: `CXT_Text' undeclared (first use in this function)
make: *** [mapcontext.o] Fehler 1

The configure options are:
--with-proj --with-wmsclient

The libs are:
curl-7.10.5
proj-4.4.7

gd-2.0.15
freetype-2.1.2
libpng-1.2.3
pdflib-4.0.3

Linux is installed without X-server

Thanks in advance
nsl



More information about the mapserver-users mailing list