Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lwinmm Writing Makefile for Win32::MIDI::API cp API.pm blib/lib/Win32/MIDI/API.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 API.xs > API.xsc && mv API.xsc API.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.03\" -DXS_VERSION=\"0.03\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" API.c API.xs:31:21: error: windows.h: No such file or directory API.xs:32:22: error: mmsystem.h: No such file or directory API.xs:34: error: parse error before 'mmsyserr' API.xs:34: error: 'MMSYSERR_NOERROR' undeclared here (not in a function) API.xs:34: warning: data definition has no type or storage class API.xs:39: error: parse error before 'midiInProc_wrapper' API.xs:40: error: parse error before 'HMIDIIN' API.xs:40: warning: data definition has no type or storage class API.xs:41: error: parse error before 'wMsg' API.xs:41: warning: data definition has no type or storage class API.xs:42: error: parse error before 'dwInstance' API.xs:42: warning: data definition has no type or storage class API.xs:43: error: parse error before 'dwParam1' API.xs:43: warning: data definition has no type or storage class API.xs:44: error: parse error before 'dwParam2' API.xs:44: warning: data definition has no type or storage class API.xs:47: error: parse error before '(' token API.xs:48: error: parse error before '(' token API.xs:50: error: parse error before '(' token API.xs:65: error: parse error before '(' token API.xs:66: error: parse error before '++' token API.xs:68: error: parse error before '++' token API.xs:70: error: parse error before '++' token API.xs:71: error: parse error before '++' token API.xs:72: error: parse error before '++' token API.xs:73: error: parse error before '++' token API.xs:74: error: parse error before '(' token API.xs:76: error: parse error before '(' token API.xs:79: error: parse error before '(' token API.xs:31:21: error: windows.h: No such file or directory API.xs:32:22: error: mmsystem.h: No such file or directory API.xs:34: error: parse error before 'mmsyserr' API.xs:34: error: 'MMSYSERR_NOERROR' undeclared here (not in a function) API.xs:34: warning: data definition has no type or storage class API.xs:39: error: parse error before 'midiInProc_wrapper' API.xs:40: error: parse error before 'HMIDIIN' API.xs:40: warning: data definition has no type or storage class API.xs:41: error: parse error before 'wMsg' API.xs:41: warning: data definition has no type or storage class API.xs:42: error: parse error before 'dwInstance' API.xs:42: warning: data definition has no type or storage class API.xs:43: error: parse error before 'dwParam1' API.xs:43: warning: data definition has no type or storage class API.xs:44: error: parse error before 'dwParam2' API.xs:44: warning: data definition has no type or storage class API.xs:47: error: parse error before '(' token API.xs:48: error: parse error before '(' token API.xs:50: error: parse error before '(' token API.xs:65: error: parse error before '(' token API.xs:66: error: parse error before '++' token API.xs:68: error: parse error before '++' token API.xs:70: error: parse error before '++' token API.xs:71: error: parse error before '++' token API.xs:72: error: parse error before '++' token API.xs:73: error: parse error before '++' token API.xs:74: error: parse error before '(' token API.xs:76: error: parse error before '(' token API.xs:79: error: parse error before '(' token API.c: In function 'XS_Win32__MIDI__API_midiInGetNumDevs': API.c:154: error: 'UINT' undeclared (first use in this function) API.c:154: error: (Each undeclared identifier is reported only once API.c:154: error: for each function it appears in.) API.c:154: error: parse error before 'RETVAL' API.c:157: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API_midiOutGetNumDevs': API.c:172: error: 'UINT' undeclared (first use in this function) API.c:172: error: parse error before 'RETVAL' API.c:175: error: 'RETVAL' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API_midiOutGetDevCaps': API.xs:147: error: 'MIDIOUTCAPS' undeclared (first use in this function) API.xs:147: error: parse error before 'moc' API.c:198: error: 'MIDI_MAPPER' undeclared (first use in this function) API.xs:151: error: 'moc' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API_midiInGetDevCaps': API.xs:193: error: 'MIDIINCAPS' undeclared (first use in this function) API.xs:193: error: parse error before 'mic' API.xs:197: error: 'mic' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API_midiConnect': API.c:274: error: 'MMRESULT' undeclared (first use in this function) API.c:274: error: parse error before 'RETVAL' API.c:275: error: 'HMIDI' undeclared (first use in this function) API.c:276: error: 'HMIDIOUT' undeclared (first use in this function) API.c:281: error: 'hMidi' undeclared (first use in this function) API.c:281: error: parse error before 'tmp' API.c:289: error: 'hmo' undeclared (first use in this function) API.c:289: error: parse error before 'tmp' API.c:294: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API_midiDisconnect': API.c:312: error: 'MMRESULT' undeclared (first use in this function) API.c:312: error: parse error before 'RETVAL' API.c:313: error: 'HMIDI' undeclared (first use in this function) API.c:314: error: 'HMIDIOUT' undeclared (first use in this function) API.c:319: error: 'hMidi' undeclared (first use in this function) API.c:319: error: parse error before 'tmp' API.c:327: error: 'hmo' undeclared (first use in this function) API.c:327: error: parse error before 'tmp' API.c:332: error: 'RETVAL' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API__In_Open': API.xs:262: error: 'HMIDIIN' undeclared (first use in this function) API.xs:262: error: parse error before 'h' API.c:356: error: 'DWORD' undeclared (first use in this function) API.c:356: error: parse error before 'dwCallbackInstance' API.c:360: error: 'dwCallbackInstance' undeclared (first use in this function) API.c:366: error: 'dwFlags' undeclared (first use in this function) API.c:366: error: 'CALLBACK_FUNCTION' undeclared (first use in this function) API.xs:284: error: 'h' undeclared (first use in this function) API.xs:285: error: 'DWORD_PTR' undeclared (first use in this function) API.xs:285: error: parse error before 'midiInProc_wrapper' API.xs:287: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_Close': API.c:419: error: 'MMRESULT' undeclared (first use in this function) API.c:419: error: parse error before 'RETVAL' API.c:420: error: 'HMIDIIN' undeclared (first use in this function) API.c:424: error: 'hmi' undeclared (first use in this function) API.c:424: error: parse error before 'tmp' API.c:429: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_PrepareHeader': API.c:447: error: 'MMRESULT' undeclared (first use in this function) API.c:447: error: parse error before 'RETVAL' API.c:448: error: 'HMIDIIN' undeclared (first use in this function) API.c:449: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:453: error: 'hmi' undeclared (first use in this function) API.c:453: error: parse error before 'tmp' API.c:458: error: 'RETVAL' undeclared (first use in this function) API.c:458: error: 'lpMidiInHdr' undeclared (first use in this function) API.c:458: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_UnprepareHeader': API.c:476: error: 'MMRESULT' undeclared (first use in this function) API.c:476: error: parse error before 'RETVAL' API.c:477: error: 'HMIDIIN' undeclared (first use in this function) API.c:478: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:482: error: 'hmi' undeclared (first use in this function) API.c:482: error: parse error before 'tmp' API.c:487: error: 'RETVAL' undeclared (first use in this function) API.c:487: error: 'lpMidiInHdr' undeclared (first use in this function) API.c:487: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_AddBuffer': API.c:505: error: 'MMRESULT' undeclared (first use in this function) API.c:505: error: parse error before 'RETVAL' API.c:506: error: 'HMIDIIN' undeclared (first use in this function) API.c:507: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:511: error: 'hmi' undeclared (first use in this function) API.c:511: error: parse error before 'tmp' API.c:516: error: 'RETVAL' undeclared (first use in this function) API.c:516: error: 'lpMidiInHdr' undeclared (first use in this function) API.c:516: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_Reset': API.c:534: error: 'MMRESULT' undeclared (first use in this function) API.c:534: error: parse error before 'RETVAL' API.c:535: error: 'HMIDIIN' undeclared (first use in this function) API.c:539: error: 'hmi' undeclared (first use in this function) API.c:539: error: parse error before 'tmp' API.c:544: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API_midiInGetNumDevs': API.c:154: error: 'UINT' undeclared (first use in this function) API.c:154: error: (Each undeclared identifier is reported only once API.c:154: error: for each function it appears in.) API.c:154: error: parse error before 'RETVAL' API.c:157: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_Start': API.c:562: error: 'MMRESULT' undeclared (first use in this function) API.c:562: error: parse error before 'RETVAL' API.c:563: error: 'HMIDIIN' undeclared (first use in this function) API.c:567: error: 'hmi' undeclared (first use in this function) API.c:567: error: parse error before 'tmp' API.c:572: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API_midiOutGetNumDevs': API.c:172: error: 'UINT' undeclared (first use in this function) API.c:172: error: parse error before 'RETVAL' API.c:175: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_Stop': API.c:590: error: 'MMRESULT' undeclared (first use in this function) API.c:590: error: parse error before 'RETVAL' API.c:591: error: 'HMIDIIN' undeclared (first use in this function) API.c:595: error: 'hmi' undeclared (first use in this function) API.c:595: error: parse error before 'tmp' API.c:600: error: 'RETVAL' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API_midiOutGetDevCaps': API.xs:147: error: 'MIDIOUTCAPS' undeclared (first use in this function) API.xs:147: error: parse error before 'moc' API.c:198: error: 'MIDI_MAPPER' undeclared (first use in this function) API.xs:151: error: 'moc' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API__In_GetErrorText': API.xs:373: error: 'MAXERRORLENGTH' undeclared (first use in this function) API.c:623: error: 'MMRESULT' undeclared (first use in this function) API.c:623: error: parse error before 'wError' API.c:626: error: 'wError' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API__In_GetID': API.xs:385: error: 'UINT' undeclared (first use in this function) API.xs:385: error: parse error before 'id' API.c:654: error: 'HMIDIIN' undeclared (first use in this function) API.c:654: error: parse error before 'hmi' API.c:658: error: 'hmi' undeclared (first use in this function) API.c:658: error: parse error before 'tmp' API.xs: In function 'XS_Win32__MIDI__API_midiInGetDevCaps': API.xs:193: error: 'MIDIINCAPS' undeclared (first use in this function)API.xs:388: error: 'id' undeclared (first use in this function) API.xs:193: error: parse error before 'mic' API.xs:197: error: 'mic' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API__Out_Open': API.xs:418: error: 'HMIDIOUT' undeclared (first use in this function) API.xs:418: error: parse error before 'h' API.c:687: error: 'DWORD' undeclared (first use in this function) API.c:687: error: parse error before 'dwCallback' API.c:692: error: 'MIDI_MAPPER' undeclared (first use in this function) API.c:698: error: 'dwCallback' undeclared (first use in this function) API.c:704: error: 'dwCallbackInstance' undeclared (first use in this function) API.c:710: error: 'dwFlags' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API_midiConnect':API.c:710: error: 'CALLBACK_NULL' undeclared (first use in this function) API.c:274: error: 'MMRESULT' undeclared (first use in this function) API.c:274: error: parse error before 'RETVAL' API.c:275: error: 'HMIDI' undeclared (first use in this function) API.c:276: error: 'HMIDIOUT' undeclared (first use in this function) API.xs:423: error: 'h' undeclared (first use in this function) API.xs:425: error: 'RETVAL' undeclared (first use in this function) API.c:281: error: 'hMidi' undeclared (first use in this function) API.c:281: error: parse error before 'tmp' API.c:289: error: 'hmo' undeclared (first use in this function) API.c:289: error: parse error before 'tmp' API.c:294: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_Close': API.c:745: error: 'MMRESULT' undeclared (first use in this function) API.c:745: error: parse error before 'RETVAL' API.c:746: error: 'HMIDIOUT' undeclared (first use in this function) API.c:751: error: 'hmo' undeclared (first use in this function) API.c:751: error: parse error before 'tmp' API.c:756: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API_midiDisconnect': API.c:312: error: 'MMRESULT' undeclared (first use in this function) API.c:312: error: parse error before 'RETVAL' API.c:313: error: 'HMIDI' undeclared (first use in this function) API.c:314: error: 'HMIDIOUT' undeclared (first use in this function) API.c:319: error: 'hMidi' undeclared (first use in this function) API.c:319: error: parse error before 'tmp' API.c: In function 'XS_Win32__MIDI__API__Out_LongMsg': API.c:774: error: 'MMRESULT' undeclared (first use in this function) API.c:774: error: parse error before 'RETVAL' API.c:775: error: 'HMIDIOUT' undeclared (first use in this function) API.c:776: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:781: error: 'hmo' undeclared (first use in this function) API.c:781: error: parse error before 'tmp' API.c:786: error: 'RETVAL' undeclared (first use in this function) API.c:327: error: 'hmo' undeclared (first use in this function)API.c:786: error: 'lpMidiOutHdr' undeclared (first use in this function) API.c:327: error: parse error before 'tmp' API.c:786: error: 'MIDIHDR' undeclared (first use in this function) API.c:332: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_Reset': API.c:804: error: 'MMRESULT' undeclared (first use in this function) API.c:804: error: parse error before 'RETVAL' API.c:805: error: 'HMIDIOUT' undeclared (first use in this function) API.c:810: error: 'hmo' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API__In_Open':API.c:810: error: parse error before 'tmp' API.xs:262: error: 'HMIDIIN' undeclared (first use in this function) API.xs:262: error: parse error before 'h' API.c:815: error: 'RETVAL' undeclared (first use in this function) API.c:356: error: 'DWORD' undeclared (first use in this function) API.c:356: error: parse error before 'dwCallbackInstance' API.c:360: error: 'dwCallbackInstance' undeclared (first use in this function) API.c:366: error: 'dwFlags' undeclared (first use in this function) API.c:366: error: 'CALLBACK_FUNCTION' undeclared (first use in this function) API.xs:284: error: 'h' undeclared (first use in this function) API.xs:285: error: 'DWORD_PTR' undeclared (first use in this function) API.xs:285: error: parse error before 'midiInProc_wrapper' API.xs:287: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_ShortMsg': API.c:833: error: 'MMRESULT' undeclared (first use in this function) API.c:833: error: parse error before 'RETVAL' API.c:834: error: 'HMIDIOUT' undeclared (first use in this function) API.c:835: error: 'DWORD' undeclared (first use in this function) API.c:840: error: 'hmo' undeclared (first use in this function) API.c:840: error: parse error before 'tmp' API.c:845: error: 'RETVAL' undeclared (first use in this function) API.c:845: error: 'dwMsg' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_Close': API.c:419: error: 'MMRESULT' undeclared (first use in this function) API.c:419: error: parse error before 'RETVAL' API.c:420: error: 'HMIDIIN' undeclared (first use in this function) API.c:424: error: 'hmi' undeclared (first use in this function) API.c:424: error: parse error before 'tmp' API.c:429: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_PrepareHeader': API.c:863: error: 'MMRESULT' undeclared (first use in this function) API.c:863: error: parse error before 'RETVAL' API.c:864: error: 'HMIDIOUT' undeclared (first use in this function) API.c:865: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:870: error: 'hmo' undeclared (first use in this function) API.c:870: error: parse error before 'tmp' API.c:875: error: 'RETVAL' undeclared (first use in this function) API.c:875: error: 'lpMidiOutHdr' undeclared (first use in this function) API.c:875: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_PrepareHeader': API.c:447: error: 'MMRESULT' undeclared (first use in this function) API.c:447: error: parse error before 'RETVAL' API.c:448: error: 'HMIDIIN' undeclared (first use in this function) API.c:449: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:453: error: 'hmi' undeclared (first use in this function) API.c:453: error: parse error before 'tmp' API.c:458: error: 'RETVAL' undeclared (first use in this function) API.c:458: error: 'lpMidiInHdr' undeclared (first use in this function) API.c:458: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_UnprepareHeader': API.c:893: error: 'MMRESULT' undeclared (first use in this function) API.c:893: error: parse error before 'RETVAL' API.c:894: error: 'HMIDIOUT' undeclared (first use in this function) API.c:895: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:900: error: 'hmo' undeclared (first use in this function) API.c:900: error: parse error before 'tmp' API.c:905: error: 'RETVAL' undeclared (first use in this function) API.c:905: error: 'lpMidiOutHdr' undeclared (first use in this function) API.c:905: error: 'MIDIHDR' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API__Out_GetErrorText': API.xs:526: error: 'MAXERRORLENGTH' undeclared (first use in this function) API.c:928: error: 'MMRESULT' undeclared (first use in this function) API.c:928: error: parse error before 'wError' API.c:931: error: 'wError' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API__Out_GetID': API.xs:547: error: 'UINT' undeclared (first use in this function) API.xs:547: error: parse error before 'id' API.c:962: error: 'HMIDIOUT' undeclared (first use in this function) API.c:962: error: parse error before 'hmo' API.c:967: error: 'hmo' undeclared (first use in this function) API.c:967: error: parse error before 'tmp' API.xs:549: error: 'id' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API__Stream_Open': API.xs:611: error: 'HMIDISTRM' undeclared (first use in this function) API.xs:611: error: parse error before 'h' API.c:996: error: 'DWORD' undeclared (first use in this function) API.c:996: error: parse error before 'dwCallback' API.c:1001: error: 'MIDI_MAPPER' undeclared (first use in this function) API.c:1007: error: 'dwCallback' undeclared (first use in this function) API.c:1019: error: 'fdwOpen' undeclared (first use in this function) API.c:1019: error: 'CALLBACK_NULL' undeclared (first use in this function) API.xs:616: error: 'h' undeclared (first use in this function) API.xs:618: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Close': API.c:1054: error: 'MMRESULT' undeclared (first use in this function) API.c:1054: error: parse error before 'RETVAL' API.c:1055: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1059: error: 'hStream' undeclared (first use in this function) API.c:1059: error: parse error before 'tmp' API.c:1064: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Out': API.c:1082: error: 'MMRESULT' undeclared (first use in this function) API.c:1082: error: parse error before 'RETVAL' API.c:1083: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1084: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:1088: error: 'hMidiStream' undeclared (first use in this function) API.c:1088: error: parse error before 'tmp' API.c:1093: error: 'RETVAL' undeclared (first use in this function) API.c:1093: error: 'lpMidiHdr' undeclared (first use in this function) API.c:1093: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Restart': API.c:1111: error: 'MMRESULT' undeclared (first use in this function) API.c:1111: error: parse error before 'RETVAL' API.c:1112: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1116: error: 'hms' undeclared (first use in this function) API.c:1116: error: parse error before 'tmp' API.c:1121: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Pause': API.c:1139: error: 'MMRESULT' undeclared (first use in this function) API.c:1139: error: parse error before 'RETVAL' API.c:1140: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1144: error: 'hms' undeclared (first use in this function) API.c:1144: error: parse error before 'tmp' API.c:1149: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Stop': API.c:1167: error: 'MMRESULT' undeclared (first use in this function) API.c:1167: error: parse error before 'RETVAL' API.c:1168: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1172: error: 'hms' undeclared (first use in this function) API.c:1172: error: parse error before 'tmp' API.c:1177: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Position': API.c:1195: error: 'MMRESULT' undeclared (first use in this function) API.c:1195: error: parse error before 'RETVAL' API.c:1196: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1197: error: 'LPMMTIME' undeclared (first use in this function) API.c:1201: error: 'hms' undeclared (first use in this function) API.c:1201: error: parse error before 'tmp' API.c:1206: error: 'RETVAL' undeclared (first use in this function) API.c:1206: error: 'pmmt' undeclared (first use in this function) API.c:1206: error: 'MMTIME' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Property': API.c:1224: error: 'MMRESULT' undeclared (first use in this function) API.c:1224: error: parse error before 'RETVAL' API.c:1225: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1226: error: 'LPBYTE' undeclared (first use in this function) API.c:1231: error: 'hms' undeclared (first use in this function) API.c:1231: error: parse error before 'tmp' API.c:1236: error: 'RETVAL' undeclared (first use in this function) API.c:1236: error: 'lppropdata' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_UnprepareHeader': API.c:476: error: 'MMRESULT' undeclared (first use in this function) API.c:476: error: parse error before 'RETVAL' API.c:477: error: 'HMIDIIN' undeclared (first use in this function) API.c:478: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:482: error: 'hmi' undeclared (first use in this function) API.c:482: error: parse error before 'tmp' API.c:487: error: 'RETVAL' undeclared (first use in this function) API.c:487: error: 'lpMidiInHdr' undeclared (first use in this function) API.c:487: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_AddBuffer': API.c:505: error: 'MMRESULT' undeclared (first use in this function) API.c:505: error: parse error before 'RETVAL' API.c:506: error: 'HMIDIIN' undeclared (first use in this function) API.c:507: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:511: error: 'hmi' undeclared (first use in this function) API.c:511: error: parse error before 'tmp' API.c:516: error: 'RETVAL' undeclared (first use in this function) API.c:516: error: 'lpMidiInHdr' undeclared (first use in this function) API.c:516: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_Reset': API.c:534: error: 'MMRESULT' undeclared (first use in this function) API.c:534: error: parse error before 'RETVAL' API.c:535: error: 'HMIDIIN' undeclared (first use in this function) API.c:539: error: 'hmi' undeclared (first use in this function) API.c:539: error: parse error before 'tmp' API.c:544: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_Start': API.c:562: error: 'MMRESULT' undeclared (first use in this function) API.c:562: error: parse error before 'RETVAL' API.c:563: error: 'HMIDIIN' undeclared (first use in this function) API.c:567: error: 'hmi' undeclared (first use in this function) API.c:567: error: parse error before 'tmp' API.c:572: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_Stop': API.c:590: error: 'MMRESULT' undeclared (first use in this function) API.c:590: error: parse error before 'RETVAL' API.c:591: error: 'HMIDIIN' undeclared (first use in this function) API.c:595: error: 'hmi' undeclared (first use in this function) API.c:595: error: parse error before 'tmp' API.c:600: error: 'RETVAL' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API__In_GetErrorText': API.xs:373: error: 'MAXERRORLENGTH' undeclared (first use in this function) API.c:623: error: 'MMRESULT' undeclared (first use in this function) API.c:623: error: parse error before 'wError' API.c:626: error: 'wError' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API__In_GetID': API.xs:385: error: 'UINT' undeclared (first use in this function) API.xs:385: error: parse error before 'id' API.c:654: error: 'HMIDIIN' undeclared (first use in this function) API.c:654: error: parse error before 'hmi' API.c:658: error: 'hmi' undeclared (first use in this function) API.c:658: error: parse error before 'tmp' API.xs:388: error: 'id' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API__Out_Open': API.xs:418: error: 'HMIDIOUT' undeclared (first use in this function) API.xs:418: error: parse error before 'h' API.c:687: error: 'DWORD' undeclared (first use in this function) API.c:687: error: parse error before 'dwCallback' API.c:692: error: 'MIDI_MAPPER' undeclared (first use in this function) API.c:698: error: 'dwCallback' undeclared (first use in this function) API.c:704: error: 'dwCallbackInstance' undeclared (first use in this function) API.c:710: error: 'dwFlags' undeclared (first use in this function) API.c:710: error: 'CALLBACK_NULL' undeclared (first use in this function) API.xs:423: error: 'h' undeclared (first use in this function) API.xs:425: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_Close': API.c:745: error: 'MMRESULT' undeclared (first use in this function) API.c:745: error: parse error before 'RETVAL' API.c:746: error: 'HMIDIOUT' undeclared (first use in this function) API.c:751: error: 'hmo' undeclared (first use in this function) API.c:751: error: parse error before 'tmp' API.c:756: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_LongMsg': API.c:774: error: 'MMRESULT' undeclared (first use in this function) API.c:774: error: parse error before 'RETVAL' API.c:775: error: 'HMIDIOUT' undeclared (first use in this function) API.c:776: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:781: error: 'hmo' undeclared (first use in this function) API.c:781: error: parse error before 'tmp' API.c:786: error: 'RETVAL' undeclared (first use in this function) API.c:786: error: 'lpMidiOutHdr' undeclared (first use in this function) API.c:786: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_Reset': API.c:804: error: 'MMRESULT' undeclared (first use in this function) API.c:804: error: parse error before 'RETVAL' API.c:805: error: 'HMIDIOUT' undeclared (first use in this function) API.c:810: error: 'hmo' undeclared (first use in this function) API.c:810: error: parse error before 'tmp' API.c:815: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_ShortMsg': API.c:833: error: 'MMRESULT' undeclared (first use in this function) API.c:833: error: parse error before 'RETVAL' API.c:834: error: 'HMIDIOUT' undeclared (first use in this function) API.c:835: error: 'DWORD' undeclared (first use in this function) API.c:840: error: 'hmo' undeclared (first use in this function) API.c:840: error: parse error before 'tmp' API.c:845: error: 'RETVAL' undeclared (first use in this function) API.c:845: error: 'dwMsg' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_PrepareHeader': API.c:863: error: 'MMRESULT' undeclared (first use in this function) API.c:863: error: parse error before 'RETVAL' API.c:864: error: 'HMIDIOUT' undeclared (first use in this function) API.c:865: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:870: error: 'hmo' undeclared (first use in this function) API.c:870: error: parse error before 'tmp' API.c:875: error: 'RETVAL' undeclared (first use in this function) API.c:875: error: 'lpMidiOutHdr' undeclared (first use in this function) API.c:875: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_UnprepareHeader': API.c:893: error: 'MMRESULT' undeclared (first use in this function) API.c:893: error: parse error before 'RETVAL' API.c:894: error: 'HMIDIOUT' undeclared (first use in this function) API.c:895: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:900: error: 'hmo' undeclared (first use in this function) API.c:900: error: parse error before 'tmp' API.c:905: error: 'RETVAL' undeclared (first use in this function) API.c:905: error: 'lpMidiOutHdr' undeclared (first use in this function) API.c:905: error: 'MIDIHDR' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API__Out_GetErrorText': API.xs:526: error: 'MAXERRORLENGTH' undeclared (first use in this function) API.c:928: error: 'MMRESULT' undeclared (first use in this function) API.c:928: error: parse error before 'wError' API.c:931: error: 'wError' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API__Out_GetID': API.xs:547: error: 'UINT' undeclared (first use in this function) API.xs:547: error: parse error before 'id' API.c:962: error: 'HMIDIOUT' undeclared (first use in this function) API.c:962: error: parse error before 'hmo' API.c:967: error: 'hmo' undeclared (first use in this function) API.c:967: error: parse error before 'tmp' API.xs:549: error: 'id' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API__Stream_Open': API.xs:611: error: 'HMIDISTRM' undeclared (first use in this function) API.xs:611: error: parse error before 'h' API.c:996: error: 'DWORD' undeclared (first use in this function) API.c:996: error: parse error before 'dwCallback' API.c:1001: error: 'MIDI_MAPPER' undeclared (first use in this function) API.c:1007: error: 'dwCallback' undeclared (first use in this function) API.c:1019: error: 'fdwOpen' undeclared (first use in this function) API.c:1019: error: 'CALLBACK_NULL' undeclared (first use in this function) API.xs:616: error: 'h' undeclared (first use in this function) API.xs:618: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Close': API.c:1054: error: 'MMRESULT' undeclared (first use in this function) API.c:1054: error: parse error before 'RETVAL' API.c:1055: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1059: error: 'hStream' undeclared (first use in this function) API.c:1059: error: parse error before 'tmp' API.c:1064: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Out': API.c:1082: error: 'MMRESULT' undeclared (first use in this function) API.c:1082: error: parse error before 'RETVAL' API.c:1083: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1084: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:1088: error: 'hMidiStream' undeclared (first use in this function) API.c:1088: error: parse error before 'tmp' API.c:1093: error: 'RETVAL' undeclared (first use in this function) API.c:1093: error: 'lpMidiHdr' undeclared (first use in this function) API.c:1093: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Restart': API.c:1111: error: 'MMRESULT' undeclared (first use in this function) API.c:1111: error: parse error before 'RETVAL' API.c:1112: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1116: error: 'hms' undeclared (first use in this function) API.c:1116: error: parse error before 'tmp' API.c:1121: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Pause': API.c:1139: error: 'MMRESULT' undeclared (first use in this function) API.c:1139: error: parse error before 'RETVAL' API.c:1140: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1144: error: 'hms' undeclared (first use in this function) API.c:1144: error: parse error before 'tmp' API.c:1149: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Stop': API.c:1167: error: 'MMRESULT' undeclared (first use in this function) API.c:1167: error: parse error before 'RETVAL' API.c:1168: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1172: error: 'hms' undeclared (first use in this function) API.c:1172: error: parse error before 'tmp' API.c:1177: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Position': API.c:1195: error: 'MMRESULT' undeclared (first use in this function) API.c:1195: error: parse error before 'RETVAL' API.c:1196: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1197: error: 'LPMMTIME' undeclared (first use in this function) API.c:1201: error: 'hms' undeclared (first use in this function) API.c:1201: error: parse error before 'tmp' API.c:1206: error: 'RETVAL' undeclared (first use in this function) API.c:1206: error: 'pmmt' undeclared (first use in this function) API.c:1206: error: 'MMTIME' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Property': API.c:1224: error: 'MMRESULT' undeclared (first use in this function) API.c:1224: error: parse error before 'RETVAL' API.c:1225: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1226: error: 'LPBYTE' undeclared (first use in this function) API.c:1231: error: 'hms' undeclared (first use in this function) API.c:1231: error: parse error before 'tmp' API.c:1236: error: 'RETVAL' undeclared (first use in this function) API.c:1236: error: 'lppropdata' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccJm0Qd0.out (No such file or directory) make: *** [API.o] Error 1