Mailing List Archive

Pb while compiliing 2.2.0pre4
While compiling 2.2.0pre4, I got at the final link:
csum_partial_something missing.
That's because patch creates arch/i386/lib/checksum.S
and erases arch/i386/lib/checksum.c, but leaves it with a zero
size, so Make uses size 0 checksum.c to build checksum.o
instead of checksum.S
Is it normal ?
christophe
-
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/
Re: Pb while compiliing 2.2.0pre4 [ In reply to ]
> While compiling 2.2.0pre4, I got at the final link:
> csum_partial_something missing.
>
> That's because patch creates arch/i386/lib/checksum.S
> and erases arch/i386/lib/checksum.c, but leaves it with a zero
> size, so Make uses size 0 checksum.c to build checksum.o
> instead of checksum.S
>
> Is it normal ?
Older versions of patch dont delete files by default so yes
-
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/
Re: Pb while compiliing 2.2.0pre4 [ In reply to ]
christophe.leroy5@capway.com wrote:
> While compiling 2.2.0pre4, I got at the final link:[...]
> That's because patch creates arch/i386/lib/checksum.S
> and erases arch/i386/lib/checksum.c, but leaves it with a zero
> size, so Make uses size 0 checksum.c to build checksum.o
There's an option you can give to patch(1), -E, which causes it to remove
empty files when the result of patching deletes all remaining lines in the
file. Re-patch your kernel. The patch-kernel script uses both the -E and -N
options.
Kris
--
Kristofer Karas * kXtXk@bigfoot.com (delete X's)
AMA/CCS DoD RF900RR HawkGT !car * Senior systems engineer/SysAdmin
"Build a system that even a fool can use, * BI Deaconess Medical Center, Boston
and only a fool will want to use it." * Will design LISP machines for food
-
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/
Re: Working towards 2.2.0: Cosmetics.. [ In reply to ]
> int e8390_base = dev->base_addr;
> - struct ei_device *ei_local = (struct ei_device *) dev->priv;
> +#ifdef EI_LOCAL_NEEDED_FOR_EI_SHIFT
> + struct ei_device *ei_local = (struct ei_device *) dev->priv;
> +#endif
>
> outb_p(E8390_NODMA+E8390_PAGE0, e8390_base+E8390_CMD);
Linus has an opinion about such ifdefs. All those you submit to him vanish
mysteriously.
Alan
-
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/