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 Date: Tue, 19 Nov 2002 17:08:45 +0100 From: Markus Gerwinski To: cygwin AT cygwin DOT com Cc: peter AT gerwinski DOT de Subject: Conflict between libcygwin.a and GCC core libraries Message-ID: <20021119160845.GC4923@leia.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Hi folks, I'm currently trying to compile GPA (s. http://www.gnupg.org/gpa.html) on Cygwin. To get it up and running, first of all I had to insert "-mno-cygwin -mms-bitfields" into the compiler options. After changing some more stuff in the makefiles, compiling runs fine now, but linking still causes trouble. First, I got a lot of `undefined references' to functions as basic as `__assert'. To get rid of them, I included "-lcygwin" by hand into the linker options. Now, the undefined references have disappeared, but instead I get the following error message: libcygwin.a: multiple definition of `atexit' crt2.o:crt1.c: first defined here Since libcygwin and crt2 are both essential parts of the development environment itself, I don't see a possibility how to solve this conflict. Can anyone help me? Thanks alot in advance Markus -- 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/