On Friday September 9, [EMAIL PROTECTED] wrote:
> 
>       Hello Neil ,  I patched all were successful .  But after a
>       make clean ; make
>       I get ...       Tia ,  JimL
> ..snip...
> gcc -Wall -Werror -Wstrict-prototypes -DCONFFILE=\"/etc/mdadm.conf\" -ggdb 
> -DSendmail=\""/usr/sbin/sendmail -t"\"   -c -o Assemble.o Assemble.c
> Assemble.c: In function `Assemble':
> Assemble.c:323: error: `nextspare' undeclared (first use in this function)
> Assemble.c:323: error: (Each undeclared identifier is reported only once
> Assemble.c:323: error: for each function it appears in.)
> make: *** [Assemble.o] Error 1

That's odd, as the patch contained:

--- ./Assemble.c~current~       2005-09-05 10:55:01.000000000 +1000
+++ ./Assemble.c        2005-09-09 16:24:50.000000000 +1000
@@ -119,6 +119,7 @@ int Assemble(struct supertype *st, char 
        struct mdinfo info;
        struct mddev_ident_s ident2;
        char *avail;
+       int nextspare = 0;
        
        vers = md_get_version(mdfd);
        if (vers <= 0) {


Maybe add that bit in by hand??

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to