delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/24/14:00:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <DUB111-W1B89F76505779D7352261B0110@phx.gbl>
From: "Gery ." <gamejihou AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
Subject: TinyXML problem
Date: Wed, 24 Aug 2011 17:59:43 +0000
In-Reply-To: <DUB111-W1351ABB7C886D05F1326200B0110@phx.gbl>
References: <DUB111-W1351ABB7C886D05F1326200B0110 AT phx DOT gbl>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p7OI0Hb1026890


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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019