Hi all, out of curiosity, I tried to rebuild my kernel.src.rpm
I have these packages installed: rpm -qa | grep kernel kernel-2.2.19-6.3mdk.src kernel-utils-2.2.19-6.3mdk kernel-secure-2.2.19-6.3mdk kernel-headers-2.2.19-6.3mdk kernel-source-2.2.19-6.3mdk as you can see, tht is pretty much everything. So I tried this: rpm --rebuild kernel-2.2.19-6.3mdk.src.rpm (I wanted to just get a quick i686 kernel without all the fuss of a normal source compile.) and I got this: + echo 'Patch #250 (linux-2.2.19-deep-symlinks-ptrace-security.patch.bz2):' Patch #250 (linux-2.2.19-deep-symlinks-ptrace-security.patch.bz2): + /usr/bin/bzip2 -d + patch -p1 -s + STATUS=0 + '[' 0 -ne 0 ']' + echo 'Patch #251 (linux-2.2.19-synq-security.patch.bz2):' Patch #251 (linux-2.2.19-synq-security.patch.bz2): + /usr/bin/bzip2 -d + patch -p1 -s + STATUS=0 + '[' 0 -ne 0 ']' + cp ibcs/CONFIG.i386 ibcs/CONFIG + cp /usr/src/RPM/SOURCES/rhkmvtag.c . + find . -name '*~' -o -name '*.orig' + xargs rm -f + rm -f pcmcia alsa + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.31501 + umask 022 + cd /usr/src/RPM/BUILD + cd linux ++ gcc --version + '[' 2.95.3 = 2.96 ']' + FLAGS=-O3 -fomit-frame-pointer -pipe -s -mcpu=pentiumpro -march=pentiumpro - ffast-math -fexpensive-optimizations + echo -O3 -fomit-frame-pointer -pipe -s -mcpu=pentiumpro -march=pentiumpro -f fast-math -fexpensive-optimizations -O3 -fomit-frame-pointer -pipe -s -mcpu=pentiumpro -march=pentiumpro -ffast- math -fexpensive-optimizations + '[' -z '' ']' + '[' -x /usr/bin/getconf ']' ++ /usr/bin/getconf _NPROCESSORS_ONLN + NRPROC=1 + '[' 1 -eq 0 ']' + rm -rf /var/tmp/kernel-2.2.19-6.3mdk-root + BuildSecure + cp arch/i386/defconfig arch/i386/defconfig.secureorig + BuildKernel secure + '[' -n secure ']' + Config=i686-secure + KernelVer=2.2.19-6.3mdksecure + echo BUILDING A KERNEL FOR secure... BUILDING A KERNEL FOR secure... + cp /usr/src/RPM/SOURCES/kernel-2.2.19-i686-secure.config arch/i386/defconfig cp: /usr/src/RPM/SOURCES/kernel-2.2.19-i686-secure.config: No such file or directory Bad exit status from /var/tmp/rpm-tmp.31501 (%build) So why is it missing that file or directory? I have installed everything bar the docs... don't get it,, anyone got any ideas? rgds Frank
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com