From: Bill Davidsen <davidsen@tmr.com>
To: linux-kernel@vger.kernel.org
Subject: Re: bug in include file!?
Date: Wed, 28 Apr 2004 10:08:56 -0400 [thread overview]
Message-ID: <c6odm2$57s$1@gatekeeper.tmr.com> (raw)
In-Reply-To: <20040426203710.GA3005@matrix>
csg69@mailbox.hu wrote:
> Dear Linux Kernel Stuff!
>
>
> I encountered a strange error recently, when I tried to
> compile cdrtools-2.00.3 on my system (debian woody 3.0,
> kernel 2.6.5, gcc 2.95.4, make 3.79.1).
>
> The bug is in line 217 in /usr/src/linux/include/scsi/scsi.h
> gcc says: parse error before u8
> (I think everything is OK there)
>
> 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.
I believe he has set this up so that it won't compile correctly unless
you have a source tree at /usr/src/linux, and then he uses the includes
there. He has ignored being told this is not the proper way to do things.
It may be an unrelated problem, but I think he regards ever case where
the kernel people didn't do things for his convenience as a bug, and
writes his code to cause problems if you don't do it his way.
If you do audio burns it's worth fighting, they use DMA with the ATA:
interface. For data the last time I used ide-scsi it was working again,
although it's not the preferred way to operate. YMMV.
--
-bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
next prev parent reply other threads:[~2004-04-28 14:08 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 [this message]
2004-04-28 14:24 ` Christoph Hellwig
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='c6odm2$57s$1@gatekeeper.tmr.com' \
--to=davidsen@tmr.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.