"P. Christeas" p_christ@hol.gr writes:
On my configuration, the 'artsc-config' script outputs '-pthread' along with the '-Isth' entries. That broke the 'makedep' procedure. It's trivial. The following patch handles this.
The right fix is to get rid of that option at configure time (or better get rid of the config script at all, this stuff is broken anyway).
I thought of that when I was trying to see why the make had been broken. Unfortunately, the artsc-config script is not within "our" reach. Isn't the makedep utility supposed to have compiler's options as parameters?
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