All these functions can be found in libgcc.a. This comes with the compiler. Is
your compiler installed correctly?
Scott
Sanggyu Nam wrote:
>
> I'm trying to make tool-chain for arm-linux but I've got the problem
> that compile glibc-2.1.3.
>
> Here's thing I'm using.
>
> binutils-2.9.5.0.42
> gcc-2.95.2
> glibc-2.1.3
> linux-2.3.99-pre8
>
> When compile glibc-2.1.3, below messages are shown.
>
> ../libc.so.6: undefined reference to `__ashldi3'
> ../libc.so.6: undefined reference to `__divdi3'
> ../libc.so.6: undefined reference to `__umoddi3'
> ../libc.so.6: undefined reference to `__udivdi3'
> ../libc.so.6: undefined reference to `__lshrdi3'
> ../libc.so.6: undefined reference to `__moddi3'
> ../libc.so.6: undefined reference to `__muldi3'
> collect2: ld returned 1 exit status
> make[1]: *** [makedb] Error 1
> make[1]: Leaving directory `/devel/arm/assabet/glibc-2.1.3/db2'
> make: *** [db2/others] Error 2
>
> Please teach me the solution.
> Someone said me that this error will be solved by using
> binutils-2.9.5.0.22. But it cannot be solve this.
> How can I compile glibc-2.1.3?
>
> unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
> ++ Please use [EMAIL PROTECTED] for ++
> ++ kernel-related discussions. ++
--
Scott Bambrough - Software Engineer
REBEL.COM http://www.rebel.com
NetWinder http://www.netwinder.org
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++