http://bugs.winehq.com/show_bug.cgi?id=753
*** shadow/753 Fri May 31 10:12:11 2002 --- shadow/753.tmp.25786 Fri May 31 10:12:11 2002 *************** *** 0 **** --- 1,34 ---- + +============================================================================+ + | compile error on non-2.4 kernel linux | + +----------------------------------------------------------------------------+ + | Bug #: 753 Product: Wine | + | Status: UNCONFIRMED Version: 20020509 | + | Resolution: Platform: | + | Severity: normal OS/Version: All | + | Priority: P1 Component: wine-binary | + +----------------------------------------------------------------------------+ + | Assigned To: wine-bugs@winehq.com | + | Reported By: karthan@bellsouth.net | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | Milestone: TargetMilestone: --- | + | URL: | + +============================================================================+ + | DESCRIPTION | + There is a problem in dlls/ntdll/cdrom.c which prevents wine from being built on + a non-2.4 kernel. + + The version of Wine I have is wine-20020509 and I am building it on a Slackware + 8.0, 2.2.20 kernel system. Commenting out the lines allows the build to + continue without error. It also appears to run well enough to play solitaire + (sol.exe). + + The following lines are the problems: + lines 105/106: (these are [not] defined in linux/major.h) + case IDE6_MAJOR: *iface = 6; break; + case IDE7_MAJOR: *iface = 7; break; + + + lines 1060/1061 and lines 1131/1132: (this struct is defined in linux/cdrom.h) + cmd.quiet = 0; + cmd.timeout = pPacket->TimeOutValue*HZ; \ No newline at end of file