Checking if your kit is complete... Looks good Writing Makefile for Win32API::MIDI cp MIDI/SysEX/Yamaha.pm blib/lib/Win32API/MIDI/SysEX/Yamaha.pm cp MIDI/SysEX/Roland.pm blib/lib/Win32API/MIDI/SysEX/Roland.pm cp MIDI.pm blib/lib/Win32API/MIDI.pm cp MIDI/Out.pm blib/lib/Win32API/MIDI/Out.pm cp MIDI/SysEX/MIDIbox.pm blib/lib/Win32API/MIDI/SysEX/MIDIbox.pm cp MIDI/SysEX.pm blib/lib/Win32API/MIDI/SysEX.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 MIDI.xs > MIDI.xsc && mv MIDI.xsc MIDI.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.05\" -DXS_VERSION=\"0.05\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" MIDI.c MIDI.xs:31:21: error: windows.h: No such file or directory MIDI.xs:32:22: error: mmsystem.h: No such file or directory MIDI.xs:34: error: parse error before 'mmsyserr' MIDI.xs:34: error: 'MMSYSERR_NOERROR' undeclared here (not in a function) MIDI.xs:34: warning: data definition has no type or storage class MIDI.xs:39: error: parse error before 'midiInProc_wrapper' MIDI.xs:40: error: parse error before 'HMIDIIN' MIDI.xs:40: warning: data definition has no type or storage class MIDI.xs:41: error: parse error before 'wMsg' MIDI.xs:41: warning: data definition has no type or storage class MIDI.xs:42: error: parse error before 'dwInstance' MIDI.xs:42: warning: data definition has no type or storage class MIDI.xs:43: error: parse error before 'dwParam1' MIDI.xs:43: warning: data definition has no type or storage class MIDI.xs:44: error: parse error before 'dwParam2' MIDI.xs:44: warning: data definition has no type or storage class MIDI.xs:47: error: parse error before '(' token MIDI.xs:48: error: parse error before '(' token MIDI.xs:31:21: MIDI.xs:50: error: parse error before '(' token MIDI.xs:69: error: parse error before '(' token error: windows.h: No such file or directory MIDI.xs:70: error: parse error before '++' tokenMIDI.xs:32:22: error: mmsystem.h: No such file or directory MIDI.xs:72: error: parse error before '++' token MIDI.xs:34: error: parse error before 'mmsyserr' MIDI.xs:74: error: parse error before '++' token MIDI.xs:34: error: 'MMSYSERR_NOERROR' undeclared here (not in a function) MIDI.xs:75: error: parse error before '++' token MIDI.xs:34: warning: data definition has no type or storage class MIDI.xs:76: error: parse error before '++' token MIDI.xs:39: error: parse error before 'midiInProc_wrapper' MIDI.xs:40: error: parse error before 'HMIDIIN' MIDI.xs:40: warning: data definition has no type or storage classMIDI.xs:77: error: parse error before '++' token MIDI.xs:41: error: parse error before 'wMsg' MIDI.xs:78: error: parse error before '(' token MIDI.xs:41: warning: data definition has no type or storage class MIDI.xs:80: error: parse error before '(' token MIDI.xs:42: error: parse error before 'dwInstance' MIDI.xs:42: warning: data definition has no type or storage class MIDI.xs:43: error: parse error before 'dwParam1'MIDI.xs:83: error: parse error before '(' token MIDI.xs:43: warning: data definition has no type or storage class MIDI.xs:44: error: parse error before 'dwParam2' MIDI.xs:44: warning: data definition has no type or storage class MIDI.xs:47: error: parse error before '(' token MIDI.xs:48: error: parse error before '(' token MIDI.xs:50: error: parse error before '(' token MIDI.xs:69: error: parse error before '(' token MIDI.xs:70: error: parse error before '++' token MIDI.xs:72: error: parse error before '++' token MIDI.xs:74: error: parse error before '++' token MIDI.xs:75: error: parse error before '++' token MIDI.xs:76: error: parse error before '++' token MIDI.xs:77: error: parse error before '++' token MIDI.xs:78: error: parse error before '(' token MIDI.xs:80: error: parse error before '(' token MIDI.xs:83: error: parse error before '(' token MIDI.c: In function 'XS_Win32API__MIDI_midiInGetNumDevs': MIDI.c:158: error: 'UINT' undeclared (first use in this function) MIDI.c:158: error: (Each undeclared identifier is reported only once MIDI.c:158: error: for each function it appears in.) MIDI.c:158: error: parse error before 'RETVAL' MIDI.c:161: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI_midiOutGetNumDevs': MIDI.c:176: error: 'UINT' undeclared (first use in this function) MIDI.c:176: error: parse error before 'RETVAL' MIDI.c:179: error: 'RETVAL' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI_midiOutGetDevCaps': MIDI.xs:151: error: 'MIDIOUTCAPS' undeclared (first use in this function) MIDI.xs:151: error: parse error before 'moc' MIDI.c:202: error: 'MIDI_MAPPER' undeclared (first use in this function) MIDI.xs:155: error: 'moc' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI_midiInGetNumDevs': MIDI.c:158: error: 'UINT' undeclared (first use in this function) MIDI.c:158: error: (Each undeclared identifier is reported only once MIDI.c:158: error: for each function it appears in.) MIDI.c:158: error: parse error before 'RETVAL' MIDI.c:161: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI_midiOutGetNumDevs': MIDI.c:176: error: 'UINT' undeclared (first use in this function) MIDI.c:176: error: parse error before 'RETVAL' MIDI.c:179: error: 'RETVAL' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI_midiOutGetDevCaps': MIDI.xs:151: error: 'MIDIOUTCAPS' undeclared (first use in this function) MIDI.xs:151: error: parse error before 'moc' MIDI.c:202: error: 'MIDI_MAPPER' undeclared (first use in this function) MIDI.xs:155: error: 'moc' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI_midiInGetDevCaps': MIDI.xs:197: error: 'MIDIINCAPS' undeclared (first use in this function) MIDI.xs:197: error: parse error before 'mic' MIDI.xs:201: error: 'mic' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI_midiInGetDevCaps': MIDI.xs:197: error: 'MIDIINCAPS' undeclared (first use in this function) MIDI.xs:197: error: parse error before 'mic' MIDI.xs:201: error: 'mic' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI_midiConnect': MIDI.c:278: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:278: error: parse error before 'RETVAL' MIDI.c:279: error: 'HMIDI' undeclared (first use in this function) MIDI.c:280: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:285: error: 'hMidi' undeclared (first use in this function) MIDI.c:285: error: parse error before 'tmp' MIDI.c:293: error: 'hmo' undeclared (first use in this function) MIDI.c:293: error: parse error before 'tmp' MIDI.c: In function 'XS_Win32API__MIDI_midiConnect': MIDI.c:278: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:278: error: parse error before 'RETVAL' MIDI.c:298: error: 'RETVAL' undeclared (first use in this function) MIDI.c:279: error: 'HMIDI' undeclared (first use in this function) MIDI.c:280: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:285: error: 'hMidi' undeclared (first use in this function) MIDI.c:285: error: parse error before 'tmp' MIDI.c:293: error: 'hmo' undeclared (first use in this function) MIDI.c:293: error: parse error before 'tmp' MIDI.c:298: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI_midiDisconnect': MIDI.c:316: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:316: error: parse error before 'RETVAL' MIDI.c:317: error: 'HMIDI' undeclared (first use in this function) MIDI.c:318: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:323: error: 'hMidi' undeclared (first use in this function) MIDI.c:323: error: parse error before 'tmp' MIDI.c: In function 'XS_Win32API__MIDI_midiDisconnect': MIDI.c:316: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:316: error: parse error before 'RETVAL' MIDI.c:317: error: 'HMIDI' undeclared (first use in this function) MIDI.c:318: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:331: error: 'hmo' undeclared (first use in this function) MIDI.c:331: error: parse error before 'tmp' MIDI.c:336: error: 'RETVAL' undeclared (first use in this function) MIDI.c:323: error: 'hMidi' undeclared (first use in this function) MIDI.c:323: error: parse error before 'tmp' MIDI.c:331: error: 'hmo' undeclared (first use in this function) MIDI.c:331: error: parse error before 'tmp' MIDI.c:336: error: 'RETVAL' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI__In_Open': MIDI.xs:266: error: 'HMIDIIN' undeclared (first use in this function) MIDI.xs:266: error: parse error before 'h' MIDI.c:360: error: 'DWORD' undeclared (first use in this function) MIDI.c:360: error: parse error before 'dwCallbackInstance' MIDI.c:364: error: 'dwCallbackInstance' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI__In_Open': MIDI.xs:266: error: 'HMIDIIN' undeclared (first use in this function) MIDI.xs:266: error: parse error before 'h' MIDI.c:370: error: 'dwFlags' undeclared (first use in this function) MIDI.c:370: error: 'CALLBACK_FUNCTION' undeclared (first use in this function) MIDI.c:360: error: 'DWORD' undeclared (first use in this function) MIDI.c:360: error: parse error before 'dwCallbackInstance' MIDI.c:364: error: 'dwCallbackInstance' undeclared (first use in this function) MIDI.xs:270: error: 'CALLBACK_NULL' undeclared (first use in this function) MIDI.xs:271: error: 'h' undeclared (first use in this function) MIDI.xs:272: error: 'DWORD_PTR' undeclared (first use in this function) MIDI.xs:273: error: 'RETVAL' undeclared (first use in this function) MIDI.c:370: error: 'dwFlags' undeclared (first use in this function) MIDI.c:370: error: 'CALLBACK_FUNCTION' undeclared (first use in this function) MIDI.xs:270: error: 'CALLBACK_NULL' undeclared (first use in this function) MIDI.xs:271: error: 'h' undeclared (first use in this function) MIDI.xs:272: error: 'DWORD_PTR' undeclared (first use in this function) MIDI.xs:273: error: 'RETVAL' undeclared (first use in this function) MIDI.xs:294: error: parse error before 'midiInProc_wrapper' MIDI.xs:294: error: parse error before 'midiInProc_wrapper' MIDI.c: In function 'XS_Win32API__MIDI__In_Close': MIDI.c:428: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:428: error: parse error before 'RETVAL' MIDI.c:429: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_Close': MIDI.c:428: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:428: error: parse error before 'RETVAL' MIDI.c:429: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:433: error: 'hmi' undeclared (first use in this function) MIDI.c:433: error: parse error before 'tmp' MIDI.c:438: error: 'RETVAL' undeclared (first use in this function) MIDI.c:433: error: 'hmi' undeclared (first use in this function) MIDI.c:433: error: parse error before 'tmp' MIDI.c:438: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_PrepareHeader': MIDI.c:456: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:456: error: parse error before 'RETVAL' MIDI.c:457: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_PrepareHeader':MIDI.c:458: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:456: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:456: error: parse error before 'RETVAL' MIDI.c:457: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:458: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:462: error: 'hmi' undeclared (first use in this function) MIDI.c:462: error: parse error before 'tmp' MIDI.c:462: error: 'hmi' undeclared (first use in this function)MIDI.c:467: error: 'RETVAL' undeclared (first use in this function) MIDI.c:462: error: parse error before 'tmp'MIDI.c:467: error: 'lpMidiInHdr' undeclared (first use in this function) MIDI.c:467: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c:467: error: 'RETVAL' undeclared (first use in this function) MIDI.c:467: error: 'lpMidiInHdr' undeclared (first use in this function) MIDI.c:467: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_UnprepareHeader': MIDI.c:485: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:485: error: parse error before 'RETVAL' MIDI.c:486: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:487: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_UnprepareHeader': MIDI.c:485: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:485: error: parse error before 'RETVAL' MIDI.c:486: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:487: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:491: error: 'hmi' undeclared (first use in this function) MIDI.c:491: error: parse error before 'tmp' MIDI.c:491: error: 'hmi' undeclared (first use in this function) MIDI.c:491: error: parse error before 'tmp' MIDI.c:496: error: 'RETVAL' undeclared (first use in this function) MIDI.c:496: error: 'lpMidiInHdr' undeclared (first use in this function) MIDI.c:496: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c:496: error: 'RETVAL' undeclared (first use in this function) MIDI.c:496: error: 'lpMidiInHdr' undeclared (first use in this function) MIDI.c:496: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_AddBuffer': MIDI.c:514: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:514: error: parse error before 'RETVAL' MIDI.c:515: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:516: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_AddBuffer': MIDI.c:514: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:514: error: parse error before 'RETVAL' MIDI.c:515: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:516: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:520: error: 'hmi' undeclared (first use in this function) MIDI.c:520: error: parse error before 'tmp' MIDI.c:525: error: 'RETVAL' undeclared (first use in this function) MIDI.c:525: error: 'lpMidiInHdr' undeclared (first use in this function) MIDI.c:525: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c:520: error: 'hmi' undeclared (first use in this function) MIDI.c:520: error: parse error before 'tmp' MIDI.c:525: error: 'RETVAL' undeclared (first use in this function) MIDI.c:525: error: 'lpMidiInHdr' undeclared (first use in this function) MIDI.c:525: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_Reset': MIDI.c:543: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:543: error: parse error before 'RETVAL' MIDI.c:544: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_Reset': MIDI.c:543: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:548: error: 'hmi' undeclared (first use in this function)MIDI.c:543: error: parse error before 'RETVAL' MIDI.c:548: error: parse error before 'tmp'MIDI.c:544: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:553: error: 'RETVAL' undeclared (first use in this function) MIDI.c:548: error: 'hmi' undeclared (first use in this function) MIDI.c:548: error: parse error before 'tmp' MIDI.c:553: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_Start': MIDI.c:571: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:571: error: parse error before 'RETVAL' MIDI.c:572: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:576: error: 'hmi' undeclared (first use in this function) MIDI.c:576: error: parse error before 'tmp' MIDI.c:581: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_Stop': MIDI.c:599: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:599: error: parse error before 'RETVAL' MIDI.c:600: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:604: error: 'hmi' undeclared (first use in this function) MIDI.c:604: error: parse error before 'tmp' MIDI.c:609: error: 'RETVAL' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI__In_GetErrorText': MIDI.xs:397: error: 'MAXERRORLENGTH' undeclared (first use in this function) MIDI.c:632: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:632: error: parse error before 'wError' MIDI.c:635: error: 'wError' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI__In_GetID': MIDI.xs:409: error: 'UINT' undeclared (first use in this function) MIDI.xs:409: error: parse error before 'id' MIDI.c:663: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:663: error: parse error before 'hmi' MIDI.c:667: error: 'hmi' undeclared (first use in this function) MIDI.c:667: error: parse error before 'tmp' MIDI.xs:412: error: 'id' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI__Out_Open': MIDI.xs:442: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.xs:442: error: parse error before 'h' MIDI.c:696: error: 'DWORD' undeclared (first use in this function) MIDI.c:696: error: parse error before 'dwCallback' MIDI.c:701: error: 'MIDI_MAPPER' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_Start': MIDI.c:571: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:571: error: parse error before 'RETVAL' MIDI.c:572: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:576: error: 'hmi' undeclared (first use in this function) MIDI.c:576: error: parse error before 'tmp' MIDI.c:581: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_Stop': MIDI.c:599: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:599: error: parse error before 'RETVAL' MIDI.c:600: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:604: error: 'hmi' undeclared (first use in this function) MIDI.c:604: error: parse error before 'tmp' MIDI.c:609: error: 'RETVAL' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI__In_GetErrorText': MIDI.xs:397: error: 'MAXERRORLENGTH' undeclared (first use in this function) MIDI.c:632: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:632: error: parse error before 'wError' MIDI.c:635: error: 'wError' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI__In_GetID': MIDI.xs:409: error: 'UINT' undeclared (first use in this function) MIDI.xs:409: error: parse error before 'id' MIDI.c:663: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:663: error: parse error before 'hmi' MIDI.c:667: error: 'hmi' undeclared (first use in this function) MIDI.c:667: error: parse error before 'tmp' MIDI.xs:412: error: 'id' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI__Out_Open': MIDI.xs:442: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.xs:442: error: parse error before 'h' MIDI.c:696: error: 'DWORD' undeclared (first use in this function) MIDI.c:696: error: parse error before 'dwCallback' MIDI.c:701: error: 'MIDI_MAPPER' undeclared (first use in this function) MIDI.c:707: error: 'dwCallback' undeclared (first use in this function) MIDI.c:713: error: 'dwCallbackInstance' undeclared (first use in this function) MIDI.c:719: error: 'dwFlags' undeclared (first use in this function) MIDI.c:719: error: 'CALLBACK_NULL' undeclared (first use in this function) MIDI.xs:447: error: 'h' undeclared (first use in this function) MIDI.xs:449: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_Close': MIDI.c:754: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:754: error: parse error before 'RETVAL' MIDI.c:755: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:760: error: 'hmo' undeclared (first use in this function) MIDI.c:760: error: parse error before 'tmp' MIDI.c:765: error: 'RETVAL' undeclared (first use in this function) MIDI.c:707: error: 'dwCallback' undeclared (first use in this function) MIDI.c:713: error: 'dwCallbackInstance' undeclared (first use in this function) MIDI.c:719: error: 'dwFlags' undeclared (first use in this function) MIDI.c:719: error: 'CALLBACK_NULL' undeclared (first use in this function) MIDI.xs:447: error: 'h' undeclared (first use in this function) MIDI.xs:449: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_LongMsg': MIDI.c:783: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:783: error: parse error before 'RETVAL' MIDI.c:784: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:785: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_Close': MIDI.c:754: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:754: error: parse error before 'RETVAL' MIDI.c:755: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:790: error: 'hmo' undeclared (first use in this function) MIDI.c:790: error: parse error before 'tmp' MIDI.c:795: error: 'RETVAL' undeclared (first use in this function) MIDI.c:760: error: 'hmo' undeclared (first use in this function) MIDI.c:795: error: 'lpMidiOutHdr' undeclared (first use in this function) MIDI.c:760: error: parse error before 'tmp' MIDI.c:795: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c:765: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_LongMsg': MIDI.c:783: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:783: error: parse error before 'RETVAL' MIDI.c:784: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:785: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_Reset':MIDI.c:790: error: 'hmo' undeclared (first use in this function) MIDI.c:813: error: 'MMRESULT' undeclared (first use in this function)MIDI.c:790: error: parse error before 'tmp' MIDI.c:795: error: 'RETVAL' undeclared (first use in this function) MIDI.c:795: error: 'lpMidiOutHdr' undeclared (first use in this function) MIDI.c:813: error: parse error before 'RETVAL' MIDI.c:814: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:819: error: 'hmo' undeclared (first use in this function) MIDI.c:819: error: parse error before 'tmp' MIDI.c:824: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_ShortMsg': MIDI.c:842: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:842: error: parse error before 'RETVAL' MIDI.c:843: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:844: error: 'DWORD' undeclared (first use in this function) MIDI.c:849: error: 'hmo' undeclared (first use in this function) MIDI.c:849: error: parse error before 'tmp' MIDI.c:854: error: 'RETVAL' undeclared (first use in this function) MIDI.c:854: error: 'dwMsg' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_PrepareHeader': MIDI.c:872: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:872: error: parse error before 'RETVAL' MIDI.c:873: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:795: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_Reset': MIDI.c:813: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:813: error: parse error before 'RETVAL' MIDI.c:814: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:819: error: 'hmo' undeclared (first use in this function) MIDI.c:819: error: parse error before 'tmp' MIDI.c:824: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_ShortMsg': MIDI.c:842: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:842: error: parse error before 'RETVAL' MIDI.c:843: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:844: error: 'DWORD' undeclared (first use in this function) MIDI.c:849: error: 'hmo' undeclared (first use in this function) MIDI.c:849: error: parse error before 'tmp' MIDI.c:854: error: 'RETVAL' undeclared (first use in this function) MIDI.c:854: error: 'dwMsg' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_PrepareHeader': MIDI.c:872: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:872: error: parse error before 'RETVAL' MIDI.c:873: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:874: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:879: error: 'hmo' undeclared (first use in this function) MIDI.c:879: error: parse error before 'tmp' MIDI.c:884: error: 'RETVAL' undeclared (first use in this function) MIDI.c:884: error: 'lpMidiOutHdr' undeclared (first use in this function) MIDI.c:884: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_UnprepareHeader': MIDI.c:902: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:902: error: parse error before 'RETVAL' MIDI.c:903: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:904: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:909: error: 'hmo' undeclared (first use in this function) MIDI.c:909: error: parse error before 'tmp' MIDI.c:914: error: 'RETVAL' undeclared (first use in this function) MIDI.c:914: error: 'lpMidiOutHdr' undeclared (first use in this function) MIDI.c:914: error: 'MIDIHDR' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI__Out_GetErrorText': MIDI.xs:550: error: 'MAXERRORLENGTH' undeclared (first use in this function) MIDI.c:937: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:937: error: parse error before 'wError' MIDI.c:940: error: 'wError' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI__Out_GetID': MIDI.xs:571: error: 'UINT' undeclared (first use in this function) MIDI.xs:571: error: parse error before 'id' MIDI.c:971: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:971: error: parse error before 'hmo' MIDI.c:976: error: 'hmo' undeclared (first use in this function) MIDI.c:976: error: parse error before 'tmp' MIDI.xs:573: error: 'id' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI__Stream_Open': MIDI.xs:635: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.xs:635: error: parse error before 'h' MIDI.c:1005: error: 'DWORD' undeclared (first use in this function) MIDI.c:1005: error: parse error before 'dwCallback' MIDI.c:1010: error: 'MIDI_MAPPER' undeclared (first use in this function) MIDI.c:1016: error: 'dwCallback' undeclared (first use in this function) MIDI.c:874: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:879: error: 'hmo' undeclared (first use in this function) MIDI.c:879: error: parse error before 'tmp' MIDI.c:884: error: 'RETVAL' undeclared (first use in this function) MIDI.c:884: error: 'lpMidiOutHdr' undeclared (first use in this function) MIDI.c:884: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_UnprepareHeader': MIDI.c:902: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:902: error: parse error before 'RETVAL' MIDI.c:903: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:904: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:909: error: 'hmo' undeclared (first use in this function) MIDI.c:909: error: parse error before 'tmp' MIDI.c:914: error: 'RETVAL' undeclared (first use in this function) MIDI.c:914: error: 'lpMidiOutHdr' undeclared (first use in this function) MIDI.c:914: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c:1028: error: 'fdwOpen' undeclared (first use in this function) MIDI.c:1028: error: 'CALLBACK_NULL' undeclared (first use in this function) MIDI.xs:640: error: 'h' undeclared (first use in this function) MIDI.xs:642: error: 'RETVAL' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI__Out_GetErrorText': MIDI.xs:550: error: 'MAXERRORLENGTH' undeclared (first use in this function) MIDI.c:937: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:937: error: parse error before 'wError' MIDI.c:940: error: 'wError' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Close': MIDI.c:1063: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1063: error: parse error before 'RETVAL' MIDI.c:1064: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1068: error: 'hStream' undeclared (first use in this function) MIDI.c:1068: error: parse error before 'tmp' MIDI.xs: In function 'XS_Win32API__MIDI__Out_GetID': MIDI.xs:571: error: 'UINT' undeclared (first use in this function) MIDI.xs:571: error: parse error before 'id' MIDI.c:971: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:971: error: parse error before 'hmo' MIDI.c:1073: error: 'RETVAL' undeclared (first use in this function)MIDI.c:976: error: 'hmo' undeclared (first use in this function) MIDI.c:976: error: parse error before 'tmp' MIDI.xs:573: error: 'id' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI__Stream_Open': MIDI.xs:635: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.xs:635: error: parse error before 'h' MIDI.c:1005: error: 'DWORD' undeclared (first use in this function) MIDI.c:1005: error: parse error before 'dwCallback' MIDI.c:1010: error: 'MIDI_MAPPER' undeclared (first use in this function) MIDI.c:1016: error: 'dwCallback' undeclared (first use in this function) MIDI.c:1028: error: 'fdwOpen' undeclared (first use in this function) MIDI.c:1028: error: 'CALLBACK_NULL' undeclared (first use in this function) MIDI.xs:640: error: 'h' undeclared (first use in this function) MIDI.xs:642: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Close': MIDI.c:1063: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1063: error: parse error before 'RETVAL' MIDI.c:1064: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1068: error: 'hStream' undeclared (first use in this function) MIDI.c:1068: error: parse error before 'tmp' MIDI.c:1073: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Out': MIDI.c:1091: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1091: error: parse error before 'RETVAL' MIDI.c:1092: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1093: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:1097: error: 'hMidiStream' undeclared (first use in this function) MIDI.c:1097: error: parse error before 'tmp' MIDI.c: In function 'XS_Win32API__MIDI__Stream_Out': MIDI.c:1091: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1091: error: parse error before 'RETVAL' MIDI.c:1092: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1093: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:1097: error: 'hMidiStream' undeclared (first use in this function) MIDI.c:1097: error: parse error before 'tmp' MIDI.c:1102: error: 'RETVAL' undeclared (first use in this function) MIDI.c:1102: error: 'lpMidiHdr' undeclared (first use in this function) MIDI.c:1102: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Restart': MIDI.c:1120: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1120: error: parse error before 'RETVAL' MIDI.c:1121: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1125: error: 'hms' undeclared (first use in this function) MIDI.c:1125: error: parse error before 'tmp' MIDI.c:1130: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Pause': MIDI.c:1148: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1148: error: parse error before 'RETVAL' MIDI.c:1149: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1153: error: 'hms' undeclared (first use in this function) MIDI.c:1153: error: parse error before 'tmp' MIDI.c:1158: error: 'RETVAL' undeclared (first use in this function) MIDI.c:1102: error: 'RETVAL' undeclared (first use in this function) MIDI.c:1102: error: 'lpMidiHdr' undeclared (first use in this function) MIDI.c:1102: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Restart': MIDI.c:1120: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1120: error: parse error before 'RETVAL' MIDI.c:1121: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1125: error: 'hms' undeclared (first use in this function) MIDI.c:1125: error: parse error before 'tmp' MIDI.c:1130: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Stop': MIDI.c:1176: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1176: error: parse error before 'RETVAL' MIDI.c:1177: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1181: error: 'hms' undeclared (first use in this function) MIDI.c:1181: error: parse error before 'tmp' MIDI.c:1186: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Pause': MIDI.c:1148: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1148: error: parse error before 'RETVAL' MIDI.c:1149: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1153: error: 'hms' undeclared (first use in this function) MIDI.c:1153: error: parse error before 'tmp' MIDI.c:1158: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Position': MIDI.c:1204: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1204: error: parse error before 'RETVAL' MIDI.c:1205: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1206: error: 'LPMMTIME' undeclared (first use in this function) MIDI.c:1210: error: 'hms' undeclared (first use in this function) MIDI.c:1210: error: parse error before 'tmp' MIDI.c:1215: error: 'RETVAL' undeclared (first use in this function) MIDI.c:1215: error: 'pmmt' undeclared (first use in this function) MIDI.c:1215: error: 'MMTIME' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Stop': MIDI.c:1176: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1176: error: parse error before 'RETVAL' MIDI.c:1177: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1181: error: 'hms' undeclared (first use in this function) MIDI.c:1181: error: parse error before 'tmp' MIDI.c:1186: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Property': MIDI.c:1233: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1233: error: parse error before 'RETVAL' MIDI.c:1234: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1235: error: 'LPBYTE' undeclared (first use in this function) MIDI.c:1240: error: 'hms' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Position':MIDI.c:1240: error: parse error before 'tmp' MIDI.c:1204: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1204: error: parse error before 'RETVAL' MIDI.c:1245: error: 'RETVAL' undeclared (first use in this function) MIDI.c:1205: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1245: error: 'lppropdata' undeclared (first use in this function) MIDI.c:1206: error: 'LPMMTIME' undeclared (first use in this function) MIDI.c:1210: error: 'hms' undeclared (first use in this function) MIDI.c:1210: error: parse error before 'tmp' MIDI.c:1215: error: 'RETVAL' undeclared (first use in this function) MIDI.c:1215: error: 'pmmt' undeclared (first use in this function) MIDI.c:1215: error: 'MMTIME' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Property': MIDI.c:1233: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1233: error: parse error before 'RETVAL' MIDI.c:1234: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1235: error: 'LPBYTE' undeclared (first use in this function) MIDI.c:1240: error: 'hms' undeclared (first use in this function) MIDI.c:1240: error: parse error before 'tmp' MIDI.c:1245: error: 'RETVAL' undeclared (first use in this function) MIDI.c:1245: error: 'lppropdata' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccPxHrFL.out (No such file or directory) make: *** [MIDI.o] Error 1