Xref: news2.mv.net comp.os.msdos.djgpp:1454 From: bailey AT blarg DOT net (Bailey Brown) Newsgroups: comp.os.msdos.djgpp Subject: Re: unresolved symbols (djgpp_last_dtor, etc.) Date: Mon, 26 Feb 1996 11:12:31 GMT Organization: Nihilism and Personal Anarchy Lines: 29 Message-ID: <4gs4ih$7gn@guysmiley.blarg.net> References: <4gp290$rpn AT guysmiley DOT blarg DOT net> Reply-To: bailey AT blarg DOT net NNTP-Posting-Host: dialup50.blarg.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) wrote: >Bailey Brown (bailey AT blarg DOT net) wrote: >: When I try to build a simple hello world program, I get the following >: link errors: >:... >: 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? Thanks. This is a fresh install of v2. I renamed my v1 usr tree to something else and built a new v2 tree from scratch. I have to put djgpp.lnk on the gcc command line for it to link. This is only a minor inconvenience, but is there a way to make it link in djgpp.lnk automatically? I can't find djgpp.lnk in djgpp.env. I'm using the v2 stuff from simtel, so I'm pretty sure this is the release version. Bailey -- http://www.blarg.net/~bailey/