Re: Stop the Linux kernel madness

From: Martin J. Bligh
Date: Fri Jun 18 2004 - 00:53:42 EST


> Our commercial OSS drivers work perfectly with Linux 2.6.5, 2.6.6, 2.6.7
> and they are failing to install with SuSE's 2.6.5 kernel. The reason is that
> they have gone and changed the kernel headers which mean that nothing works.
>
> For instance our kernel interface module doesn't compile anymore we see the following
> errors:
>
>> make -C /lib/modules/`uname -r`/build scripts scripts_basic include/linux/version.h
>> make[1]: Entering directory `/usr/src/linux-2.6.5-7.75-obj/i386/bigsmp'
>> make[1]: Nothing to be done for `scripts'.
>> make[1]: *** No rule to make target `scripts_basic'. Stop.
>> make[1]: Leaving directory `/usr/src/linux-2.6.5-7.75-obj/i386/bigsmp'
>> make: *** [ossbuild] Error 2
>>
>> Trying to compile using INCLUDE=/lib/modules/2.6.5-7.75-bigsmp/build/include
>> In file included from /usr/include/asm/smp.h:18,
>> from /usr/include/linux/smp.h:17,
>> from /usr/include/linux/sched.h:23,
>> from /usr/include/linux/module.h:10,
>> from src/sndshield.c:49:
>> /usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
>> In file included from /usr/include/asm/smp.h:18,
>> from /usr/include/linux/smp.h:17,
>> from /usr/include/linux/sched.h:23,
>> from /usr/include/linux/module.h:10,
>
>
>
> Why is this happening?. It's working fine with Linux 2.6.5 and also worked with
> Linux 2.6.4 kernels from SuSE 9.1

Are you seriously trying to tell me that you write drivers, and you
can't figure out a simple include file dependency problem?

M.

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