Writing Makefile for Win32::Sound cp Sound.pm blib/lib/Win32/Sound.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 Sound.xs > Sound.xsc && mv Sound.xsc Sound.c gcc -c -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.45\" -DXS_VERSION=\"0.45\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" Sound.c Sound.xs:16:21: error: windows.h: No such file or directory Sound.xs:17:22: error: mmsystem.h: No such file or directory Sound.xs:16:21: error: windows.h: No such file or directory Sound.xs:17:22: error: mmsystem.h: No such file or directory Sound.xs:37: error: parse error before 'constant' Sound.xs:37: error: parse error before 'constant' Sound.xs:233: error: parse error before 'TranslateDevice' Sound.xs:233: error: parse error before 'LPUINT' Sound.xs: In function 'TranslateDevice': Sound.xs:234: error: 'name' undeclared (first use in this function) Sound.xs:234: error: (Each undeclared identifier is reported only once Sound.xs:234: error: for each function it appears in.) Sound.xs:235: error: 'type' undeclared (first use in this function) Sound.xs:236: error: 'id' undeclared (first use in this function) Sound.xs:266: error: 'WAVE_MAPPER' undeclared (first use in this function) Sound.xs:271: error: 'MIDI_MAPPER' undeclared (first use in this function) Sound.xs: At top level: Sound.xs:277: error: parse error before 'mmr' Sound.xs: In function 'WaveOutCheckError': Sound.xs:279: error: 'MAXERRORLENGTH' undeclared (first use in this function) Sound.xs:280: error: 'mmr' undeclared (first use in this function) Sound.xs:280: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs:283: error: 'LPSTR' undeclared (first use in this function) Sound.xs:283: error: parse error before 'errmsg' Sound.xs:233: error: parse error before 'TranslateDevice' Sound.xs:233: error: parse error before 'LPUINT' Sound.xs: In function 'TranslateDevice': Sound.xs:234: error: 'name' undeclared (first use in this function) Sound.xs:234: error: (Each undeclared identifier is reported only once Sound.xs:234: error: for each function it appears in.) Sound.xs:235: error: 'type' undeclared (first use in this function) Sound.xs:236: error: 'id' undeclared (first use in this function) Sound.xs:266: error: 'WAVE_MAPPER' undeclared (first use in this function) Sound.xs:271: error: 'MIDI_MAPPER' undeclared (first use in this function) Sound.xs: At top level: Sound.xs:277: error: parse error before 'mmr' Sound.xs: In function 'WaveOutCheckError': Sound.xs:279: error: 'MAXERRORLENGTH' undeclared (first use in this function) Sound.xs:280: error: 'mmr' undeclared (first use in this function) Sound.xs:280: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs:283: error: 'LPSTR' undeclared (first use in this function) Sound.xs:283: error: parse error before 'errmsg' Sound.xs: In function 'XS_Win32__Sound_Play': Sound.xs:315: error: 'HANDLE' undeclared (first use in this function) Sound.xs:315: error: parse error before 'myhandle' Sound.xs:316: error: 'UINT' undeclared (first use in this function) Sound.xs:317: error: 'LPCSTR' undeclared (first use in this function) Sound.xs:319: error: 'name' undeclared (first use in this function) Sound.xs:319: error: 'na' undeclared (first use in this function) Sound.xs:321: error: 'flag' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound_Play': Sound.xs:315: error: 'HANDLE' undeclared (first use in this function) Sound.xs:315: error: parse error before 'myhandle' Sound.xs:316: error: 'UINT' undeclared (first use in this function) Sound.xs:317: error: 'LPCSTR' undeclared (first use in this function) Sound.xs:319: error: 'name' undeclared (first use in this function) Sound.xs:319: error: 'na' undeclared (first use in this function) Sound.xs:321: error: 'flag' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__Volume': Sound.xs:338: error: 'DWORD' undeclared (first use in this function) Sound.xs:338: error: parse error before 'volume' Sound.xs:339: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:342: error: 'mmr' undeclared (first use in this function) Sound.xs:342: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:342: error: parse error before 'WAVE_MAPPER' Sound.xs:343: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs:346: error: 'volume' undeclared (first use in this function) Sound.xs:359: error: parse error before 'WAVE_MAPPER' Sound.xs: In function 'XS_Win32__Sound__Volume': Sound.xs:338: error: 'DWORD' undeclared (first use in this function) Sound.xs:338: error: parse error before 'volume' Sound.xs:339: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:342: error: 'mmr' undeclared (first use in this function) Sound.xs:342: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:342: error: parse error before 'WAVE_MAPPER' Sound.xs:343: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs:369: error: parse error before 'WAVE_MAPPER' Sound.xs:346: error: 'volume' undeclared (first use in this function) Sound.xs:359: error: parse error before 'WAVE_MAPPER' Sound.xs:369: error: parse error before 'WAVE_MAPPER' Sound.xs: In function 'XS_Win32__Sound_DeviceName': Sound.xs:382: error: 'WAVEOUTCAPS' undeclared (first use in this function) Sound.xs:382: error: parse error before 'woc' Sound.xs:383: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:384: error: 'woc' undeclared (first use in this function) Sound.xs:385: error: 'mmr' undeclared (first use in this function) Sound.xs:386: error: 'UINT' undeclared (first use in this function) Sound.xs:386: error: parse error before 'WAVE_MAPPER' Sound.xs:390: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound_Format': Sound.xs:404: error: 'HMMIO' undeclared (first use in this function) Sound.xs:404: error: parse error before 'mmio' Sound.xs:405: error: 'MMCKINFO' undeclared (first use in this function) Sound.xs:407: error: 'WAVEFORMATEX' undeclared (first use in this function) Sound.xs:408: error: 'mmio' undeclared (first use in this function) Sound.xs:408: error: 'LPSTR' undeclared (first use in this function) Sound.xs:408: error: parse error before 'filename' Sound.xs:409: error: 'mmchunk' undeclared (first use in this function) Sound.xs:410: error: 'MMIO_FINDRIFF' undeclared (first use in this function) Sound.xs:415: error: 'mmsubchunk' undeclared (first use in this function) Sound.xs:416: error: 'MMIO_FINDCHUNK' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound_DeviceName': Sound.xs:382: error: 'WAVEOUTCAPS' undeclared (first use in this function) Sound.xs:382: error: parse error before 'woc' Sound.xs:421: error: 'HPSTR' undeclared (first use in this function)Sound.xs:383: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:421: error: 'wavfmt' undeclared (first use in this function) Sound.xs:384: error: 'woc' undeclared (first use in this function) Sound.xs:385: error: 'mmr' undeclared (first use in this function) Sound.xs:386: error: 'UINT' undeclared (first use in this function) Sound.xs:386: error: parse error before 'WAVE_MAPPER' Sound.xs:390: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound_Format': Sound.xs:404: error: 'HMMIO' undeclared (first use in this function) Sound.xs:404: error: parse error before 'mmio' Sound.xs:405: error: 'MMCKINFO' undeclared (first use in this function) Sound.xs:407: error: 'WAVEFORMATEX' undeclared (first use in this function) Sound.xs:408: error: 'mmio' undeclared (first use in this function) Sound.xs:408: error: 'LPSTR' undeclared (first use in this function) Sound.xs:408: error: parse error before 'filename' Sound.xs:409: error: 'mmchunk' undeclared (first use in this function) Sound.xs:410: error: 'MMIO_FINDRIFF' undeclared (first use in this function) Sound.xs:415: error: 'mmsubchunk' undeclared (first use in this function) Sound.xs:416: error: 'MMIO_FINDCHUNK' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound_Devices': Sound.xs:435: error: 'UINT' undeclared (first use in this function) Sound.xs:435: error: parse error before 'i' Sound.xs:441: error: 'i' undeclared (first use in this function) Sound.xs:421: error: 'HPSTR' undeclared (first use in this function) Sound.xs:421: error: 'wavfmt' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound_Devices': Sound.xs:435: error: 'UINT' undeclared (first use in this function) Sound.xs:435: error: parse error before 'i' Sound.xs:441: error: 'i' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound_DeviceInfo': Sound.xs:479: error: 'UINT' undeclared (first use in this function) Sound.xs:479: error: parse error before 'type' Sound.xs:484: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:484: error: parse error before 'mmr' Sound.xs:485: error: 'WAVEINCAPS' undeclared (first use in this function) Sound.xs:486: error: 'WAVEOUTCAPS' undeclared (first use in this function) Sound.xs:487: error: 'MIDIINCAPS' undeclared (first use in this function) Sound.xs:488: error: 'MIDIOUTCAPS' undeclared (first use in this function) Sound.xs:489: error: 'AUXCAPS' undeclared (first use in this function) Sound.xs:490: error: 'MIXERCAPS' undeclared (first use in this function) Sound.xs:492: error: 'MAXERRORLENGTH' undeclared (first use in this function) Sound.xs:494: error: 'type' undeclared (first use in this function) Sound.xs:494: error: 'id' undeclared (first use in this function) Sound.xs:497: error: 'mmr' undeclared (first use in this function) Sound.xs:497: error: 'wicap' undeclared (first use in this function) Sound.xs:498: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs:518: error: 'LPSTR' undeclared (first use in this function) Sound.xs:518: error: parse error before 'errmsg' Sound.xs:525: error: 'wocap' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound_DeviceInfo': Sound.xs:479: error: 'UINT' undeclared (first use in this function) Sound.xs:479: error: parse error before 'type' Sound.xs:484: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:484: error: parse error before 'mmr' Sound.xs:485: error: 'WAVEINCAPS' undeclared (first use in this function) Sound.xs:486: error: 'WAVEOUTCAPS' undeclared (first use in this function) Sound.xs:487: error: 'MIDIINCAPS' undeclared (first use in this function) Sound.xs:488: error: 'MIDIOUTCAPS' undeclared (first use in this function) Sound.xs:489: error: 'AUXCAPS' undeclared (first use in this function) Sound.xs:490: error: 'MIXERCAPS' undeclared (first use in this function) Sound.xs:492: error: 'MAXERRORLENGTH' undeclared (first use in this function) Sound.xs:494: error: 'type' undeclared (first use in this function) Sound.xs:494: error: 'id' undeclared (first use in this function) Sound.xs:497: error: 'mmr' undeclared (first use in this function) Sound.xs:497: error: 'wicap' undeclared (first use in this function) Sound.xs:498: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs:548: error: parse error before 'errmsg' Sound.xs:555: error: 'micap' undeclared (first use in this function) Sound.xs:518: error: 'LPSTR' undeclared (first use in this function) Sound.xs:518: error: parse error before 'errmsg' Sound.xs:525: error: 'wocap' undeclared (first use in this function) Sound.xs:572: error: parse error before 'errmsg' Sound.xs:579: error: 'mocap' undeclared (first use in this function) Sound.xs:548: error: parse error before 'errmsg' Sound.xs:555: error: 'micap' undeclared (first use in this function) Sound.xs:606: error: parse error before 'errmsg' Sound.xs:572: error: parse error before 'errmsg'Sound.xs:613: error: 'acap' undeclared (first use in this function) Sound.xs:579: error: 'mocap' undeclared (first use in this function) Sound.xs:634: error: parse error before 'errmsg' Sound.xs:641: error: 'mcap' undeclared (first use in this function) Sound.xs:606: error: parse error before 'errmsg' Sound.xs:613: error: 'acap' undeclared (first use in this function) Sound.xs:662: error: parse error before 'errmsg' Sound.xs:634: error: parse error before 'errmsg' Sound.xs:641: error: 'mcap' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_OpenDevice': Sound.xs:687: error: 'WAVEFORMATEX' undeclared (first use in this function) Sound.xs:687: error: parse error before 'wavfmt' Sound.xs:688: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:662: error: parse error before 'errmsg'Sound.xs:691: error: 'wavfmt' undeclared (first use in this function) Sound.xs:691: error: 'WAVE_FORMAT_PCM' undeclared (first use in this function) Sound.xs:694: error: 'WORD' undeclared (first use in this function) Sound.xs:700: error: 'DWORD' undeclared (first use in this function) Sound.xs:724: error: 'wo' undeclared (first use in this function) Sound.xs:725: error: 'UINT' undeclared (first use in this function) Sound.xs:725: error: parse error before 'id' Sound.xs:731: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_OpenDevice': Sound.xs:687: error: 'WAVEFORMATEX' undeclared (first use in this function) Sound.xs:687: error: parse error before 'wavfmt' Sound.xs:688: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_CloseDevice': Sound.xs:745: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:745: error: parse error before 'wo' Sound.xs:691: error: 'wavfmt' undeclared (first use in this function) Sound.xs:691: error: 'WAVE_FORMAT_PCM' undeclared (first use in this function) Sound.xs:694: error: 'WORD' undeclared (first use in this function) Sound.xs:750: error: 'wo' undeclared (first use in this function) Sound.xs:700: error: 'DWORD' undeclared (first use in this function) Sound.xs:724: error: 'wo' undeclared (first use in this function) Sound.xs:725: error: 'UINT' undeclared (first use in this function) Sound.xs:725: error: parse error before 'id' Sound.xs:731: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_Load': Sound.xs:767: error: 'LPWAVEHDR' undeclared (first use in this function) Sound.xs:767: error: parse error before 'wh' Sound.xs:768: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:769: error: 'LPSTR' undeclared (first use in this function) Sound.xs:770: error: 'DWORD' undeclared (first use in this function) Sound.xs:771: error: 'HGLOBAL' undeclared (first use in this function) Sound.xs:777: error: 'wo' undeclared (first use in this function) Sound.xs:778: error: 'wavlength' undeclared (first use in this function) Sound.xs:779: error: 'hgdata' undeclared (first use in this function) Sound.xs:779: error: 'GMEM_MOVEABLE' undeclared (first use in this function) Sound.xs:779: error: 'GMEM_SHARE' undeclared (first use in this function) Sound.xs:781: error: 'wavdata' undeclared (first use in this function) Sound.xs:781: error: parse error before 'GlobalLock' Sound.xs:784: error: 'hghead' undeclared (first use in this function) Sound.xs:784: error: 'WAVEHDR' undeclared (first use in this function) Sound.xs:786: error: 'wh' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_CloseDevice':Sound.xs:786: error: parse error before 'GlobalLock' Sound.xs:745: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:745: error: parse error before 'wo' Sound.xs:750: error: 'wo' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_Write': Sound.xs:806: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:806: error: parse error before 'wo' Sound.xs:807: error: 'LPWAVEHDR' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_Load': Sound.xs:767: error: 'LPWAVEHDR' undeclared (first use in this function) Sound.xs:767: error: parse error before 'wh' Sound.xs:768: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:769: error: 'LPSTR' undeclared (first use in this function) Sound.xs:770: error: 'DWORD' undeclared (first use in this function) Sound.xs:771: error: 'HGLOBAL' undeclared (first use in this function) Sound.xs:812: error: 'wo' undeclared (first use in this function) Sound.xs:777: error: 'wo' undeclared (first use in this function) Sound.xs:778: error: 'wavlength' undeclared (first use in this function) Sound.xs:815: error: 'wh' undeclared (first use in this function) Sound.xs:779: error: 'hgdata' undeclared (first use in this function) Sound.xs:779: error: 'GMEM_MOVEABLE' undeclared (first use in this function) Sound.xs:779: error: 'GMEM_SHARE' undeclared (first use in this function) Sound.xs:816: error: 'WAVEHDR' undeclared (first use in this function)Sound.xs:781: error: 'wavdata' undeclared (first use in this function) Sound.xs:781: error: parse error before 'GlobalLock' Sound.xs:784: error: 'hghead' undeclared (first use in this function) Sound.xs:784: error: 'WAVEHDR' undeclared (first use in this function) Sound.xs:786: error: 'wh' undeclared (first use in this function) Sound.xs:786: error: parse error before 'GlobalLock' Sound.xs: In function 'XS_Win32__Sound__WaveOut_Save': Sound.xs:837: error: 'HMMIO' undeclared (first use in this function) Sound.xs:837: error: parse error before 'mmio' Sound.xs:838: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:839: error: 'LPWAVEHDR' undeclared (first use in this function) Sound.xs:840: error: 'WAVEFORMATEX' undeclared (first use in this function) Sound.xs:841: error: 'MMCKINFO' undeclared (first use in this function) Sound.xs:843: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:844: error: nested functions are not supported on MacOSX Sound.xs:844: error: syntax error before '*' token Sound.xs:845: error: 'LONG' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_Write': Sound.xs:806: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:806: error: parse error before 'wo' Sound.xs:807: error: 'LPWAVEHDR' undeclared (first use in this function) Sound.xs:848: error: 'wavfmt' undeclared (first use in this function) Sound.xs:848: error: 'WAVE_FORMAT_PCM' undeclared (first use in this function) Sound.xs:851: error: 'WORD' undeclared (first use in this function) Sound.xs:812: error: 'wo' undeclared (first use in this function) Sound.xs:853: error: 'dowarn' undeclared (first use in this function) Sound.xs:857: error: 'DWORD' undeclared (first use in this function) Sound.xs:815: error: 'wh' undeclared (first use in this function) Sound.xs:816: error: 'WAVEHDR' undeclared (first use in this function) Sound.xs:880: error: 'buffer' undeclared (first use in this function) Sound.xs:882: error: parse error before '_huge' Sound.xs:883: error: 'bufferlen' undeclared (first use in this function) Sound.xs:887: error: parse error before '_huge' Sound.xs:888: error: parse error before 'GlobalSize' Sound.xs:896: error: 'mmio' undeclared (first use in this function) Sound.xs:896: error: 'LPSTR' undeclared (first use in this function) Sound.xs:896: error: parse error before 'file' Sound.xs:897: error: 'mmchunk' undeclared (first use in this function) Sound.xs:899: error: 'mmr' undeclared (first use in this function) Sound.xs:899: error: 'MMIO_CREATERIFF' undeclared (first use in this function) Sound.xs:900: error: 'mmsubchunk' undeclared (first use in this function) Sound.xs:903: error: parse error before '_huge' Sound.xs: In function 'XS_Win32__Sound__WaveOut_Save': Sound.xs:837: error: 'HMMIO' undeclared (first use in this function) Sound.xs:837: error: parse error before 'mmio' Sound.xs:838: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:839: error: 'LPWAVEHDR' undeclared (first use in this function) Sound.xs:840: error: 'WAVEFORMATEX' undeclared (first use in this function) Sound.xs:841: error: 'MMCKINFO' undeclared (first use in this function) Sound.xs:843: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:844: error: nested functions are not supported on MacOSX Sound.xs:844: error: syntax error before '*' token Sound.xs:845: error: 'LONG' undeclared (first use in this function) Sound.xs:848: error: 'wavfmt' undeclared (first use in this function) Sound.xs:848: error: 'WAVE_FORMAT_PCM' undeclared (first use in this function) Sound.xs:851: error: 'WORD' undeclared (first use in this function) Sound.xs:853: error: 'dowarn' undeclared (first use in this function) Sound.xs:857: error: 'DWORD' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_Unload': Sound.xs:940: error: 'HGLOBAL' undeclared (first use in this function) Sound.xs:940: error: parse error before 'hg' Sound.xs:941: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:942: error: 'LPWAVEHDR' undeclared (first use in this function) Sound.xs:947: error: 'wo' undeclared (first use in this function) Sound.xs:950: error: 'wh' undeclared (first use in this function) Sound.xs:880: error: 'buffer' undeclared (first use in this function) Sound.xs:951: error: 'WHDR_PREPARED' undeclared (first use in this function)Sound.xs:882: error: parse error before '_huge' Sound.xs:954: error: parse error before 'wh' Sound.xs:883: error: 'bufferlen' undeclared (first use in this function) Sound.xs:959: error: 'hg' undeclared (first use in this function) Sound.xs:887: error: parse error before '_huge' Sound.xs:888: error: parse error before 'GlobalSize' Sound.xs:896: error: 'mmio' undeclared (first use in this function) Sound.xs:896: error: 'LPSTR' undeclared (first use in this function) Sound.xs:896: error: parse error before 'file' Sound.xs:897: error: 'mmchunk' undeclared (first use in this function) Sound.xs:899: error: 'mmr' undeclared (first use in this function) Sound.xs:899: error: 'MMIO_CREATERIFF' undeclared (first use in this function) Sound.xs:900: error: 'mmsubchunk' undeclared (first use in this function) Sound.xs:903: error: parse error before '_huge' Sound.xs: In function 'XS_Win32__Sound__WaveOut_Open': Sound.xs:990: error: 'HMMIO' undeclared (first use in this function) Sound.xs:990: error: parse error before 'mmio' Sound.xs:991: error: 'MMCKINFO' undeclared (first use in this function) Sound.xs:993: error: 'WAVEFORMATEX' undeclared (first use in this function) Sound.xs:994: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:995: error: 'MMRESULT' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_Unload': Sound.xs:940: error: 'HGLOBAL' undeclared (first use in this function) Sound.xs:940: error: parse error before 'hg'Sound.xs:1000: error: 'mmio' undeclared (first use in this function) Sound.xs:941: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:942: error: 'LPWAVEHDR' undeclared (first use in this function) Sound.xs:1005: error: 'wo' undeclared (first use in this function) Sound.xs:1008: error: 'LPSTR' undeclared (first use in this function) Sound.xs:1008: error: parse error before 'filename' Sound.xs:947: error: 'wo' undeclared (first use in this function) Sound.xs:950: error: 'wh' undeclared (first use in this function) Sound.xs:1013: error: 'mmchunk' undeclared (first use in this function) Sound.xs:951: error: 'WHDR_PREPARED' undeclared (first use in this function)Sound.xs:1014: error: 'MMIO_FINDRIFF' undeclared (first use in this function) Sound.xs:954: error: parse error before 'wh' Sound.xs:959: error: 'hg' undeclared (first use in this function) Sound.xs:1019: error: 'mmsubchunk' undeclared (first use in this function) Sound.xs:1020: error: 'MMIO_FINDCHUNK' undeclared (first use in this function) Sound.xs:1025: error: 'HPSTR' undeclared (first use in this function) Sound.xs:1025: error: 'wavfmt' undeclared (first use in this function) Sound.xs:1026: error: 'mmr' undeclared (first use in this function) Sound.xs:1028: error: 'UINT' undeclared (first use in this function) Sound.xs:1028: error: parse error before 'id' Sound.xs:1034: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_Open': Sound.xs:990: error: 'HMMIO' undeclared (first use in this function) Sound.xs:990: error: parse error before 'mmio' Sound.xs:991: error: 'MMCKINFO' undeclared (first use in this function) Sound.xs:993: error: 'WAVEFORMATEX' undeclared (first use in this function) Sound.xs:994: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:995: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:1000: error: 'mmio' undeclared (first use in this function) Sound.xs:1005: error: 'wo' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_Play': Sound.xs:1056: error: 'HMMIO' undeclared (first use in this function) Sound.xs:1056: error: parse error before 'mmio' Sound.xs:1058: error: 'HWAVEOUT' undeclared (first use in this function)Sound.xs:1008: error: 'LPSTR' undeclared (first use in this function) Sound.xs:1058: error: parse error before 'wo' Sound.xs:1008: error: parse error before 'filename' Sound.xs:1059: error: 'LPSTR' undeclared (first use in this function) Sound.xs:1060: error: 'DWORD' undeclared (first use in this function) Sound.xs:1061: error: 'MMCKINFO' undeclared (first use in this function) Sound.xs:1063: error: 'LPWAVEHDR' undeclared (first use in this function) Sound.xs:1064: error: 'HGLOBAL' undeclared (first use in this function) Sound.xs:1066: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:1013: error: 'mmchunk' undeclared (first use in this function) Sound.xs:1014: error: 'MMIO_FINDRIFF' undeclared (first use in this function) Sound.xs:1019: error: 'mmsubchunk' undeclared (first use in this function) Sound.xs:1020: error: 'MMIO_FINDCHUNK' undeclared (first use in this function) Sound.xs:1071: error: 'mmio' undeclared (first use in this function) Sound.xs:1025: error: 'HPSTR' undeclared (first use in this function) Sound.xs:1073: error: 'mmchunk' undeclared (first use in this function) Sound.xs:1025: error: 'wavfmt' undeclared (first use in this function) Sound.xs:1026: error: 'mmr' undeclared (first use in this function) Sound.xs:1074: error: 'MMIO_FINDRIFF' undeclared (first use in this function) Sound.xs:1028: error: 'UINT' undeclared (first use in this function) Sound.xs:1028: error: parse error before 'id' Sound.xs:1034: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs:1078: error: 'mmsubchunk' undeclared (first use in this function) Sound.xs:1079: error: 'MMIO_FINDCHUNK' undeclared (first use in this function) Sound.xs:1083: error: 'wavlength' undeclared (first use in this function) Sound.xs:1092: error: 'hgdata' undeclared (first use in this function) Sound.xs:1092: error: 'GMEM_MOVEABLE' undeclared (first use in this function) Sound.xs:1092: error: 'GMEM_SHARE' undeclared (first use in this function) Sound.xs:1094: error: 'wavdata' undeclared (first use in this function) Sound.xs:1094: error: parse error before 'GlobalLock' Sound.xs:1096: error: 'HPSTR' undeclared (first use in this function) Sound.xs:1096: error: parse error before 'wavdata' Sound.xs:1100: error: 'hghead' undeclared (first use in this function) Sound.xs:1100: error: 'WAVEHDR' undeclared (first use in this function) Sound.xs:1102: error: 'wh' undeclared (first use in this function) Sound.xs:1102: error: parse error before 'GlobalLock' Sound.xs:1109: error: 'wo' undeclared (first use in this function) Sound.xs:1110: error: 'mmr' undeclared (first use in this function) Sound.xs:1111: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs:1129: error: parse error before 'else' Sound.xs: In function 'XS_Win32__Sound__WaveOut_Play': Sound.xs:1056: error: 'HMMIO' undeclared (first use in this function) Sound.xs:1056: error: parse error before 'mmio' Sound.xs:1058: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:1058: error: parse error before 'wo' Sound.xs:1059: error: 'LPSTR' undeclared (first use in this function) Sound.xs:1060: error: 'DWORD' undeclared (first use in this function) Sound.xs:1061: error: 'MMCKINFO' undeclared (first use in this function) Sound.xs:1063: error: 'LPWAVEHDR' undeclared (first use in this function) Sound.xs:1064: error: 'HGLOBAL' undeclared (first use in this function) Sound.xs:1066: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:1071: error: 'mmio' undeclared (first use in this function) Sound.xs:1073: error: 'mmchunk' undeclared (first use in this function) Sound.xs:1074: error: 'MMIO_FINDRIFF' undeclared (first use in this function) Sound.xs:1078: error: 'mmsubchunk' undeclared (first use in this function) Sound.xs:1079: error: 'MMIO_FINDCHUNK' undeclared (first use in this function) Sound.xs:1083: error: 'wavlength' undeclared (first use in this function) Sound.c: At top level: Sound.c:1356: error: parse error before '(' token Sound.xs:1092: error: 'hgdata' undeclared (first use in this function) Sound.xs:1092: error: 'GMEM_MOVEABLE' undeclared (first use in this function) Sound.xs:1092: error: 'GMEM_SHARE' undeclared (first use in this function) Sound.xs:1094: error: 'wavdata' undeclared (first use in this function) Sound.xs:1094: error: parse error before 'GlobalLock' Sound.xs: In function 'XS_Win32__Sound__WaveOut_Status': Sound.xs:1140: error: 'LPWAVEHDR' undeclared (first use in this function) Sound.xs:1140: error: parse error before 'wh' Sound.xs:1096: error: 'HPSTR' undeclared (first use in this function) Sound.xs:1096: error: parse error before 'wavdata' Sound.xs:1144: error: 'wh' undeclared (first use in this function) Sound.xs:1145: error: 'WHDR_DONE' undeclared (first use in this function) Sound.xs:1100: error: 'hghead' undeclared (first use in this function) Sound.xs:1100: error: 'WAVEHDR' undeclared (first use in this function) Sound.xs:1102: error: 'wh' undeclared (first use in this function) Sound.xs:1102: error: parse error before 'GlobalLock' Sound.xs:1109: error: 'wo' undeclared (first use in this function) Sound.xs:1110: error: 'mmr' undeclared (first use in this function) Sound.xs:1111: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs:1129: error: parse error before 'else' Sound.c: In function 'XS_Win32__Sound__WaveOut_Position': Sound.c:1408: warning: useless type name in empty declaration Sound.xs:1162: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:1162: error: parse error before 'wo' Sound.xs:1163: error: 'MMTIME' undeclared (first use in this function) Sound.xs:1164: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:1166: error: 'TIME_SAMPLES' undeclared (first use in this function) Sound.xs:1170: error: 'wo' undeclared (first use in this function) Sound.xs:1171: error: 'mmt' undeclared (first use in this function) Sound.xs:1171: error: 'UINT' undeclared (first use in this function) Sound.xs:1171: error: parse error before 'ttype' Sound.xs:1172: error: 'mmr' undeclared (first use in this function) Sound.xs:1173: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs:1177: error: 'TIME_TICKS' undeclared (first use in this function) Sound.xs:1179: error: 'TIME_MS' undeclared (first use in this function) Sound.c: At top level: Sound.c:1356: error: parse error before '(' token Sound.xs: In function 'XS_Win32__Sound__WaveOut_Status': Sound.xs:1140: error: 'LPWAVEHDR' undeclared (first use in this function) Sound.xs:1140: error: parse error before 'wh' Sound.xs:1144: error: 'wh' undeclared (first use in this function) Sound.xs:1145: error: 'WHDR_DONE' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_Pause': Sound.xs:1203: error: 'HWAVEOUT' undeclared (first use in this function) Sound.c: In function 'XS_Win32__Sound__WaveOut_Position': Sound.c:1408: warning: useless type name in empty declaration Sound.xs:1162: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:1162: error: parse error before 'wo' Sound.xs:1163: error: 'MMTIME' undeclared (first use in this function)Sound.xs: In function 'XS_Win32__Sound__WaveOut_Restart': Sound.xs:1222: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:1164: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:1166: error: 'TIME_SAMPLES' undeclared (first use in this function) Sound.xs:1170: error: 'wo' undeclared (first use in this function) Sound.xs:1171: error: 'mmt' undeclared (first use in this function) Sound.xs:1171: error: 'UINT' undeclared (first use in this function) Sound.xs:1171: error: parse error before 'ttype' Sound.xs:1172: error: 'mmr' undeclared (first use in this function) Sound.xs:1173: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs:1177: error: 'TIME_TICKS' undeclared (first use in this function) Sound.xs:1179: error: 'TIME_MS' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_Reset': Sound.xs:1241: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_Pause': Sound.xs:1203: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut__Volume': Sound.xs:1254: error: 'DWORD' undeclared (first use in this function) Sound.xs:1254: error: parse error before 'volume' Sound.xs:1257: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:1257: error: parse error before 'wo' Sound.xs:1258: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:1262: error: 'wo' undeclared (first use in this function) Sound.xs:1265: error: 'mmr' undeclared (first use in this function) Sound.xs:1265: error: 'volume' undeclared (first use in this function) Sound.xs:1266: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_Restart': Sound.xs:1222: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_Reset': Sound.xs:1241: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_Close': Sound.xs:1312: error: 'HMMIO' undeclared (first use in this function) Sound.xs:1312: error: parse error before 'mmio' Sound.xs: In function 'XS_Win32__Sound__WaveOut__Volume': Sound.xs:1254: error: 'DWORD' undeclared (first use in this function) Sound.xs:1254: error: parse error before 'volume' Sound.xs:1257: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:1257: error: parse error before 'wo' Sound.xs:1316: error: 'mmio' undeclared (first use in this function)Sound.xs:1258: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:1262: error: 'wo' undeclared (first use in this function) Sound.xs:1265: error: 'mmr' undeclared (first use in this function) Sound.xs:1265: error: 'volume' undeclared (first use in this function) Sound.xs:1266: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut__Pitch': Sound.xs:1333: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:1333: error: parse error before 'wo' Sound.xs:1334: error: 'DWORD' undeclared (first use in this function) Sound.xs:1335: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:1340: error: 'wo' undeclared (first use in this function) Sound.xs:1342: error: 'mmr' undeclared (first use in this function) Sound.xs:1342: error: 'dwPitch' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut__PlaybackRate': Sound.xs:1363: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:1363: error: parse error before 'wo' Sound.xs:1364: error: 'DWORD' undeclared (first use in this function) Sound.xs:1365: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:1370: error: 'wo' undeclared (first use in this function) Sound.xs:1372: error: 'mmr' undeclared (first use in this function) Sound.xs:1372: error: 'dwRate' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_Close': Sound.xs:1312: error: 'HMMIO' undeclared (first use in this function) Sound.xs:1312: error: parse error before 'mmio' Sound.xs:1316: error: 'mmio' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_GetErrorText': Sound.xs:1391: error: 'MAXERRORLENGTH' undeclared (first use in this function) Sound.xs:1395: error: 'LPSTR' undeclared (first use in this function) Sound.xs:1395: error: parse error before 'errmsg' Sound.xs:1398: error: parse error before ')' token Sound.xs: In function 'XS_Win32__Sound__WaveOut__Pitch': Sound.xs:1333: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:1333: error: parse error before 'wo' Sound.xs:1334: error: 'DWORD' undeclared (first use in this function) Sound.xs:1335: error: 'MMRESULT' undeclared (first use in this function) Sound.xs: At top level: Sound.xs:1400: error: parse error before '(' token Sound.c:1776: error: parse error before '(' token Sound.xs:1340: error: 'wo' undeclared (first use in this function) Sound.xs:1342: error: 'mmr' undeclared (first use in this function) Sound.xs:1342: error: 'dwPitch' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_DESTROY': Sound.xs:1409: error: 'HGLOBAL' undeclared (first use in this function) Sound.xs:1409: error: parse error before 'hg' Sound.xs:1410: error: 'HMMIO' undeclared (first use in this function) Sound.xs:1411: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:1412: error: 'LPWAVEHDR' undeclared (first use in this function) Sound.xs:1413: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:1417: error: 'wh' undeclared (first use in this function) Sound.xs:1418: error: 'WHDR_PREPARED' undeclared (first use in this function) Sound.xs:1419: error: 'mmr' undeclared (first use in this function) Sound.xs:1419: error: 'wo' undeclared (first use in this function) Sound.xs:1421: error: parse error before 'wh' Sound.xs:1425: error: 'hg' undeclared (first use in this function) Sound.xs:1440: error: 'mmio' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut__PlaybackRate': Sound.xs:1363: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:1363: error: parse error before 'wo' Sound.xs:1364: error: 'DWORD' undeclared (first use in this function) Sound.xs:1365: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:1370: error: 'wo' undeclared (first use in this function) Sound.xs:1372: error: 'mmr' undeclared (first use in this function) Sound.xs:1372: error: 'dwRate' undeclared (first use in this function) Sound.xs: In function 'XS_Win32__Sound__WaveOut_GetErrorText': Sound.xs:1391: error: 'MAXERRORLENGTH' undeclared (first use in this function) Sound.xs:1395: error: 'LPSTR' undeclared (first use in this function) Sound.xs:1395: error: parse error before 'errmsg' Sound.xs:1398: error: parse error before ')' token Sound.xs: At top level: Sound.xs:1400: error: parse error before '(' token Sound.c:1776: error: parse error before '(' token Sound.xs: In function 'XS_Win32__Sound__WaveOut_DESTROY': Sound.xs:1409: error: 'HGLOBAL' undeclared (first use in this function) Sound.xs:1409: error: parse error before 'hg' Sound.xs:1410: error: 'HMMIO' undeclared (first use in this function) Sound.xs:1411: error: 'HWAVEOUT' undeclared (first use in this function) Sound.xs:1412: error: 'LPWAVEHDR' undeclared (first use in this function) Sound.xs:1413: error: 'MMRESULT' undeclared (first use in this function) Sound.xs:1417: error: 'wh' undeclared (first use in this function) Sound.xs:1418: error: 'WHDR_PREPARED' undeclared (first use in this function) Sound.xs:1419: error: 'mmr' undeclared (first use in this function) Sound.xs:1419: error: 'wo' undeclared (first use in this function) Sound.xs:1421: error: parse error before 'wh' Sound.xs:1425: error: 'hg' undeclared (first use in this function) Sound.xs:1440: error: 'mmio' undeclared (first use in this function) lipo: can't open input file: /var/tmp//cc6wYEMb.out (No such file or directory) make: *** [Sound.o] Error 1