[NTLUG:Discuss] REdHat 7 Kernel re-build problem

George E. Lass George.Lass at osc.com
Tue Mar 27 12:09:34 CST 2001


I hope someone out there can help......

I am trying to rebuild the kernel from the source rpm supplied on
the RedHat 7 distro, but am failing when trying to compile 

arch/i386/lib/checksum.S

checksum.S:231: badly punctuated parameter list in #define
checksum.S:237: badly punctuated parameter list in #define


Here are the #define(s) in question:


#define SRC(y...)                       \
        9999: y;                        \
        .section __ex_table, "a";       \
        .long 9999b, 6001f      ;       \
        .previous

#define DST(y...)                       \
        9999: y;                        \
        .section __ex_table, "a";       \
        .long 9999b, 6002f      ;       \
        .previous


The line numbers cited in the error messages are the last lines in each
macro:
        .previous



Anyone have any idea what the problem is?

TIA,

George

BTW, The proceedure I used to rebuild is as follows:

rpm -ivh kernel-2.2.16-22.src.rpm
rpm -bp kernel-2.2.spec
make mrproper
make menuconfig
make dep
make clean
make bzImage


The failure occured during "make bzImage"

G


-- 
... Unix IS a user friendly O/S ...
(It's just picky about its friends)



More information about the Discuss mailing list