Checking if your kit is complete... Looks good Writing Makefile for Linux::CDROM cp lib/Linux/CDROM.pm blib/lib/Linux/CDROM.pm AutoSplitting blib/lib/Linux/CDROM.pm (blib/lib/auto/Linux/CDROM) cp lib/Linux/CDROM/Cookbook.pm blib/lib/Linux/CDROM/Cookbook.pm /Users/cpanrun/pristine/5.8.7/bin/perl /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/xsubpp -typemap /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/typemap -typemap typemap CDROM.xs > CDROM.xsc && mv CDROM.xsc CDROM.c gcc -c -I. -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -pipe -O3 -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" CDROM.c CDROM.xs:12:25: error: linux/cdrom.h: No such file or directory CDROM.xs:12:25: error: linux/cdrom.h: No such file or directory CDROM.xs:41: error: field 'addr' has incomplete type CDROM.xs: In function 'msf_to_lba': CDROM.xs:51: error: 'CD_SECS' undeclared (first use in this function) CDROM.xs:51: error: (Each undeclared identifier is reported only once CDROM.xs:51: error: for each function it appears in.) CDROM.xs:51: error: 'CD_FRAMES' undeclared (first use in this function) CDROM.xs:51: error: 'CD_MSF_OFFSET' undeclared (first use in this function) CDROM.xs: In function 'lba_to_msf': CDROM.xs:54: error: 'CD_FRAMES' undeclared (first use in this function) CDROM.xs:57: error: 'CD_SECS' undeclared (first use in this function) CDROM.xs: In function 'to_lba': CDROM.xs:69: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs: In function 'num_frames': CDROM.xs:78: error: 'CDROM_LAST_WRITTEN' undeclared (first use in this function) CDROM.xs:41: error: field 'addr' has incomplete type CDROM.xs: In function 'msf_to_lba': CDROM.xs:51: error: 'CD_SECS' undeclared (first use in this function) CDROM.xs:51: error: (Each undeclared identifier is reported only once CDROM.xs:51: error: for each function it appears in.) CDROM.xs:51: error: 'CD_FRAMES' undeclared (first use in this function) CDROM.xs:51: error: 'CD_MSF_OFFSET' undeclared (first use in this function) CDROM.xs: In function 'lba_to_msf': CDROM.xs:54: error: 'CD_FRAMES' undeclared (first use in this function) CDROM.xs:57: error: 'CD_SECS' undeclared (first use in this function) CDROM.xs: In function 'to_lba': CDROM.xs:69: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs: In function 'num_frames': CDROM.xs:78: error: 'CDROM_LAST_WRITTEN' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_new': CDROM.xs:172: error: 'CDROM_GET_CAPABILITY' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_new': CDROM.xs:172: error: 'CDROM_GET_CAPABILITY' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_capabilities': CDROM.xs:235: error: 'CDROM_GET_CAPABILITY' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_drive_status': CDROM.xs:251: error: 'CDROM_DRIVE_STATUS' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_capabilities': CDROM.xs:235: error: 'CDROM_GET_CAPABILITY' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_drive_status': CDROM.xs:251: error: 'CDROM_DRIVE_STATUS' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_disc_status': CDROM.xs:265: error: 'CDROM_DISC_STATUS' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_disc_status': CDROM.xs:265: error: 'CDROM_DISC_STATUS' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_num_frames': CDROM.xs:280: error: 'CDROM_LAST_WRITTEN' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_num_frames': CDROM.xs:280: error: 'CDROM_LAST_WRITTEN' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_next_writable': CDROM.xs:294: error: 'CDROM_NEXT_WRITABLE' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_next_writable': CDROM.xs:294: error: 'CDROM_NEXT_WRITABLE' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_get_spindown': CDROM.xs:308: error: 'CDROMGETSPINDOWN' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_get_spindown': CDROM.xs:308: error: 'CDROMGETSPINDOWN' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_set_spindown': CDROM.xs:321: error: 'CDROMSETSPINDOWN' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_reset': CDROM.xs:331: error: 'CDROMRESET' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_eject': CDROM.xs:341: error: 'CDROMEJECT' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_auto_eject': CDROM.xs:352: error: 'CDROMEJECT_SW' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_set_spindown': CDROM.xs:321: error: 'CDROMSETSPINDOWN' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_reset': CDROM.xs:331: error: 'CDROMRESET' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_eject': CDROM.xs:341: error: 'CDROMEJECT' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_auto_eject': CDROM.xs:352: error: 'CDROMEJECT_SW' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_close_tray': CDROM.xs:362: error: 'CDROMCLOSETRAY' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_lock_door': CDROM.xs:373: error: 'CDROM_LOCKDOOR' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_close_tray': CDROM.xs:362: error: 'CDROMCLOSETRAY' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_lock_door': CDROM.xs:373: error: 'CDROM_LOCKDOOR' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_media_changed': CDROM.xs:385: error: 'CDROM_MEDIA_CHANGED' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_mcn': CDROM.xs:397: error: storage size of 'mcn' isn't known CDROM.xs:400: error: 'CDROM_GET_MCN' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_get_vol': CDROM.xs:411: error: storage size of 'vol' isn't known CDROM.xs: In function 'XS_Linux__CDROM_media_changed': CDROM.xs:385: error: 'CDROM_MEDIA_CHANGED' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_mcn': CDROM.xs:397: error: storage size of 'mcn' isn't known CDROM.xs:400: error: 'CDROM_GET_MCN' undeclared (first use in this function) CDROM.xs:414: error: 'CDROMVOLREAD' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_get_vol': CDROM.xs:411: error: storage size of 'vol' isn't known CDROM.xs:414: error: 'CDROMVOLREAD' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_set_vol': CDROM.xs:432: error: storage size of 'vol' isn't known CDROM.xs:439: error: 'CDROMVOLCTRL' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_play_msf': CDROM.xs:450: error: storage size of 'msf' isn't known CDROM.xs: In function 'XS_Linux__CDROM_set_vol': CDROM.xs:432: error: storage size of 'vol' isn't known CDROM.xs:456: error: 'CDROM_DISC_STATUS' undeclared (first use in this function) CDROM.xs:461: error: 'CDS_AUDIO' undeclared (first use in this function) CDROM.xs:468: error: 'CDROMPLAYMSF' undeclared (first use in this function) CDROM.xs:439: error: 'CDROMVOLCTRL' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_play_ti': CDROM.xs:484: error: storage size of 'ti' isn't known CDROM.xs: In function 'XS_Linux__CDROM_play_msf': CDROM.xs:450: error: storage size of 'msf' isn't known CDROM.xs:456: error: 'CDROM_DISC_STATUS' undeclared (first use in this function) CDROM.xs:461: error: 'CDS_AUDIO' undeclared (first use in this function) CDROM.xs:468: error: 'CDROMPLAYMSF' undeclared (first use in this function) CDROM.xs:492: error: 'CDROM_DISC_STATUS' undeclared (first use in this function) CDROM.xs:497: error: 'CDS_AUDIO' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_play_ti': CDROM.xs:484: error: storage size of 'ti' isn't known CDROM.xs:534: error: invalid application of 'sizeof' to incomplete type 'struct cdrom_tochdr' CDROM.xs:535: error: 'CDROMREADTOCHDR' undeclared (first use in this function) CDROM.xs:541: error: dereferencing pointer to incomplete type CDROM.xs:546: error: '__u8' undeclared (first use in this function) CDROM.xs:546: error: parse error before 'fromtr' CDROM.xs:547: error: parse error before 'fromidx' CDROM.xs:548: error: parse error before 'totr' CDROM.xs:549: error: parse error before 'toidx' CDROM.xs:551: error: 'CDROMPLAYTRKIND' undeclared (first use in this function) CDROM.xs:492: error: 'CDROM_DISC_STATUS' undeclared (first use in this function) CDROM.xs:497: error: 'CDS_AUDIO' undeclared (first use in this function) CDROM.xs:534: error: invalid application of 'sizeof' to incomplete type 'struct cdrom_tochdr' CDROM.xs:535: error: 'CDROMREADTOCHDR' undeclared (first use in this function) CDROM.xs:541: error: dereferencing pointer to incomplete type CDROM.xs:546: error: '__u8' undeclared (first use in this function) CDROM.xs:546: error: parse error before 'fromtr' CDROM.xs:547: error: parse error before 'fromidx' CDROM.xs:548: error: parse error before 'totr' CDROM.xs:549: error: parse error before 'toidx' CDROM.xs:551: error: 'CDROMPLAYTRKIND' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_pause': CDROM.xs:563: error: 'CDROMPAUSE' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_resume': CDROM.xs:573: error: 'CDROMRESUME' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_pause': CDROM.xs:563: error: 'CDROMPAUSE' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_resume': CDROM.xs:573: error: 'CDROMRESUME' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_start': CDROM.xs:583: error: 'CDROMSTART' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_stop': CDROM.xs:593: error: 'CDROMSTOP' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_read1': CDROM.xs:606: error: 'CD_FRAMESIZE' undeclared (first use in this function) CDROM.xs:606: warning: assignment from incompatible pointer type CDROM.xs:608: error: dereferencing pointer to incomplete type CDROM.xs:608: error: dereferencing pointer to incomplete type CDROM.xs:608: error: dereferencing pointer to incomplete type CDROM.xs:610: error: 'CDROMREADMODE1' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_start': CDROM.xs:583: error: 'CDROMSTART' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_stop': CDROM.xs:593: error: 'CDROMSTOP' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_read2': CDROM.xs:628: error: 'CD_FRAMESIZE_RAW0' undeclared (first use in this function) CDROM.xs:628: warning: assignment from incompatible pointer type CDROM.xs:630: error: dereferencing pointer to incomplete type CDROM.xs:630: error: dereferencing pointer to incomplete type CDROM.xs:630: error: dereferencing pointer to incomplete type CDROM.xs:632: error: 'CDROMREADMODE2' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_read1': CDROM.xs:606: error: 'CD_FRAMESIZE' undeclared (first use in this function) CDROM.xs:606: warning: assignment from incompatible pointer type CDROM.xs:608: error: dereferencing pointer to incomplete type CDROM.xs:608: error: dereferencing pointer to incomplete type CDROM.xs:608: error: dereferencing pointer to incomplete type CDROM.xs:610: error: 'CDROMREADMODE1' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_read_audio': CDROM.xs:648: error: storage size of 'audio' isn't known CDROM.xs:671: error: '__u8' undeclared (first use in this function) CDROM.xs:671: error: parse error before ')' token CDROM.xs:671: error: 'CD_FRAMESIZE_RAW' undeclared (first use in this function) CDROM.xs:671: error: parse error before ')' token CDROM.xs:675: error: 'CDROMREADAUDIO' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_read2': CDROM.xs:628: error: 'CD_FRAMESIZE_RAW0' undeclared (first use in this function) CDROM.xs:628: warning: assignment from incompatible pointer type CDROM.xs:630: error: dereferencing pointer to incomplete type CDROM.xs:630: error: dereferencing pointer to incomplete type CDROM.xs:630: error: dereferencing pointer to incomplete type CDROM.xs:632: error: 'CDROMREADMODE2' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_read_raw': CDROM.xs:719: error: 'CD_FRAMESIZE_RAW' undeclared (first use in this function) CDROM.xs:719: warning: assignment from incompatible pointer type CDROM.xs:721: error: dereferencing pointer to incomplete type CDROM.xs:721: error: dereferencing pointer to incomplete type CDROM.xs:721: error: dereferencing pointer to incomplete type CDROM.xs:723: error: 'CDROMREADRAW' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_read_audio': CDROM.xs:648: error: storage size of 'audio' isn't known CDROM.xs:671: error: '__u8' undeclared (first use in this function) CDROM.xs:671: error: parse error before ')' token CDROM.xs:671: error: 'CD_FRAMESIZE_RAW' undeclared (first use in this function) CDROM.xs:671: error: parse error before ')' token CDROM.xs:675: error: 'CDROMREADAUDIO' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_poll': CDROM.xs:740: error: invalid application of 'sizeof' to incomplete type 'CDROM_SUBCHANNEL' CDROM.xs:741: error: dereferencing pointer to incomplete type CDROM.xs:741: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs:742: error: 'CDROMSUBCHNL' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_read_raw': CDROM.xs:719: error: 'CD_FRAMESIZE_RAW' undeclared (first use in this function) CDROM.xs:719: warning: assignment from incompatible pointer type CDROM.xs:721: error: dereferencing pointer to incomplete type CDROM.xs:721: error: dereferencing pointer to incomplete type CDROM.xs:721: error: dereferencing pointer to incomplete type CDROM.xs:723: error: 'CDROMREADRAW' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_poll': CDROM.xs:740: error: invalid application of 'sizeof' to incomplete type 'CDROM_SUBCHANNEL' CDROM.xs:741: error: dereferencing pointer to incomplete type CDROM.xs:741: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs:742: error: 'CDROMSUBCHNL' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_toc': CDROM.xs:757: error: invalid application of 'sizeof' to incomplete type 'struct cdrom_tochdr' CDROM.xs:758: error: 'CDROMREADTOCHDR' undeclared (first use in this function) CDROM.xs:764: error: dereferencing pointer to incomplete type CDROM.xs:765: error: dereferencing pointer to incomplete type CDROM.xs: In function 'XS_Linux__CDROM_toc_entry': CDROM.xs:779: error: invalid application of 'sizeof' to incomplete type 'struct cdrom_tochdr' CDROM.xs:780: error: 'CDROMREADTOCHDR' undeclared (first use in this function) CDROM.xs:787: error: dereferencing pointer to incomplete type CDROM.xs:787: error: dereferencing pointer to incomplete type CDROM.xs:787: error: 'CDROM_LEADOUT' undeclared (first use in this function) CDROM.xs:792: error: invalid application of 'sizeof' to incomplete type 'CDROM_TOCENTRY' CDROM.xs:793: error: dereferencing pointer to incomplete type CDROM.xs:793: error: '__u8' undeclared (first use in this function) CDROM.xs:793: error: parse error before 'idx' CDROM.xs:794: error: dereferencing pointer to incomplete type CDROM.xs:794: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs:795: error: 'CDROMREADTOCENTRY' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_is_multisession': CDROM.xs:809: error: storage size of 'ms' isn't known CDROM.xs: In function 'XS_Linux__CDROM_toc': CDROM.xs:757: error: invalid application of 'sizeof' to incomplete type 'struct cdrom_tochdr' CDROM.xs:758: error: 'CDROMREADTOCHDR' undeclared (first use in this function) CDROM.xs:764: error: dereferencing pointer to incomplete type CDROM.xs:765: error: dereferencing pointer to incomplete type CDROM.xs: In function 'XS_Linux__CDROM_toc_entry': CDROM.xs:779: error: invalid application of 'sizeof' to incomplete type 'struct cdrom_tochdr' CDROM.xs:780: error: 'CDROMREADTOCHDR' undeclared (first use in this function) CDROM.xs:787: error: dereferencing pointer to incomplete type CDROM.xs:787: error: dereferencing pointer to incomplete type CDROM.xs:787: error: 'CDROM_LEADOUT' undeclared (first use in this function) CDROM.xs:792: error: invalid application of 'sizeof' to incomplete type 'CDROM_TOCENTRY' CDROM.xs:793: error: dereferencing pointer to incomplete type CDROM.xs:793: error: '__u8' undeclared (first use in this function) CDROM.xs:793: error: parse error before 'idx' CDROM.xs:794: error: dereferencing pointer to incomplete type CDROM.xs:794: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs:795: error: 'CDROMREADTOCENTRY' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_is_multisession': CDROM.xs:809: error: storage size of 'ms' isn't known CDROM.xs:812: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs:813: error: 'CDROMMULTISESSION' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_ioctl': CDROM.xs:833: warning: pointer targets in assignment differ in signedness CDROM.xs:836: warning: pointer targets in assignment differ in signedness CDROM.xs:812: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs:813: error: 'CDROMMULTISESSION' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM_ioctl': CDROM.xs:833: warning: pointer targets in assignment differ in signedness CDROM.xs:836: warning: pointer targets in assignment differ in signedness CDROM.xs: In function 'XS_Linux__CDROM__Addr_add': CDROM.xs:883: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM__Addr_sub': CDROM.xs:911: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM__Addr_add': CDROM.xs:883: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM__Addr_sub': CDROM.xs:911: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM__Addr_new': CDROM.xs:927: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs:935: error: 'CDROM_MSF' undeclared (first use in this function) CDROM.xs:940: error: '__u8' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM__Subchannel_status': CDROM.xs:1041: error: dereferencing pointer to incomplete type CDROM.xs: In function 'XS_Linux__CDROM__Subchannel_abs_addr': CDROM.xs:1054: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs:1055: error: dereferencing pointer to incomplete type CDROM.xs: In function 'XS_Linux__CDROM__Addr_new': CDROM.xs:927: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs:935: error: 'CDROM_MSF' undeclared (first use in this function) CDROM.xs:940: error: '__u8' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM__Subchannel_status': CDROM.xs:1041: error: dereferencing pointer to incomplete type CDROM.xs: In function 'XS_Linux__CDROM__Subchannel_abs_addr': CDROM.xs:1054: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs:1055: error: dereferencing pointer to incomplete type CDROM.xs: In function 'XS_Linux__CDROM__Subchannel_rel_addr': CDROM.xs:1069: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs:1070: error: dereferencing pointer to incomplete type CDROM.xs: In function 'XS_Linux__CDROM__Subchannel_rel_addr': CDROM.xs:1069: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs:1070: error: dereferencing pointer to incomplete type CDROM.xs: In function 'XS_Linux__CDROM__Subchannel_track': CDROM.xs:1081: error: dereferencing pointer to incomplete type CDROM.xs: In function 'XS_Linux__CDROM__Subchannel_index': CDROM.xs:1091: error: dereferencing pointer to incomplete type CDROM.xs: In function 'XS_Linux__CDROM__Subchannel_track': CDROM.xs:1081: error: dereferencing pointer to incomplete type CDROM.xs: In function 'XS_Linux__CDROM__TocEntry_addr': CDROM.xs:1114: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs:1115: error: dereferencing pointer to incomplete type CDROM.xs: In function 'XS_Linux__CDROM__TocEntry_adr': CDROM.xs:1126: error: dereferencing pointer to incomplete type CDROM.xs: In function 'XS_Linux__CDROM__Subchannel_index': CDROM.xs:1091: error: dereferencing pointer to incomplete type CDROM.xs: In function 'XS_Linux__CDROM__TocEntry_addr': CDROM.xs:1114: error: 'CDROM_LBA' undeclared (first use in this function) CDROM.xs:1115: error: dereferencing pointer to incomplete type CDROM.xs: In function 'XS_Linux__CDROM__TocEntry_adr': CDROM.xs:1126: error: dereferencing pointer to incomplete type CDROM.xs: In function 'XS_Linux__CDROM__TocEntry_is_data': CDROM.xs:1136: error: dereferencing pointer to incomplete type CDROM.xs:1136: error: 'CDROM_DATA_TRACK' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM__TocEntry_is_data': CDROM.xs:1136: error: dereferencing pointer to incomplete type CDROM.xs:1136: error: 'CDROM_DATA_TRACK' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM__TocEntry_is_audio': CDROM.xs:1146: error: dereferencing pointer to incomplete type CDROM.xs:1146: error: 'CDROM_DATA_TRACK' undeclared (first use in this function) CDROM.xs: In function 'XS_Linux__CDROM__TocEntry_is_audio': CDROM.xs:1146: error: dereferencing pointer to incomplete type CDROM.xs:1146: error: 'CDROM_DATA_TRACK' undeclared (first use in this function) lipo: can't open input file: /var/tmp//cc9ZBp10.out (No such file or directory) make: *** [CDROM.o] Error 1