Library and linker errors

Tue Aug 1 22:49:00 GMT 2000

Hi all,

I'm using gcc-2.95.5 configured as a cross-compiler for the
hitachi H8/300H cpu core. I'm using mandrake-7.0.

I found that h8300-hms-gcc gets its library files from:


/usr/local/lib/h8300-hms/libgcc.a (iirc)

However, i get lots of linker errors like:

                                 undefined reference to '__umodsi3'
                                 undefined reference to '__udivsi3'
                                 undefined reference to '__umulsi3'

I can't find where __umodsi3 etc are defined. In my makefile, i'm
linking ld using -lgcc -liberty -lg -lc -lm.

*   Russell Shaw, B.Eng, M.Eng(Research)  *
*      email:          *
*      Australia                          *

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list