Messages in this thread | | | From | Bill Davidsen <> | Subject | Re: bug in include file!? | Date | Wed, 28 Apr 2004 10:08:56 -0400 |
| |
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 - 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/
| |