delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/19/11:13:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Tue, 19 Nov 2002 17:08:45 +0100
From: Markus Gerwinski <markus AT gerwinski DOT de>
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
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/

- Raw text -


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