[arch-general] Custom kernel compile fails

CtM ctmlinux at rogers.com
Tue Apr 1 07:18:45 EDT 2008


Happy April everyone!

I was just wondering if anyone else was having issues building a recent 
custom kernel. I find that it fails on the make command. Here is the 
output I get:

 LD      .tmp_vmlinux1
kernel/built-in.o: In function `getnstimeofday':
(.text+0x205d3): undefined reference to `__umoddi3'
kernel/built-in.o: In function `getnstimeofday':
(.text+0x205f6): undefined reference to `__udivdi3'
kernel/built-in.o: In function `do_gettimeofday':
(.text+0x20718): undefined reference to `__udivdi3'
kernel/built-in.o: In function `do_gettimeofday':
(.text+0x20736): undefined reference to `__umoddi3'
kernel/built-in.o: In function `timekeeping_resume':
timekeeping.c:(.text+0x209e6): undefined reference to `__umoddi3'
timekeeping.c:(.text+0x20a06): undefined reference to `__udivdi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x20d5a): undefined reference to `__umoddi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x20d7a): undefined reference to `__udivdi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x211f6): undefined reference to `__umoddi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x21216): undefined reference to `__udivdi3'
make: *** [.tmp_vmlinux1] Error 1

I have tried kernel 2.6.24 and 2.6.24.4 on two different machines with 
two different cpu's (one intel dual core and one AMD 64 bit). I've tried 
using my previous config (make oldconfig) and also tried without it. I 
even ran make clean && make mrproper on the new extracted kernel 
directory before attempting to build it.
Usually upgrading a kernel is very routine for me, but this time it 
isn't working. All kernel sources were downloaded from kernel.org as 
usual for me.

Any ideas would be appreciated.

Thanks,

CtM




More information about the arch-general mailing list