public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: csg69@mailbox.hu
Cc: linux-kernel@vger.kernel.org
Subject: Re: bug in include file!?
Date: Wed, 28 Apr 2004 15:24:30 +0100	[thread overview]
Message-ID: <20040428152430.A343@infradead.org> (raw)
In-Reply-To: <20040426203710.GA3005@matrix>; from csg69@mailbox.hu on Mon, Apr 26, 2004 at 10:37:10PM +0200

On Mon, Apr 26, 2004 at 10:37:10PM +0200, csg69@mailbox.hu 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@fokus.fraunhofer.de) 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.


      parent reply	other threads:[~2004-04-28 14:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-26 20:37 bug in include file!? csg69
2004-04-28 14:08 ` Bill Davidsen
2004-04-28 14:24 ` Christoph Hellwig [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040428152430.A343@infradead.org \
    --to=hch@infradead.org \
    --cc=csg69@mailbox.hu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox