www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/26/10:00:16

Date: Mon, 26 Feb 1996 16:50:13 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: rbabcock AT cfa DOT harvard DOT edu
Cc: djgpp AT delorie DOT com
Subject: Re: unresolved symbols (djgpp_last_dtor, etc.)
In-Reply-To: <DnCoJr.743@cfanews.harvard.edu>
Message-Id: <Pine.SUN.3.91.960226164715.7520B-100000@is>
Mime-Version: 1.0

On Sun, 25 Feb 1996, Bob Babcock wrote:

> : D:\src\myprogs\hello>gcc hello.c -o hello
> : _main.c(.text+0x1a): undefined reference to `djgpp_last_ctor'
> :...
> : exit.c(.text+0x29): undefined reference to `djgpp_last_dtor'
> 
> These are defined in lib\djgpp.lnk.  I got the same messages when I first
> started using v2 betas because my makefile was calling ld directly rather
> than letting gcc do it.  I wonder if you have a mixture of v1 and v2 files?

The first suspect I'd check is the file lib/specs.  It should name the
-Tdjgpp.lnk switch in the *link_command: section. 

- Raw text -


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