Re: __udivdi3 and __umoddi3
On Wed, Jan 28 2004, Steven Schlansker wrote:
> I just upgraded to Debian testing, and am trying to compile a kernel
> (2.6.0) again, this time using the kernel-source-2.6.0 package. But,
> it fails with the error:
>
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/mounts.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> drivers/built-in.o(.text+0x37214): In function `start_request':
> : undefined reference to `__udivdi3'
> drivers/built-in.o(.text+0x3722c): In function `start_request':
> : undefined reference to `__umoddi3'
You have CONFIG_LBD set, and someone is doing a division in
start_request() without using sector_div(). Must be something that
the debian folks added, I don't see any divisions here.
> Where should I start looking?
In start_request()? :)
Or you could just turn off CONFIG_LBD, you likely don't need it.
--
Jens Axboe
Reply to: