[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: __udivdi3 and __umoddi3



Ok, thanks. I changed CONFIG_LBD to 0, compiling now. I'll know tonight if it worked...

On Jan 29, 2004, at 1:31 AM, Jens Axboe wrote:

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




------------------

Steven Schlansker
Tech Support & Programming

Flamin' Ghost Software
http://www.fgsoft.net/

steven@fgsoft.net
techsupport@fgsoft.net

>Windows 98: n.
> useless extension to a minor patch release for 32-bit extensions and
> a graphical shell for a 16-bit patch to an 8-bit operating system
> originally coded for a 4-bit microprocessor, written by a 2-bit
> company that can't stand for 1 bit of competition.



Reply to: