[uClibc] Problem building SH4 gcc-3.3.1 toolchain

Manuel Novoa III mjn3 at codepoet.org
Fri Sep 19 18:20:00 UTC 2003


On Fri, Sep 19, 2003 at 11:16:09AM -0700, Paul van Gool wrote:
> /home/vangool/toolchain/gcc-3.3.1/toolchain_sh/sh-linux/lib/libc.so:
> undefined reference to `__sdivsi3_i4'
> /home/vangool/toolchain/gcc-3.3.1/toolchain_sh/sh-linux/lib/libc.so:
> undefined reference to `__udivsi3_i4'
> collect2: ld returned 1 exit status

> Any idea where those two symbols are (or should be)?

Probably libgcc support routines.  It should be done automaticly,
but try adding -lgcc to your link.

Manuel



More information about the uClibc mailing list