The oddball thing is that it works for 2.2.19 which I have just cobbled.
--
Howard.
____________________________________________________
LANNet Computing Associates <http://lannetlinux.com>
"...well, it worked before _you_ touched it!"
On Mon, 2 Apr 2001, David Grubb wrote:
> Hi Howard,
>
> Not sure if this is still relevant for you or not, but I've been having the same
>problem when trying to compile kernel 2.2.17 on a Redhat 7 system.
>
> I've done a quick search on google.com -
>http://www.google.com/search?q=checksum.o+Error+1&btnG=Google+Search
>
> And found a lot of references advising to modify the Makefile by setting HOSTCC =
>kgcc and (a few lines below this) change gcc to kgcc.
>
> This is due to RH7s "broken" gcc package. Don't know if/how well it works yet (might
>try it when I get home tonight)
>
> Dave
>
> >>> Howard Lowndes <[EMAIL PROTECTED]> 03/29 8:33 am >>>
> I am trying to cobble the 2.2.17 kernel and am getting the following
> error:
>
> make[2]: Entering directory `/usr/src/linux-2.2.17/arch/i386/lib'
> cc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -traditional -c checksum.S
>-o checksum.o
> checksum.S:231: badly punctuated parameter list in #define
> checksum.S:237: badly punctuated parameter list in #define
> make[2]: *** [checksum.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.2.17/arch/i386/lib'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.2.17/arch/i386/lib'
> make: *** [_dir_arch/i386/lib] Error 2
>
> The specific piece of code appears to be:
>
> 226
> 227 #define SRC(y...) \
> 228 9999: y; \
> 229 .section __ex_table, "a"; \
> 230 .long 9999b, 6001f ; \
> 231 .previous
> 232
> 233 #define DST(y...) \
> 234 9999: y; \
> 235 .section __ex_table, "a"; \
> 236 .long 9999b, 6002f ; \
> 237 .previous
> 238
>
> Can someone tell me what is wrong with this as this is the first time I
> have had a problem cobbling a kernel. Normally it works like a charm.
>
>
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug