yaffs+vivi

Feb 11, 2004 0 Replies

Hi,



Anybody can get rid me out of these errors: I got following errors while compiling yaffs file system with vivi bootloader. It seems its looking for some library funtions and not finding it. May be some masters can suggest some linker option. I did try -lm to add math library.



opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(_itoa.o): In function `_itoa': _itoa.o(.text+0x1a4): undefined reference to `__lshrdi3' _itoa.o(.text+0x1a4): relocation truncated to fit: R_ARM_PC24 __lshrdi3 _itoa.o(.text+0x1c0): undefined reference to `__lshrdi3' _itoa.o(.text+0x1c0): relocation truncated to fit: R_ARM_PC24 __lshrdi3 _itoa.o(.text+0x448): undefined reference to `__ashldi3' _itoa.o(.text+0x448): relocation truncated to fit: R_ARM_PC24 __ashldi3 /opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(_itowa.o): In function `_itowa': _itowa.o(.text+0x1a4): undefined reference to `__lshrdi3' _itowa.o(.text+0x1a4): relocation truncated to fit: R_ARM_PC24 __lshrdi3 _itowa.o(.text+0x1c0): undefined reference to `__lshrdi3' _itowa.o(.text+0x1c0): relocation truncated to fit: R_ARM_PC24 __lshrdi3 _itowa.o(.text+0x448): undefined reference to `__ashldi3' _itowa.o(.text+0x448): relocation truncated to fit: R_ARM_PC24 __ashldi3 /opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(strtoll.o): In function `__strtoll_ internal': strtoll.o(.text+0x514): undefined reference to `__udivdi3'


-Thanks, ARM


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required