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 X-Originating-IP: [194.183.235.198] X-Originating-Email: [numero_7 AT hotmail DOT com] From: "Brian Warner" To: cygwin AT cygwin DOT com Subject: undefined reference to ___assert, _impure_ptr, etc. Date: Mon, 31 Mar 2003 12:06:10 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 31 Mar 2003 10:06:11.0264 (UTC) FILETIME=[27E57400:01C2F76D] Hi, I'm using Cygwin for compiling the Xerces-C library for MinGW. My program used the gcc 3.2, and there were no problem, but now I use the gcc 3.2.2 for my program, so I need to recompile the Xerces-X library too. But the gcc 3.2.2 doesn't exist for Cygwin, so I compiled it with the source on Cygwin, with the options --enable-threads=posix --enable-shared --enable-languages=c,c++. The compilation seems to be passed very well, but now when I want to compile the Xerces-C library, at link time, I've got several undefined reference errors such as ___assert, _impure_ptr, ___w32_sharedptr_unexpected, etc. Many of these error are related with libstdc++.a. And when I look in this file, I see the reference to these functions. So where can this problem come from ? Is my gcc 3.2.2 badly compiled ? I've seen there is a gcc-mingw, and its configure file is very different from "normal" gcc configure file. Have I to compile it with a configure file from the gcc-mingw version ? Thanks in advance. Regards, Fabrice Louis. _________________________________________________________________ MSN Messenger : discutez en direct avec vos amis ! http://messenger.fr.msn.be -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/