www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/07/23:47:03

Xref: news2.mv.net comp.os.msdos.djgpp:4713
From: Mark Nowak <nowak AT comm DOT mot DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: GCC.EXE failing with weird compilation errors
Date: Fri, 7 Jun 96 11:20:33 CDT
Lines: 29
Message-ID: <9606071620.AA13845@ssd.comm.mot.com>
Origin: ssd
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,

I'm having a hard time getting djdpp to work on my machine.
I FTP'd the .zip files, followed the directions, had to create my own
include and lib directories which surprised me, but when I run
gcc -Wall -o hello.exe hello.c -lm
the compilation fails and I get these messages:

_main.c(.text+0x1a): undefined refernce to `djgpp_last_ctor`
_main.c(.text+0x1f): undefined refernce to `djgpp_first_ctor`
_main.c(.text+0x2f): undefined refernce to `djgpp_first_ctor`
exit.c(.text+0x29): undefined refernce to `djgpp_last_dtor`
exit.c(.text+0x2e): undefined refernce to `djgpp_first_dtor`
exit.c(.text+0x3f): undefined refernce to `djgpp_first_dtor`

Anybody have a clue on what I'm missing here?

No executable is created, but it seems like it gets pretty far into the
compilation before it quits with those messages.

Any help would be appreciated.  Thanks!

Mark
-- 
Mark Nowak             Chicago, Illinois
Motorola               nowak AT comm DOT mot DOT com
http://www.ece.iit.edu/~mnowak/index.html
http://www.geocities.com/Paris/1092/

- Raw text -


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