* bug in include file!?
@ 2004-04-26 20:37 csg69
2004-04-28 14:08 ` Bill Davidsen
2004-04-28 14:24 ` Christoph Hellwig
0 siblings, 2 replies; 3+ messages in thread
From: csg69 @ 2004-04-26 20:37 UTC (permalink / raw)
To: linux-kernel
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.
yours sincerely
csg
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bug in include file!?
2004-04-26 20:37 bug in include file!? csg69
@ 2004-04-28 14:08 ` Bill Davidsen
2004-04-28 14:24 ` Christoph Hellwig
1 sibling, 0 replies; 3+ messages in thread
From: Bill Davidsen @ 2004-04-28 14:08 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bug in include file!?
2004-04-26 20:37 bug in include file!? csg69
2004-04-28 14:08 ` Bill Davidsen
@ 2004-04-28 14:24 ` Christoph Hellwig
1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2004-04-28 14:24 UTC (permalink / raw)
To: csg69; +Cc: linux-kernel
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-04-28 14:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox