[Bug 237528] [NEW] unable to build kernel from source

Astar astar at tut.by
Thu Jun 5 04:24:24 UTC 2008


Public bug reported:

Binary package hint: linux-image

Following instructions in
https://help.ubuntu.com/community/Kernel/Compile I've got source package
for kernel 2.6.24:

sudo apt-get build-dep linux-image-2.6.24-18-generic
apt-get source linux-image-2.6.24-18-generic

Trying to build kernel with default configurations for i386-generic:

AUTOBUILD=1 NOEXTRAS=1 fakeroot debian/rules binary-i386

And got errors:

  LD      init/built-in.o
  LD      .tmp_vmlinux1
kernel/built-in.o: In function `timespec_add_ns':
/home/astar/bldtmp/linux-2.6.24/include/linux/time.h:177: undefined reference to `__umoddi3'
/home/astar/bldtmp/linux-2.6.24/include/linux/time.h:177: undefined reference to `__udivdi3'
kernel/built-in.o: In function `timespec_add_ns':
/home/astar/bldtmp/linux-2.6.24/kernel/time/timekeeping.c:127: undefined reference to `__udivdi3'
/home/astar/bldtmp/linux-2.6.24/kernel/time/timekeeping.c:127: undefined reference to `__umoddi3'
kernel/built-in.o: In function `timespec_add_ns':
/home/astar/bldtmp/linux-2.6.24/include/linux/time.h:177: undefined reference to `__umoddi3'
/home/astar/bldtmp/linux-2.6.24/include/linux/time.h:177: undefined reference to `__udivdi3'
/home/astar/bldtmp/linux-2.6.24/include/linux/time.h:177: undefined reference to `__umoddi3'
/home/astar/bldtmp/linux-2.6.24/include/linux/time.h:177: undefined reference to `__udivdi3'
/home/astar/bldtmp/linux-2.6.24/include/linux/time.h:177: undefined reference to `__umoddi3'
/home/astar/bldtmp/linux-2.6.24/include/linux/time.h:177: undefined reference to `__udivdi3'
make[2]: *** [.tmp_vmlinux1] Error 1
make[1]: *** [sub-make] Error 2

as i can see __umoddi3\__udivdi3 defined in some non-x86 arches.

Wrong guide or broken source package?

$ lsb_release -rd
Description:	Ubuntu 8.04
Release:	8.04

linux-image-2.6.24-18-generic
version: 2.6.24-18.32

$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure linux gnu
Thread model: posix
gcc version 4.3.0 (Ubuntu 4.3.0-1ubuntu1)

** Affects: linux-meta (Ubuntu)
     Importance: Undecided
         Status: New

-- 
unable to build kernel from source
https://bugs.launchpad.net/bugs/237528
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux-meta in ubuntu.




More information about the kernel-bugs mailing list