Re: bug in include file!?

From: Christoph Hellwig
Date: Wed Apr 28 2004 - 09:27:07 EST


On Mon, Apr 26, 2004 at 10:37:10PM +0200, csg69@xxxxxxxxxx wrote:
> Finally I solved the problem by changing the value
> in cdrtools-2.00.3/DEFAULTS/Defaults.linux
>
> from the original:
> DEFINCDIRS= $(SRCROOT)/include /usr/src/linux/include
>
> to:
> DEFINCDIRS= $(SRCROOT)/include /usr/include
>
>
> It seems that in /usr/include/scsi/scsi.h everything is OK...
>
>
> It may be the error of the makefiles or the kernel include files...
>
> Joerg Schilling (schilling@xxxxxxxxxxxxxxxxxxx) advised me
> to send to you this report.
> He thinks this is a bug in kernel include files.

It's a bug in his package actually - userspace programs should not
use kernel headers. Your change to the makefile is the correct fix.

-
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/