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/build/5.10.0/bin/perl /Users/cpanrun/build/5.10.0/lib/ExtUtils/xsubpp -typemap /Users/cpanrun/build/5.10.0/lib/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 -DPRIVLIB_LAST_IN_INC -fno-strict-aliasing -pipe -O3 -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" "-I/Users/cpanrun/build/5.10.0/lib/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:31:21: error: windows.h: No such file or directoryMIDI.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:32:22: MIDI.xs:42: error: parse error before 'dwInstance'error: mmsystem.h: No such file or directory 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 classMIDI.xs:34: error: parse error before 'mmsyserr' MIDI.xs:44: error: parse error before 'dwParam2' MIDI.xs:44: warning: data definition has no type or storage classMIDI.xs:34: error: 'MMSYSERR_NOERROR' undeclared here (not in a function) MIDI.xs:47: error: parse error before '(' token MIDI.xs:34: warning: data definition has no type or storage class MIDI.xs:48: 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 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:50: 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 '(' tokenMIDI.xs:69: error: parse error before '(' token MIDI.xs:48: error: parse error before '(' token MIDI.xs:70: error: parse error before '++' token MIDI.xs:50: error: parse error before '(' token MIDI.xs:72: error: parse error before '++' token MIDI.xs:69: error: parse error before '(' token MIDI.xs:74: error: parse error before '++' token MIDI.xs:75: error: parse error before '++' tokenMIDI.xs:70: error: parse error before '++' token MIDI.xs:72: error: parse error before '++' tokenMIDI.xs:76: error: parse error before '++' token MIDI.xs:74: error: parse error before '++' tokenMIDI.xs:77: error: parse error before '++' token MIDI.xs:78: error: parse error before '(' token MIDI.xs:75: error: parse error before '++' token MIDI.xs:80: error: parse error before '(' token MIDI.xs:76: error: parse error before '++' token MIDI.xs:83: 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:170: error: 'UINT' undeclared (first use in this function) MIDI.c:170: error: (Each undeclared identifier is reported only once MIDI.c:170: error: for each function it appears in.) MIDI.c:170: error: parse error before 'RETVAL' MIDI.c:173: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI_midiOutGetNumDevs': MIDI.c:192: error: 'UINT' undeclared (first use in this function) MIDI.c:192: error: parse error before 'RETVAL' MIDI.c:195: 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:222: 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:170: error: 'UINT' undeclared (first use in this function) MIDI.c:170: error: (Each undeclared identifier is reported only once MIDI.c:170: error: for each function it appears in.) MIDI.c:170: error: parse error before 'RETVAL' MIDI.c:173: error: 'RETVAL' 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_midiOutGetNumDevs': MIDI.c:192: error: 'UINT' undeclared (first use in this function) MIDI.c:192: error: parse error before 'RETVAL' MIDI.c:195: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI_midiConnect': MIDI.c:306: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:306: error: parse error before 'RETVAL' MIDI.c:307: error: 'HMIDI' undeclared (first use in this function) MIDI.c:308: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:313: error: 'hMidi' undeclared (first use in this function) MIDI.c:313: error: parse error before 'tmp' 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:222: error: 'MIDI_MAPPER' undeclared (first use in this function) MIDI.c:321: error: 'hmo' undeclared (first use in this function) MIDI.c:321: error: parse error before 'tmp' MIDI.xs:155: error: 'moc' undeclared (first use in this function) MIDI.c:326: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI_midiDisconnect': MIDI.c:348: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:348: error: parse error before 'RETVAL' MIDI.c:349: error: 'HMIDI' undeclared (first use in this function) MIDI.c:350: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:355: error: 'hMidi' undeclared (first use in this function) MIDI.c:355: error: parse error before 'tmp' MIDI.c:363: error: 'hmo' undeclared (first use in this function) MIDI.c:363: error: parse error before 'tmp' MIDI.c:368: error: 'RETVAL' 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__In_Open': MIDI.xs:266: error: 'HMIDIIN' undeclared (first use in this function) MIDI.xs:266: error: parse error before 'h' MIDI.c:396: error: 'DWORD' undeclared (first use in this function) MIDI.c:396: error: parse error before 'dwCallbackInstance' MIDI.c:400: error: 'dwCallbackInstance' undeclared (first use in this function) MIDI.c:406: error: 'dwFlags' undeclared (first use in this function) MIDI.c:406: 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.c: In function 'XS_Win32API__MIDI_midiConnect':MIDI.xs:273: error: 'RETVAL' undeclared (first use in this function) MIDI.c:306: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:306: error: parse error before 'RETVAL' MIDI.c:307: error: 'HMIDI' undeclared (first use in this function) MIDI.c:308: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.xs:294: error: parse error before 'midiInProc_wrapper' MIDI.c:313: error: 'hMidi' undeclared (first use in this function) MIDI.c:313: error: parse error before 'tmp' MIDI.c:321: error: 'hmo' undeclared (first use in this function) MIDI.c:321: error: parse error before 'tmp' MIDI.c:326: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_Close': MIDI.c:468: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:468: error: parse error before 'RETVAL' MIDI.c:469: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:473: error: 'hmi' undeclared (first use in this function) MIDI.c:473: error: parse error before 'tmp' MIDI.c:478: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI_midiDisconnect': MIDI.c:348: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:348: error: parse error before 'RETVAL' MIDI.c:349: error: 'HMIDI' undeclared (first use in this function) MIDI.c:350: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_PrepareHeader': MIDI.c:500: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:500: error: parse error before 'RETVAL' MIDI.c:501: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:502: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:355: error: 'hMidi' undeclared (first use in this function) MIDI.c:355: error: parse error before 'tmp' MIDI.c:506: error: 'hmi' undeclared (first use in this function) MIDI.c:506: error: parse error before 'tmp' MIDI.c:511: error: 'RETVAL' undeclared (first use in this function) MIDI.c:511: error: 'lpMidiInHdr' undeclared (first use in this function) MIDI.c:511: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c:363: error: 'hmo' undeclared (first use in this function) MIDI.c:363: error: parse error before 'tmp' MIDI.c:368: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_UnprepareHeader': MIDI.c:533: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:533: error: parse error before 'RETVAL' MIDI.c:534: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:535: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:539: error: 'hmi' undeclared (first use in this function) MIDI.c:539: error: parse error before 'tmp' MIDI.c:544: error: 'RETVAL' undeclared (first use in this function) MIDI.c:544: error: 'lpMidiInHdr' undeclared (first use in this function) MIDI.c:544: error: 'MIDIHDR' 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:396: error: 'DWORD' undeclared (first use in this function) MIDI.c:396: error: parse error before 'dwCallbackInstance' MIDI.c:400: error: 'dwCallbackInstance' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_AddBuffer': MIDI.c:566: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:566: error: parse error before 'RETVAL' MIDI.c:567: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:568: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:406: error: 'dwFlags' undeclared (first use in this function) MIDI.c:406: error: 'CALLBACK_FUNCTION' undeclared (first use in this function) MIDI.c:572: error: 'hmi' undeclared (first use in this function) MIDI.c:572: error: parse error before 'tmp'MIDI.xs:270: error: 'CALLBACK_NULL' undeclared (first use in this function) MIDI.xs:271: error: 'h' undeclared (first use in this function) MIDI.c:577: error: 'RETVAL' undeclared (first use in this function)MIDI.xs:272: error: 'DWORD_PTR' undeclared (first use in this function) MIDI.c:577: error: 'lpMidiInHdr' undeclared (first use in this function) MIDI.c:577: error: 'MIDIHDR' 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.c: In function 'XS_Win32API__MIDI__In_Reset': 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.c: In function 'XS_Win32API__MIDI__In_Close': MIDI.c:468: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:468: error: parse error before 'RETVAL' MIDI.c:469: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:473: error: 'hmi' undeclared (first use in this function) MIDI.c:473: error: parse error before 'tmp' MIDI.c:478: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_Start': MIDI.c:631: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:631: error: parse error before 'RETVAL' MIDI.c:632: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:636: error: 'hmi' undeclared (first use in this function) MIDI.c:636: error: parse error before 'tmp' MIDI.c:641: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_PrepareHeader': MIDI.c:500: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:500: error: parse error before 'RETVAL' MIDI.c:501: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:502: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_Stop': MIDI.c:663: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:663: error: parse error before 'RETVAL' MIDI.c:664: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:506: error: 'hmi' undeclared (first use in this function) MIDI.c:506: error: parse error before 'tmp' MIDI.c:511: error: 'RETVAL' undeclared (first use in this function) MIDI.c:511: error: 'lpMidiInHdr' undeclared (first use in this function) MIDI.c:511: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c:668: error: 'hmi' undeclared (first use in this function) MIDI.c:668: error: parse error before 'tmp' MIDI.c:673: 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:700: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:700: error: parse error before 'wError' MIDI.c:703: error: 'wError' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_UnprepareHeader': MIDI.c:533: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:533: error: parse error before 'RETVAL' MIDI.c:534: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:535: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:539: error: 'hmi' undeclared (first use in this function) MIDI.c:539: error: parse error before 'tmp' MIDI.c:544: error: 'RETVAL' undeclared (first use in this function) MIDI.c:544: error: 'lpMidiInHdr' undeclared (first use in this function) MIDI.c:544: error: 'MIDIHDR' 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:735: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:735: error: parse error before 'hmi' MIDI.c:739: error: 'hmi' undeclared (first use in this function) MIDI.c:739: error: parse error before 'tmp' MIDI.xs:412: error: 'id' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_AddBuffer': MIDI.c:566: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:566: error: parse error before 'RETVAL' MIDI.c:567: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:568: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:572: error: 'hmi' undeclared (first use in this function) MIDI.c:572: error: parse error before 'tmp' MIDI.c:577: error: 'RETVAL' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32API__MIDI__Out_Open':MIDI.c:577: error: 'lpMidiInHdr' undeclared (first use in this function) MIDI.xs:442: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:577: error: 'MIDIHDR' undeclared (first use in this function) MIDI.xs:442: error: parse error before 'h' MIDI.c:772: error: 'DWORD' undeclared (first use in this function) MIDI.c:772: error: parse error before 'dwCallback' MIDI.c:777: error: 'MIDI_MAPPER' undeclared (first use in this function) MIDI.c:783: error: 'dwCallback' undeclared (first use in this function) MIDI.c:789: error: 'dwCallbackInstance' undeclared (first use in this function) MIDI.c:795: error: 'dwFlags' undeclared (first use in this function) MIDI.c:795: 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__In_Reset': 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.c: In function 'XS_Win32API__MIDI__Out_Close': MIDI.c:834: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:834: error: parse error before 'RETVAL' MIDI.c:835: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:840: error: 'hmo' undeclared (first use in this function) MIDI.c:840: error: parse error before 'tmp' MIDI.c:845: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_Start': MIDI.c:631: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:631: error: parse error before 'RETVAL' MIDI.c:632: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:636: error: 'hmi' undeclared (first use in this function) MIDI.c:636: error: parse error before 'tmp' MIDI.c:641: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_LongMsg': MIDI.c:867: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:867: error: parse error before 'RETVAL' MIDI.c:868: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:869: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:874: error: 'hmo' undeclared (first use in this function) MIDI.c:874: error: parse error before 'tmp' MIDI.c:879: error: 'RETVAL' undeclared (first use in this function) MIDI.c:879: error: 'lpMidiOutHdr' undeclared (first use in this function) MIDI.c:879: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__In_Stop': MIDI.c:663: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:663: error: parse error before 'RETVAL' MIDI.c:664: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_Reset': MIDI.c:901: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:901: error: parse error before 'RETVAL' MIDI.c:902: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:668: error: 'hmi' undeclared (first use in this function) MIDI.c:668: error: parse error before 'tmp' MIDI.c:673: error: 'RETVAL' undeclared (first use in this function)MIDI.c:907: error: 'hmo' undeclared (first use in this function) MIDI.c:907: error: parse error before 'tmp' MIDI.c:912: 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: In function 'XS_Win32API__MIDI__Out_ShortMsg': MIDI.c:934: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:934: error: parse error before 'RETVAL' MIDI.c:935: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:936: error: 'DWORD' undeclared (first use in this function) MIDI.c:700: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:700: error: parse error before 'wError' MIDI.c:703: error: 'wError' undeclared (first use in this function) MIDI.c:941: error: 'hmo' undeclared (first use in this function) MIDI.c:941: error: parse error before 'tmp' MIDI.c:946: error: 'RETVAL' undeclared (first use in this function) MIDI.c:946: error: 'dwMsg' 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:735: error: 'HMIDIIN' undeclared (first use in this function) MIDI.c:735: error: parse error before 'hmi' MIDI.c: In function 'XS_Win32API__MIDI__Out_PrepareHeader': MIDI.c:968: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:968: error: parse error before 'RETVAL' MIDI.c:969: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:970: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:739: error: 'hmi' undeclared (first use in this function) MIDI.c:739: error: parse error before 'tmp' MIDI.xs:412: error: 'id' undeclared (first use in this function) MIDI.c:975: error: 'hmo' undeclared (first use in this function) MIDI.c:975: error: parse error before 'tmp' MIDI.c:980: error: 'RETVAL' undeclared (first use in this function) MIDI.c:980: error: 'lpMidiOutHdr' undeclared (first use in this function) MIDI.c:980: error: 'MIDIHDR' 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:772: error: 'DWORD' undeclared (first use in this function) MIDI.c:772: error: parse error before 'dwCallback' MIDI.c:777: error: 'MIDI_MAPPER' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_UnprepareHeader': MIDI.c:1002: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:783: error: 'dwCallback' undeclared (first use in this function)MIDI.c:1002: error: parse error before 'RETVAL' MIDI.c:1003: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:1004: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:789: error: 'dwCallbackInstance' undeclared (first use in this function) MIDI.c:1009: error: 'hmo' undeclared (first use in this function) MIDI.c:1009: error: parse error before 'tmp' MIDI.c:795: error: 'dwFlags' undeclared (first use in this function)MIDI.c:1014: error: 'RETVAL' undeclared (first use in this function) MIDI.c:795: error: 'CALLBACK_NULL' undeclared (first use in this function) MIDI.c:1014: error: 'lpMidiOutHdr' undeclared (first use in this function) MIDI.c:1014: error: 'MIDIHDR' 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.xs: In function 'XS_Win32API__MIDI__Out_GetErrorText': MIDI.xs:550: error: 'MAXERRORLENGTH' undeclared (first use in this function) MIDI.c:1041: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1041: error: parse error before 'wError' MIDI.c:1044: error: 'wError' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_Close': MIDI.c:834: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:834: error: parse error before 'RETVAL' MIDI.c:835: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:840: error: 'hmo' undeclared (first use in this function) MIDI.c:840: error: parse error before 'tmp' MIDI.c:845: error: 'RETVAL' 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:1079: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:1079: error: parse error before 'hmo' MIDI.c:1084: error: 'hmo' undeclared (first use in this function) MIDI.c:1084: error: parse error before 'tmp' MIDI.xs:573: error: 'id' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_LongMsg': MIDI.c:867: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:867: error: parse error before 'RETVAL' MIDI.c:868: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:869: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:874: error: 'hmo' undeclared (first use in this function) MIDI.c:874: error: parse error before 'tmp' MIDI.c:879: error: 'RETVAL' undeclared (first use in this function) MIDI.c:879: error: 'lpMidiOutHdr' undeclared (first use in this function) MIDI.c:879: error: 'MIDIHDR' 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:1117: error: 'DWORD' undeclared (first use in this function) MIDI.c:1117: error: parse error before 'dwCallback' MIDI.c:1122: error: 'MIDI_MAPPER' undeclared (first use in this function) MIDI.c:1128: error: 'dwCallback' undeclared (first use in this function) MIDI.c:1140: error: 'fdwOpen' undeclared (first use in this function) MIDI.c:1140: 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__Out_Reset': MIDI.c:901: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:901: error: parse error before 'RETVAL' MIDI.c:902: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:907: error: 'hmo' undeclared (first use in this function) MIDI.c:907: error: parse error before 'tmp' MIDI.c:912: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Close': MIDI.c:1179: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1179: error: parse error before 'RETVAL' MIDI.c:1180: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1184: error: 'hStream' undeclared (first use in this function) MIDI.c:1184: error: parse error before 'tmp' MIDI.c:1189: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_ShortMsg': MIDI.c:934: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:934: error: parse error before 'RETVAL' MIDI.c:935: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:936: error: 'DWORD' undeclared (first use in this function) MIDI.c:941: error: 'hmo' undeclared (first use in this function) MIDI.c:941: error: parse error before 'tmp' MIDI.c:946: error: 'RETVAL' undeclared (first use in this function) MIDI.c:946: error: 'dwMsg' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Out': MIDI.c:1211: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1211: error: parse error before 'RETVAL' MIDI.c:1212: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1213: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:1217: error: 'hMidiStream' undeclared (first use in this function) MIDI.c:1217: error: parse error before 'tmp' MIDI.c:1222: error: 'RETVAL' undeclared (first use in this function) MIDI.c:1222: error: 'lpMidiHdr' undeclared (first use in this function) MIDI.c:1222: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_PrepareHeader': MIDI.c:968: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:968: error: parse error before 'RETVAL' MIDI.c:969: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:970: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:975: error: 'hmo' undeclared (first use in this function) MIDI.c:975: error: parse error before 'tmp' MIDI.c: In function 'XS_Win32API__MIDI__Stream_Restart': MIDI.c:1244: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:980: error: 'RETVAL' undeclared (first use in this function) MIDI.c:1244: error: parse error before 'RETVAL' MIDI.c:980: error: 'lpMidiOutHdr' undeclared (first use in this function) MIDI.c:1245: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:980: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c:1249: error: 'hms' undeclared (first use in this function) MIDI.c:1249: error: parse error before 'tmp' MIDI.c:1254: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Out_UnprepareHeader': MIDI.c:1002: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1002: error: parse error before 'RETVAL' MIDI.c:1003: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:1004: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Pause': MIDI.c:1276: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1276: error: parse error before 'RETVAL' MIDI.c:1277: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1281: error: 'hms' undeclared (first use in this function) MIDI.c:1281: error: parse error before 'tmp' MIDI.c:1286: error: 'RETVAL' undeclared (first use in this function) MIDI.c:1009: error: 'hmo' undeclared (first use in this function) MIDI.c:1009: error: parse error before 'tmp' MIDI.c:1014: error: 'RETVAL' undeclared (first use in this function) MIDI.c:1014: error: 'lpMidiOutHdr' undeclared (first use in this function) MIDI.c:1014: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Stop': MIDI.c:1308: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1308: error: parse error before 'RETVAL' MIDI.c:1309: error: 'HMIDISTRM' 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:1041: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1041: error: parse error before 'wError' MIDI.c:1044: error: 'wError' undeclared (first use in this function) MIDI.c:1313: error: 'hms' undeclared (first use in this function) MIDI.c:1313: error: parse error before 'tmp' MIDI.c:1318: error: 'RETVAL' 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: In function 'XS_Win32API__MIDI__Stream_Position': MIDI.c:1340: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1340: error: parse error before 'RETVAL' MIDI.c:1341: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1342: error: 'LPMMTIME' undeclared (first use in this function) MIDI.c:1079: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.c:1079: error: parse error before 'hmo' MIDI.c:1346: error: 'hms' undeclared (first use in this function) MIDI.c:1346: error: parse error before 'tmp' MIDI.c:1084: error: 'hmo' undeclared (first use in this function)MIDI.c:1351: error: 'RETVAL' undeclared (first use in this function) MIDI.c:1084: error: parse error before 'tmp' MIDI.c:1351: error: 'pmmt' undeclared (first use in this function) MIDI.c:1351: error: 'MMTIME' undeclared (first use in this function) MIDI.xs:573: error: 'id' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Property': MIDI.c:1373: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1373: error: parse error before 'RETVAL' MIDI.c:1374: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1375: error: 'LPBYTE' 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:1117: error: 'DWORD' undeclared (first use in this function) MIDI.c:1117: error: parse error before 'dwCallback' MIDI.c:1122: error: 'MIDI_MAPPER' undeclared (first use in this function) MIDI.c:1380: error: 'hms' undeclared (first use in this function) MIDI.c:1380: error: parse error before 'tmp' MIDI.c:1385: error: 'RETVAL' undeclared (first use in this function) MIDI.c:1385: error: 'lppropdata' undeclared (first use in this function) MIDI.c:1128: error: 'dwCallback' undeclared (first use in this function) MIDI.c:1140: error: 'fdwOpen' undeclared (first use in this function) MIDI.c:1140: 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:1179: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1179: error: parse error before 'RETVAL' MIDI.c:1180: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1184: error: 'hStream' undeclared (first use in this function) MIDI.c:1184: error: parse error before 'tmp' MIDI.c:1189: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Out': MIDI.c:1211: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1211: error: parse error before 'RETVAL' MIDI.c:1212: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1213: error: 'LPMIDIHDR' undeclared (first use in this function) MIDI.c:1217: error: 'hMidiStream' undeclared (first use in this function) MIDI.c:1217: error: parse error before 'tmp' MIDI.c:1222: error: 'RETVAL' undeclared (first use in this function) MIDI.c:1222: error: 'lpMidiHdr' undeclared (first use in this function) MIDI.c:1222: error: 'MIDIHDR' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Restart': MIDI.c:1244: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1244: error: parse error before 'RETVAL' MIDI.c:1245: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1249: error: 'hms' undeclared (first use in this function) MIDI.c:1249: error: parse error before 'tmp' MIDI.c:1254: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Pause': MIDI.c:1276: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1276: error: parse error before 'RETVAL' MIDI.c:1277: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1281: error: 'hms' undeclared (first use in this function) MIDI.c:1281: error: parse error before 'tmp' MIDI.c:1286: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Stop': MIDI.c:1308: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1308: error: parse error before 'RETVAL' MIDI.c:1309: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1313: error: 'hms' undeclared (first use in this function) MIDI.c:1313: error: parse error before 'tmp' MIDI.c:1318: error: 'RETVAL' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Position': MIDI.c:1340: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1340: error: parse error before 'RETVAL' MIDI.c:1341: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1342: error: 'LPMMTIME' undeclared (first use in this function) MIDI.c:1346: error: 'hms' undeclared (first use in this function) MIDI.c:1346: error: parse error before 'tmp' MIDI.c:1351: error: 'RETVAL' undeclared (first use in this function) MIDI.c:1351: error: 'pmmt' undeclared (first use in this function) MIDI.c:1351: error: 'MMTIME' undeclared (first use in this function) MIDI.c: In function 'XS_Win32API__MIDI__Stream_Property': MIDI.c:1373: error: 'MMRESULT' undeclared (first use in this function) MIDI.c:1373: error: parse error before 'RETVAL' MIDI.c:1374: error: 'HMIDISTRM' undeclared (first use in this function) MIDI.c:1375: error: 'LPBYTE' undeclared (first use in this function) MIDI.c:1380: error: 'hms' undeclared (first use in this function) MIDI.c:1380: error: parse error before 'tmp' MIDI.c:1385: error: 'RETVAL' undeclared (first use in this function) MIDI.c:1385: error: 'lppropdata' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccIWiXUT.out (No such file or directory) make: *** [MIDI.o] Error 1