--- /tmp/Makefile 2002-11-07 19:43:46.000000000 +0900 +++ Makefile 2002-11-07 19:55:54.000000000 +0900 @@ -6,8 +6,9 @@ # need to specify the path of kernel source KERNELSOURCE = /usr/src/linux -KERNELRELEASE = $(shell grep UTS_RELEASE \ - $(KERNELSOURCE)/include/linux/version.h | cut -d '"' -f 2) +KERNELRELEASE = $(shell grep UTS_RELEASE \ + $(KERNELSOURCE)/include/linux/version.h | \ + cut -d '"' -f 2 | tail -1) KERNELSYMS = /boot/System.map-$(KERNELRELEASE)