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

Chris Cox cjcox at acm.org
Tue Mar 27 13:20:35 CST 2001


Make sure you're using kgcc and not just plain old gcc
on RH 7.0 kernel compiles (grumble...).  kgcc is the
non-broken compiler that you have to use to compile
the kernel.  RH wants you to use the broken gcc to
compile everything else :-)

I really don't think I will EVER recommend RH
to another person.

Regards,
Chris (SuSE user since 5.2)
...as usual, let the flames begin...

"George E. Lass" wrote:
> 
> 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)
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss



More information about the Discuss mailing list