Date: Mon, 26 Feb 1996 16:50:13 +0200 (IST) From: Eli Zaretskii 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: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.