www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/09/09:20:41

Date: Sun, 9 Jun 1996 16:06:09 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Mark Nowak <nowak AT comm DOT mot DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: GCC.EXE failing with weird compilation errors
In-Reply-To: <9606071620.AA13845@ssd.comm.mot.com>
Message-Id: <Pine.SUN.3.91.960609160338.342N-100000@is>
Mime-Version: 1.0

On Fri, 7 Jun 1996, Mark Nowak wrote:

> 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`

Is this DJGPP v2 or v1?  In v2, these functions are defined by the linker 
script djgpp.lnk which should be in your lib subdirectory.  Is it there?  
If so, does it define these symbols?

If this doesn't help, please add -v to the compilation command line and 
post everything gcc prints while compiling/linking.

- Raw text -


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