Dear users,

I'm trying to install the GEOS (http://trac.osgeo.org/geos/) application in my 
cygwin, but I'm getting a problem apparently with the tinyxml.cpp, this is the 
error message:

===========================
...
...
...
Making check in swig
make[1]: Entering directory `/usr/local/geos-3.2.2/swig'
make[2]: Entering directory `/usr/local/geos-3.2.2/swig'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/usr/local/geos-3.2.2/swig'
make[1]: Leaving directory `/usr/local/geos-3.2.2/swig'
Making check in tests
make[1]: Entering directory `/usr/local/geos-3.2.2/tests'
Making check in bigtest
make[2]: Entering directory `/usr/local/geos-3.2.2/tests/bigtest'
make  bug234.exe TestSweepLineSpeed.exe
make[3]: Entering directory `/usr/local/geos-3.2.2/tests/bigtest'
make[3]: `bug234.exe' is up to date.
make[3]: `TestSweepLineSpeed.exe' is up to date.
make[3]: Leaving directory `/usr/local/geos-3.2.2/tests/bigtest'
make[2]: Leaving directory `/usr/local/geos-3.2.2/tests/bigtest'
Making check in xmltester
make[2]: Entering directory `/usr/local/geos-3.2.2/tests/xmltester'
g++ -DHAVE_CONFIG_H -I. -I../../source/headers -I../../source/headers/geos 
-I../../source/headers -I../../source/io/tinyxml -DTIXML_USE_STL    -g -O2 
-DGEOS_INLINE  -pedantic -Wall -ansi -Wno-long-long  -ffloat-store -MT 
tinyxml.o -MD -MP -MF .deps/tinyxml.Tpo -c -o tinyxml.o `test -f 
'tinyxml/tinyxml.cpp' || echo './'`tinyxml/tinyxml.cpp
tinyxml/tinyxml.cpp: In static member function `static void 
TiXmlBase::EncodeString(const std::string&, std::string*)':
tinyxml/tinyxml.cpp:114: error: `snprintf' undeclared (first use this function)
tinyxml/tinyxml.cpp:114: error: (Each undeclared identifier is reported only 
once for each function it appears in.)
tinyxml/tinyxml.cpp: In member function `void TiXmlElement::SetAttribute(const 
char*, int)':
tinyxml/tinyxml.cpp:687: error: `snprintf' undeclared (first use this function)
tinyxml/tinyxml.cpp: In member function `void 
TiXmlElement::SetDoubleAttribute(const char*, double)':
tinyxml/tinyxml.cpp:709: error: `snprintf' undeclared (first use this function)
tinyxml/tinyxml.cpp: In member function `void TiXmlAttribute::SetIntValue(int)':
tinyxml/tinyxml.cpp:1258: error: `snprintf' undeclared (first use this function)
tinyxml/tinyxml.cpp: In member function `void 
TiXmlAttribute::SetDoubleValue(double)':
tinyxml/tinyxml.cpp:1269: error: `snprintf' undeclared (first use this function)
make[2]: *** [tinyxml.o] Error 1
make[2]: Leaving directory `/usr/local/geos-3.2.2/tests/xmltester'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/usr/local/geos-3.2.2/tests'
make: *** [check-recursive] Error 1
===========================

I have:

CYGWIN_NT-5.1 gery 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin

So, please, is there a way to solve this problem without uninstalling my 
current cygwin version and upgrading to the current 1.7 version of Cygwin?

Any hints are very welcome, thanks in advance.

Best regards,

Gery
                                                                                
  

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to