Sender: nate AT cartsys DOT com Message-ID: <358499B8.1932B9F3@cartsys.com> Date: Sun, 14 Jun 1998 20:49:12 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Luke Bond CC: djgpp AT delorie DOT com Subject: Re: linker error References: <35845A06 DOT DF7DAD63 AT ionsoftware DOT com DOT au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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