Often nowadays they'll not have 'kernel-headers' but instead
'glibc-kernheaders' which is littered with '#ifdef __KERNEL__ #error' to
prevent people from doing that.
If you don't have the corresponding source and configuration, you cannot
build a module with any reasonable chance of success -- at least for my
definition of 'reasonable' in the context of shipping drivers to the Great
Unwashed.
> OTOH, for small device drivers you don't need the full blown kernel
> CFLAGS, you know what you need anyway.
Build for Alpha and tell me that again :)
-- dwmw2
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/