david parsons wrote:
>
> When trying to build 2.3.99-pre4-2 on a Mastodon box, I get the following
> odd missing reference during the link stage:
>
> fs/fs.o: In function `nfs_refresh_inode':
> fs/fs.o(.text+0x390bc): undefined reference to `__udivdi3'
in fs/nfs/inode.c:
static inline unsigned long
nfs_calc_block_size(u64 tsize)
{
loff_t used = (tsize + 511) / 512;
return (used > ULONG_MAX) ? ULONG_MAX : used;
}
Change the "/ 512" to ">> 9".
-- -akpm-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 23:08:22 EST