custom kernel problems

Scott Douglass scott at swdouglass.com
Tue Jul 1 20:56:18 EDT 2008


Hi,

In regards to:
http://wiki.laptop.org/go/Rebuilding_OLPC_kernel

I gave up on the git "head" kernel as there seems to be a lot of bugs
there, and tried to build the origin/stable kernel.

I'm running a Fedora 9 (i386) system for doing the build.

I get this set of messages and the kernel fails to build:

kernel/built-in.o: In function `timespec_add_ns':
/archive/fedora/olpc/git/olpc-2.6-rpm/BUILD/kernel-2.6.22/linux-2.6.22.i586/include/linux/time.h:177: undefined reference to `__umoddi3'
kernel/built-in.o: In function `do_gettimeofday':
/archive/fedora/olpc/git/olpc-2.6-rpm/BUILD/kernel-2.6.22/linux-2.6.22.i586/kernel/time/timekeeping.c:121: undefined reference to `__udivdi3'
/archive/fedora/olpc/git/olpc-2.6-rpm/BUILD/kernel-2.6.22/linux-2.6.22.i586/kernel/time/timekeeping.c:122: undefined reference to `__umoddi3'
kernel/built-in.o: In function `timespec_add_ns':
/archive/fedora/olpc/git/olpc-2.6-rpm/BUILD/kernel-2.6.22/linux-2.6.22.i586/include/linux/time.h:172: undefined reference to `__udivdi3'
/archive/fedora/olpc/git/olpc-2.6-rpm/BUILD/kernel-2.6.22/linux-2.6.22.i586/include/linux/time.h:177: undefined reference to `__umoddi3'
/archive/fedora/olpc/git/olpc-2.6-rpm/BUILD/kernel-2.6.22/linux-2.6.22.i586/include/linux/time.h:172: undefined reference to `__udivdi3'
/archive/fedora/olpc/git/olpc-2.6-rpm/BUILD/kernel-2.6.22/linux-2.6.22.i586/include/linux/time.h:177: undefined reference to `__umoddi3'
make: *** [.tmp_vmlinux1] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.47209 (%build)

I enabled various bluetooth modules and a few additional USB modules
(for bluetooth, serial and wireless interfaces) using make ARCH=i386
gconfig.

Is this a known issue?






More information about the Devel mailing list