delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/15/00:02:26

Sender: nate AT cartsys DOT com
Message-ID: <358499B8.1932B9F3@cartsys.com>
Date: Sun, 14 Jun 1998 20:49:12 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: Luke Bond <lukeb AT ionsoftware DOT com DOT au>
CC: djgpp AT delorie DOT com
Subject: Re: linker error
References: <35845A06 DOT DF7DAD63 AT ionsoftware DOT com DOT au>

Luke Bond wrote:
> 
> I get these errors every time I try to compile a program, whether it's
> allegro or a little 'hello world' program:
> 
> c:/djgpp/lib/libc.a(doprnt.c)(.text+0xa0b):doprnt.c: undefined reference
> to `__umoddi3'
> c:/djgpp/lib/libc.a(doprnt.c)(.text+0xa3e):doprnt.c: undefined reference
> to `__udivdi3'
> 
> I've just installed DJGPP and I've downloaded just about everything for
> it, so I can't be missing anything. I seem to remember this error from
> last time I installed DJGPP but I can't remember how I fixed it.

That means the `libgcc' library is not getting linked, or is somehow
corrupted.  Consider reinstalling the `gcc*b.zip' package, or else post
the output of a compilation with `-v' and your AUTOEXEC.BAT, and
probably also the output of `SET'.
-- 

Nate Eldredge
nate AT cartsys DOT com


- Raw text -


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