delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/29/11:43:13

X-Spam-Check-By: sourceware.org
Message-ID: <4e41f5c20707290842j6175d78cgf71921bb0f0bada1@mail.gmail.com>
Date: Sun, 29 Jul 2007 11:42:53 -0400
From: "Morgan Gangwere" <0 DOT fractalus AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Creating dll in cygwin gives "Undefined reference" errors
In-Reply-To: <46AB5AFF.A5AA4C8E@dessent.net>
MIME-Version: 1.0
References: <5f0807670707280532t44a7d607vf92a06231313d5d9 AT mail DOT gmail DOT com> <5f0807670707280535u71d26ef6s4b0af545f30cd04f AT mail DOT gmail DOT com> <46AB5AFF DOT A5AA4C8E AT dessent DOT net>
X-IsSubscribed: yes
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

> The undefined reference is because fundamentally ELF (Linux) and PE/COFF
> (Windows) are very different in terms of how linking works under the
> hood.  The short explanation is that PE/COFF requires all references to
> be resolved at link-time, thus you have to explicitly tell the linker
> where createlog() is to be found.
>
> But I've typed this explanation so many times, I think I'll just start
> linking to past copies of it:
>
> http://www.cygwin.com/ml/cygwin/2005-07/msg00675.html
> http://www.cygwin.com/ml/cygwin/2006-12/msg00592.html
> http://www.cygwin.com/ml/cygwin/2007-06/msg00450.html

how about a List Of Reference Threads?

-- 
Morgan gangwere

"Space does not reflect society, it expresses it." -- Castells, M.,
Space of Flows, Space of Places: Materials for a Theory of Urbanism in
the Information Age, in The Cybercities Reader, S. Graham, Editor.
2004, Routledge: London. p. 82-93.
-----BEGIN PGP SIGNATURE-----
Version: Gmail/GnuPG Min32 Hack
Comment: Using GnuPG and Gmail - ask me about Grim Fandango

iD8DBQFGV3KQCF9T/dUsmAgRAvESAKDfZYbRtebNO+WPfx6DryIvIwt9TgCgukZG
cIj5nSWws/pAeW2ESlj7GuM=
=Y4uC
-----END PGP SIGNATURE-----

--
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/

- Raw text -


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