Error: DVD driver for Darwin and Mac OS X

Jesper Nilsson jesnil at mac.com
Tue Oct 16 23:16:30 CEST 2001


I never saw the DVD driver for Darwin and Mac OS X before. So i was very 
happy to see something like this. But when im trying to compile it , Im 
getting build error.

I have the developer tools installed and compiled other stuff 
successful. Can someone tell me what im doing wrong?

/jesper nilsson

Error output:

DVDioctl.cpp: In function `int DVDBlockIoctl(int, long unsigned int, 
char *, int, proc *)':
/System/Library/Frameworks/Kernel.framework/Headers/IOKit/scsi-
commands/IOSCSIPrimaryCommandsDevice.h:113: `class OSObject * 
IOSCSIPrimaryCommandsDevice::GetSCSITask()' is protected
DVDioctl.cpp:491: within this context
DVDioctl.cpp:491: type `SCSITask' is not a base type for type `OSObject'
DVDioctl.cpp:504: no matching function for call to 
`IOSCSIMultimediaCommandsDevice::SendCommand (SCSITask *&)'
/System/Library/Frameworks/Kernel.framework/Headers/IOKit/scsi-
commands/IOSCSIPrimaryCommandsDevice.h:121: candidates are: enum 
SCSIServiceResponse IOSCSIPrimaryCommandsDevice::SendCommand(OSObject *, 
long unsigned int)
/System/Library/Frameworks/Kernel.framework/Headers/IOKit/scsi-
commands/IOSCSIPrimaryCommandsDevice.h:127:                 void 
IOSCSIPrimaryCommandsDevice::SendCommand(OSObject *, long unsigned int, 
void (*)(OSObject *))
/System/Library/Frameworks/Kernel.framework/Headers/IOKit/scsi-
commands/IOSCSIPrimaryCommandsDevice.h:116: `void 
IOSCSIPrimaryCommandsDevice::ReleaseSCSITask(OSObject *)' is protected
DVDioctl.cpp:525: within this context
DVDioctl.cpp:529: break statement not within loop or switch
DVDioctl.cpp:531: case label `0c0184202' not within a switch statement
DVDioctl.cpp:531: confused by earlier errors, bailing out
...failed CompileCplusplus 
/Users/jesnil/downloads/vlc-0.2.90/extras/MacOSX_dvdioctl/build/DVDioctl.build/
DVDioctl.build/Objects/ppc/DVDioctl.o ...
** BUILD FAILED **





More information about the vlc mailing list