Hello all,

I have been trying to compile a kernel for 2.6.26. According to the procedure here:

How To Compile A Kernel - The SuSE Way | HowtoForge - Linux Howtos and Tutorials

When doing "make rpm", I get the error below. But when doing "make" alone, get no errors.

What gives?

Any help, hints or advice is appreciated

simba:/usr/src/linux # make rpm
make clean
set -e; cd ..; ln -sf /mnt/secbook/ADDITIONAL/OS/LINUX/LINUX_2_6_26/kernel/linux-2.6.26.3 kernel-2.6.26.3default
set -e; cd ..; tar -cz --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg --exclude .git -f kernel-2.6.26.3default.tar.gz kernel-2.6.26.3default/.
set -e; cd ..; rm kernel-2.6.26.3default
set -e; \
/bin/sh /mnt/secbook/ADDITIONAL/OS/LINUX/LINUX_2_6_26/kernel/linux-2.6.26.3/scripts/mkversion > /mnt/secbook/ADDITIONAL/OS/LINUX/LINUX_2_6_26/kernel/linux-2.6.26.3/.tmp_version
set -e; \
mv -f /mnt/secbook/ADDITIONAL/OS/LINUX/LINUX_2_6_26/kernel/linux-2.6.26.3/.tmp_version /mnt/secbook/ADDITIONAL/OS/LINUX/LINUX_2_6_26/kernel/linux-2.6.26.3/.version
rpmbuild --target x86_64 -ta ../kernel-2.6.26.3default.tar.gz
Building target platforms: x86_64
Building for target x86_64
error: File ../kernel-2.6.26.3default.tar.gz: No such file or directory
sh: ../kernel-2.6.26.3default.tar.gz: No such file or directory
sh: ../kernel-2.6.26.3default.tar.gz: No such file or directory
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)
make[1]: *** [rpm] Error 1
make: *** [rpm] Error 2