Well, I tried posting this on [expert], since its an 8.2 question and
not a cooker question, but I'm not finding a wealth of help, or even of
basic understanding over there.
Specifically, on mdk8.2, an rpm --rebuild of the kernel .src.rpm is
failing in the middle of the kernel compile. Can anyone help me out?
Attached is the original post. Just to avoid any stupid responses like
I got on [expert], yes, I do in fact know what I'm doing, and do in fact
have a good reason for doing it. I'm assuming that somewhere, somehow,
someone did an rpm --rebuild of the kernel .src.rpm to generate the
kernel rpms that are in mdk82, I merely want to recreate that, so that
afterword I can add my own custom kernel patch, to be used in a custom
distribution.
-dmc
--- Begin Message ---
I tried rpm --rebuild /home/dmc/kernel-2.4.18.6mdk-1-1mdk.src.rpm
and after half an hour, got this
/usr/bin/gcc -D__KERNEL__ -I/usr/src/RPM/BUILD/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586
-DMODULE -DMODVERSIONS -include
/usr/src/RPM/BUILD/linux/include/linux/modversions.h
-DKBUILD_BASENAME=cache -c -o cache.o cache.c
/usr/bin/gcc -D__KERNEL__ -I/usr/src/RPM/BUILD/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586
-DMODULE -DMODVERSIONS -include
/usr/src/RPM/BUILD/linux/include/linux/modversions.h
-DKBUILD_BASENAME=journal -c -o journal.o journal.c
In file included from /usr/src/RPM/BUILD/linux/include/asm/semaphore.h:39,
from /usr/src/RPM/BUILD/linux/include/linux/fs.h:215,
from journal.c:11:
/usr/src/RPM/BUILD/linux/include/asm/system.h:203: parse error before
`volatime'
/usr/src/RPM/BUILD/linux/include/asm/system.h:204: warning: function
declaration isn't a prototype
/usr/src/RPM/BUILD/linux/include/asm/system.h: In function `__xchg':
/usr/src/RPM/BUILD/linux/include/asm/system.h:205: `size' undeclared
(first use in this function)
/usr/src/RPM/BUILD/linux/include/asm/system.h:205: (Each undeclared
identifier is reported only once
...
...
...
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
--- End Message ---