Using the current CVS I get the following errors compiling Cdrom.c. My Linux version is a pretty stock 2.2.12 (yes it is old). Have we terminated support for older versions??
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -fPIC -D__WINE_ _ -D_NTSYSTEM_ -DBINDIR=""/usr/local/bin"" -DETCDIR=""/usr/local/etc"" -D_REENTRANT -I/usr/X11R6/include -o cdrom.o cdrom.c cdrom.c:83: `CDROM_PACKET_SIZE' undeclared here (not in a function) cdrom.c: In function `CDROM_GetIdeInterface': cdrom.c:119: `SG_EMULATED_HOST' undeclared (first use in this function) cdrom.c:119: (Each undeclared identifier is reported only once cdrom.c:119: for each function it appears in.) cdrom.c: In function `CDROM_ScsiPassThroughDirect': cdrom.c:1071: storage size of `sense' isn't known cdrom.c:1097: `CGC_DATA_WRITE' undeclared (first use in this function) cdrom.c:1100: `CGC_DATA_READ' undeclared (first use in this function) cdrom.c:1103: `CGC_DATA_NONE' undeclared (first use in this function) cdrom.c:1109: `CDROM_SEND_PACKET' undeclared (first use in this function) cdrom.c:1071: warning: unused variable `sense' cdrom.c: In function `CDROM_ScsiPassThrough': cdrom.c:1134: storage size of `sense' isn't known cdrom.c:1167: `CGC_DATA_WRITE' undeclared (first use in this function) cdrom.c:1170: `CGC_DATA_READ' undeclared (first use in this function) cdrom.c:1173: `CGC_DATA_NONE' undeclared (first use in this function) cdrom.c:1179: `CDROM_SEND_PACKET' undeclared (first use in this function) cdrom.c:1134: warning: unused variable `sense' make[2]: *** [cdrom.o] Error 1
I did a search and some of these symbols didn't show up till 2.2.16 or later.
Guy Albertelli <galberte@neo.lrun.com>