error when building kernel 2.6.0-test3-mm3 kernel/built-in.o(.text+0xd9d7): In function '.text.lock.sysctl': : undefined reference to 'rsem_wake' make: *** [.tmp_vmlinux] Error 1 Tried this with GCC 3.3, 3.3.1, and 3.4 (cvs 14-august-2003) -- no luck. # cd /usr/src/linux; find . -type f -exec grep -l rsem_wake '{}' ';' ./kernel/built-in.o ./kernel/sysctl.o Where is this coming from? Since most Gentoo binaries are stripped, I can't find this anywhere... not in system or gcc libs.
Actually, many people seem to have trouble with -test3-mm3; please see http://forums.gentoo.org/viewtopic.php?p=476218#476218
Looks like a corrupted kernel tree according to Andrew Morton...
I had enormous problems compiling -test3-mm3 yesterday... I don't know what got corrupted, as I re-compiled binutils and GCC, but anyway I could not build a -test3-mm2 kernel on that system, either. I turned OFF "module versioning support" in CONFIG, and now it compiles. I think that the genksyms script is b0rken.
Resolved.
(FWIW, the kernel that I can now build -- without module versioning support -- does seem to work, booting and running the system OK. Others have reported trouble with actually running this kernel. but WORKSFORME)