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

Xref: news2.mv.net comp.os.msdos.djgpp:1448
From: bailey AT blarg DOT net (Bailey Brown)
Newsgroups: comp.os.msdos.djgpp
Subject: unresolved symbols (djgpp_last_dtor, etc.)
Date: Sun, 25 Feb 1996 07:14:59 GMT
Organization: Nihilism and Personal Anarchy
Lines: 20
Message-ID: <4gp290$rpn@guysmiley.blarg.net>
Reply-To: bailey AT blarg DOT net
NNTP-Posting-Host: dialup77.blarg.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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'
_main.c(.text+0x1f): undefined reference to `djgpp_first_ctor'
_main.c(.text+0x2f): undefined reference to `djgpp_first_ctor'
exit.c(.text+0x29): undefined reference to `djgpp_last_dtor'
exit.c(.text+0x2e): undefined reference to `djgpp_first_dtor'
exit.c(.text+0x3f): undefined reference to `djgpp_first_dtor'

I can't find any mention of this sort of problem in the FAQ.

Thanks.

Bailey

--
http://www.blarg.net/~bailey/

- Raw text -


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