On Sun, 12 May 2002, Paul Millar wrote: [...]
The first stumbling block was in dlls/ntdll/cdrom.c. Two routines in the file try to set members of the cdrom_generic_command structure (defined in linux/cdrom.h) that don't exist in 2.2.x kernels, but do exist in 2.4.x kernels.
See also the patch I sent there: http://www.winehq.com/hypermail/wine-devel/2002/05/0244.html
Note that you don't need to set cmd.quiet to 0 since you did a memset just before. So you only need the configure check for the timeout field.
The attached patch adds configure checks for these structure members and puts "#ifdef"s around the assignments in dlls/ntdll/cdrom.c . I don't know the knock-on effects for not setting these values, but presumably getting something to work is better than wine not compiling :)
I don't know. It could be seen as sweeping the bug under the carpet. Also it will probably make it quite hard to find out what's wrong.
-- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ Computers are like airconditioners They stop working properly if you open WINDOWS