X-Spam-Check-By: sourceware.org Message-ID: <1003e2170609290406p64be1992r878464cc3aa00d1c@mail.gmail.com> Date: Fri, 29 Sep 2006 13:06:18 +0200 From: "Jan Rottberg" To: cygwin AT cygwin DOT com Subject: 1.5.22: Xercesc compile problems MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi. When I try to compile a very basic c++-program that uses xercesc there are a lot of compiling errors. The errors are: "undefined reference to 'xercesc_2_5......'" I used the xercesc package from the dev-tree in the basic cygwin-install. Are there any hints to get solve this? BTW: the actual xerces-release is 2.7.0. For those of you, that want to try out by themself, here is the small program from the xercesc-tutorial. ===start tutorial program=== #include // Other include files, declarations, and non-Xerces-C++ initializations. XERCES_CPP_NAMESPACE_USE int main(int argc, char* argv[]) { try { XMLPlatformUtils::Initialize(); } catch (const XMLException& toCatch) { // Do your failure processing here return 1; } // Do your actual work with Xerces-C++ here. XMLPlatformUtils::Terminate(); // Other terminations and cleanup. return 0; } ===end tutorial program=== Thanks, Jan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/