| delorie.com/archives/browse.cgi | search |
| Xref: | news2.mv.net comp.os.msdos.djgpp:1443 |
| Newsgroups: | comp.os.msdos.djgpp |
| From: | peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) |
| Subject: | Re: unresolved symbols (djgpp_last_dtor, etc.) |
| Message-ID: | <DnCoJr.743@cfanews.harvard.edu> |
| Sender: | news AT cfanews DOT harvard DOT edu |
| Reply-To: | rbabcock AT cfa DOT harvard DOT edu |
| Organization: | Smithsonian Astrophysical Observatory, Cambridge, MA, USA |
| References: | <4gp290$rpn AT guysmiley DOT blarg DOT net> |
| Date: | Sun, 25 Feb 1996 21:19:03 GMT |
| Lines: | 12 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Bailey Brown (bailey AT blarg DOT net) wrote: : When I try to build a simple hello world program, I get the following : link errors: : 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?
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |