Hi,

I'm trying to build Squashfs for u-boot for x86.

Looks like we are missing some libgcc helper function.

ld.bfd: fs/squashfs/sqfs.o: in function `sqfs_read':
/home/sean/development/siemens/u-boot/fs/squashfs/sqfs.c:1443: undefined 
reference to `__udivmoddi4'
ld.bfd: /home/sean/development/siemens/u-boot/fs/squashfs/sqfs.c:1521: 
undefined reference to `__udivmoddi4'

I can fix this by adding the function from arch/arc/lib/libgcc2.c to
arch/x86/lib/div64.c, but I'm not sure it's the right way to do it :)

Any hints?

/Sean

Reply via email to