Mail Archives: djgpp/1998/06/15/00:02:26
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 -