Hack for the '-pthread' at make depend

P. Christeas p_christ at hol.gr
Tue Jan 6 04:01:49 CST 2004


>...
> FYI, I haven't managed to complete the make procedure anyway. It seems that
> the 2.6.0 kernel headers (/usr/include/linux/) wrt. the scsi ones have some
> trouble:
> gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_
> -D_REENTRANT -fPIC -Wall -mpreferred-stack-boundary=2 -fno-strict-aliasing
> -gstabs+ -Wpointer-arith  -g -O2 -o cdrom.o cdrom.c
> In file included from cdrom.c:47:
> /usr/include/scsi/scsi.h:203: error: syntax error before "u8"
> /usr/include/scsi/scsi.h:205: error: syntax error before "_r2"
> /usr/include/scsi/scsi.h:206: error: syntax error before
> "block_desc_length" /usr/include/scsi/scsi.h:207: error: syntax error
> before "density" /usr/include/scsi/scsi.h:208: error: syntax error before
> "number_blocks_hi" /usr/include/scsi/scsi.h:209: error: syntax error before
> "number_blocks_med" /usr/include/scsi/scsi.h:210: error: syntax error
> before "number_blocks_lo" /usr/include/scsi/scsi.h:211: error: syntax error
> before "_r3"
> /usr/include/scsi/scsi.h:212: error: syntax error before "block_length_hi"
> /usr/include/scsi/scsi.h:213: error: syntax error before "block_length_med"
> /usr/include/scsi/scsi.h:214: error: syntax error before "block_length_lo"
> /usr/include/scsi/scsi.h:221: error: syntax error before "u8"
> In file included from ../../include/winbase.h:22,
>                  from cdrom.c:79:
> ../../include/winerror.h:43:1: warning: "FAILED" redefined
> In file included from cdrom.c:47:
> /usr/include/scsi/scsi.h:301:1: warning: this is the location of the
> previous definition

Good news. I 've just seen this at LKML :
http://marc.theaimsgroup.com/?l=linux-kernel&m=107338033309435&w=2
It means that this compile oddity will be fixed at kernel side  (2.6.1).



More information about the wine-devel mailing list