Re: kmsgdump 0.4 fails compile

Willy Tarreau (willy@novworld.Novecom.Fr)
Mon, 20 Sep 1999 22:23:01 +0200 (CEST)


>
> With kernel 2.2.12 and patches from Jens Axboe for the CDROM (sep14-2.2.diff),
> kmsgdump 0.4 causes the kernel compile to fail with:
>

yes, sorry I've just noticed it too. My assembler doesn't complain, but others
do. It seems they don't like the division in #defines. I don't understand why.
The only division is at line 55 in include/asm/kmsgdump.h. If you replace :

((NBHEADS*NBTRACKS*NBSECT)/SECTPERCLUST)
by
(NBHEADS*NBTRACKS*NBSECT)

then it works fine. (in this case, SECTPERCLUST equals 1 so it doesn't matter).

I'll update the patch as soon as possible, but at the moment the server is
being upgraded and my account doesn't work anymore :-(

Willy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/