Re: PCI-SCI Drivers v1.1-7 released

Alan Cox
2001-02-07T09:15:48Z

> always assume a stock kernel layout and will point to
> /usr/src/linux/include for modversioned includes and files.

You can't assume that. The big problem is right now nobody has set an
agreed location for kernel sources, you also cant assume they will be
present.

Its something the FHS needs to address eventually (where eventually is sooner
not later)

> Please also note that the RedHat 7.1 Fischer release with
> the Linux 2.4.0 kernel will report bogus .modinfo relocation
> warnings generated by the assembler while building some .c files
> against the kernel source tree. These messages are a due to
> severe bugs previously reported in the gcc 2.96 compiler and
> assembler on RedHat versions 7.0 and above (the list for gcc 2.96
> keeps growing).

Nope. They are due to bugs in the kernel source. The bug in question is
intentionally left in the kernel sources to handle issues with older modutils.
Keith posted 2.4.x patches to drop support for older modutils and in doing so
remove the warning.

Alan