0
When trying to make
the 2.6.23 Linux kernel, I seem to get error messages and the build process stops. (The reason why I am using a legacy version is because I am trying to learn how to build a device driver and all of the books I found on the topic use v2.6 .) I have been using the default tools installed with Ubuntu 8.10.
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
kernel/built-in.o: In function `getnstimeofday':
(.text+0x1b299): undefined reference to `__umoddi3'
kernel/built-in.o: In function `do_gettimeofday':
(.text+0x1b354): undefined reference to `__udivdi3'
kernel/built-in.o: In function `do_gettimeofday':
(.text+0x1b377): undefined reference to `__umoddi3'
kernel/built-in.o: In function `timekeeping_resume':
timekeeping.c:(.text+0x1b508): undefined reference to `__udivdi3'
timekeeping.c:(.text+0x1b52b): undefined reference to `__umoddi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1bb85): undefined reference to `__udivdi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1bba8): undefined reference to `__umoddi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1bc3f): undefined reference to `__udivdi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1bc69): undefined reference to `__umoddi3'
make: *** [.tmp_vmlinux1] Error 1
I've run make defconfig
beforehand and everything seemed to configure properly. What am I doing wrong?