Summary: kernel/built-in.o: In function `do_exit':: undefined reference to `exit_io_context'
Was attempting to build Kernel-2.6.16.1 and received the following error:
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 `do_exit':
: undefined reference to exit_io_context' kernel/built-in.o: In function do_exit':
: undefined reference to exit_io_context' mm/built-in.o: In function generic_write_checks':
: undefined reference to bdev_read_only' mm/built-in.o: In function generic_write_checks':
: undefined reference to `bdev_read_only'
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
CONTINUE <<<<
I ran the the following:
[root@jericho linux-2.6.16.1]# sh scripts/ver_linux
If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes.
Linux jericho.southkc.net 2.6.14.3 #2 Mon Mar 20 17:35:40 CST 2006 alpha unknown unknown GNU/Linux
Gnu C 4.0.1 Gnu make 3.80 binutils 2.16.90.0.3 util-linux 2.11f mount 2.11g module-init-tools 3.1 e2fsprogs 1.38 reiserfsprogs 2001-------------> reiser4progs fsck.reiser4: quota-tools 3.01. PPP 2.4.1 isdn4k-utils 3.1pre1 nfs-utils 0.3.1 awk: cmd. line:2: (FILENAME=- FNR=1) fatal: attempt to access field -1 Dynamic linker (ldd) 2.3.2 Linux C++ Library 6.0.3 Procps 3.2.4 Net-tools 1.60 Console-tools 0.3.3 Sh-utils 5.2.1
Modules Loaded
I created a patch in order to include the 'block/' directory and everything appears to run fine.
alpha/Makefile Mon Apr 3 04:03:08 2006 renamed from alpha/Makefile-orig Mon Apr 3 03:58:00 2006 +1 -1
@@ -88,7 +88,7 @@ head-y := arch/alpha/kernel/head.o -core-y += arch/alpha/kernel/ arch/alpha/mm/ +core-y += arch/alpha/kernel/ arch/alpha/mm/ block/ core-$(CONFIG_MATHEMU) += arch/alpha/math-emu/ drivers-$(CONFIG_OPROFILE) += arch/alpha/oprofile/ libs-y += arch/alpha/lib/
If you like, could you please include the following patch in your later kernel releases? Thank you for you time... Will L Givens [[email protected]]