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/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 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 -DPRIVLIB_LAST_IN_INC -fno-strict-aliasing -pipe -O3 -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" "-I/Users/cpanrun/build/5.10.0/lib/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:166: error: 'UINT' undeclared (first use in this function) API.c:166: error: (Each undeclared identifier is reported only once API.c:166: error: for each function it appears in.) API.c:166: error: parse error before 'RETVAL' API.c:169: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API_midiOutGetNumDevs': API.c:188: error: 'UINT' undeclared (first use in this function) API.c:188: error: parse error before 'RETVAL' API.c:191: 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:218: 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:302: error: 'MMRESULT' undeclared (first use in this function) API.c:302: error: parse error before 'RETVAL' API.c:303: error: 'HMIDI' undeclared (first use in this function) API.c:304: error: 'HMIDIOUT' undeclared (first use in this function) API.c:309: error: 'hMidi' undeclared (first use in this function) API.c:309: error: parse error before 'tmp' API.c: In function 'XS_Win32__MIDI__API_midiInGetNumDevs': API.c:166: error: 'UINT' undeclared (first use in this function) API.c:166: error: (Each undeclared identifier is reported only once API.c:166: error: for each function it appears in.) API.c:166: error: parse error before 'RETVAL' API.c:317: error: 'hmo' undeclared (first use in this function) API.c:169: error: 'RETVAL' undeclared (first use in this function)API.c:317: error: parse error before 'tmp' API.c:322: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API_midiOutGetNumDevs': API.c:188: error: 'UINT' undeclared (first use in this function) API.c:188: error: parse error before 'RETVAL' API.c:191: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API_midiDisconnect': API.c:344: error: 'MMRESULT' undeclared (first use in this function) API.c:344: error: parse error before 'RETVAL' API.c:345: error: 'HMIDI' undeclared (first use in this function) API.c:346: error: 'HMIDIOUT' undeclared (first use in this function) API.c:351: error: 'hMidi' undeclared (first use in this function) API.c:351: error: parse error before 'tmp' 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:218: error: 'MIDI_MAPPER' undeclared (first use in this function) API.c:359: error: 'hmo' undeclared (first use in this function) API.c:359: error: parse error before 'tmp' API.c:364: error: 'RETVAL' 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_Open': API.xs:262: error: 'HMIDIIN' undeclared (first use in this function) API.xs:262: error: parse error before 'h' API.c:392: error: 'DWORD' undeclared (first use in this function) API.c:392: error: parse error before 'dwCallbackInstance' API.c:396: error: 'dwCallbackInstance' undeclared (first use in this function) API.c:402: error: 'dwFlags' undeclared (first use in this function) API.c:402: error: 'CALLBACK_FUNCTION' 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.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:459: error: 'MMRESULT' undeclared (first use in this function) API.c:459: error: parse error before 'RETVAL' API.c: In function 'XS_Win32__MIDI__API_midiConnect':API.c:460: error: 'HMIDIIN' undeclared (first use in this function) API.c:302: error: 'MMRESULT' undeclared (first use in this function) API.c:302: error: parse error before 'RETVAL' API.c:303: error: 'HMIDI' undeclared (first use in this function) API.c:304: error: 'HMIDIOUT' undeclared (first use in this function) API.c:464: error: 'hmi' undeclared (first use in this function) API.c:464: error: parse error before 'tmp' API.c:469: error: 'RETVAL' undeclared (first use in this function) API.c:309: error: 'hMidi' undeclared (first use in this function) API.c:309: error: parse error before 'tmp' API.c:317: error: 'hmo' undeclared (first use in this function) API.c:317: error: parse error before 'tmp' API.c:322: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_PrepareHeader': API.c:491: error: 'MMRESULT' undeclared (first use in this function) API.c:491: error: parse error before 'RETVAL' API.c:492: error: 'HMIDIIN' undeclared (first use in this function) API.c:493: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:497: error: 'hmi' undeclared (first use in this function) API.c:497: error: parse error before 'tmp' API.c:502: error: 'RETVAL' undeclared (first use in this function) API.c:502: error: 'lpMidiInHdr' undeclared (first use in this function) API.c:502: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API_midiDisconnect': API.c:344: error: 'MMRESULT' undeclared (first use in this function) API.c:344: error: parse error before 'RETVAL' API.c:345: error: 'HMIDI' undeclared (first use in this function) API.c:346: error: 'HMIDIOUT' undeclared (first use in this function) API.c:351: error: 'hMidi' undeclared (first use in this function) API.c:351: error: parse error before 'tmp' API.c: In function 'XS_Win32__MIDI__API__In_UnprepareHeader': API.c:524: error: 'MMRESULT' undeclared (first use in this function) API.c:524: error: parse error before 'RETVAL' API.c:525: error: 'HMIDIIN' undeclared (first use in this function) API.c:526: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:359: error: 'hmo' undeclared (first use in this function) API.c:359: error: parse error before 'tmp' API.c:364: error: 'RETVAL' undeclared (first use in this function) API.c:530: error: 'hmi' undeclared (first use in this function) API.c:530: error: parse error before 'tmp' API.c:535: error: 'RETVAL' undeclared (first use in this function) API.c:535: error: 'lpMidiInHdr' undeclared (first use in this function) API.c:535: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_AddBuffer': API.c:557: error: 'MMRESULT' undeclared (first use in this function) API.c:557: error: parse error before 'RETVAL' API.c:558: error: 'HMIDIIN' undeclared (first use in this function) API.c:559: error: 'LPMIDIHDR' 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:392: error: 'DWORD' undeclared (first use in this function) API.c:563: error: 'hmi' undeclared (first use in this function)API.c:392: error: parse error before 'dwCallbackInstance' API.c:563: error: parse error before 'tmp' API.c:396: error: 'dwCallbackInstance' undeclared (first use in this function) API.c:568: error: 'RETVAL' undeclared (first use in this function) API.c:568: error: 'lpMidiInHdr' undeclared (first use in this function) API.c:568: error: 'MIDIHDR' undeclared (first use in this function) API.c:402: error: 'dwFlags' undeclared (first use in this function) API.c:402: 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_Reset': 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.c: In function 'XS_Win32__MIDI__API__In_Close': API.c:459: error: 'MMRESULT' undeclared (first use in this function) API.c:459: error: parse error before 'RETVAL' API.c:460: error: 'HMIDIIN' undeclared (first use in this function) API.c:464: error: 'hmi' undeclared (first use in this function) API.c:464: error: parse error before 'tmp' API.c:469: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_Start': API.c:622: error: 'MMRESULT' undeclared (first use in this function) API.c:622: error: parse error before 'RETVAL' API.c:623: error: 'HMIDIIN' undeclared (first use in this function) API.c:627: error: 'hmi' undeclared (first use in this function) API.c:627: error: parse error before 'tmp' API.c:632: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_PrepareHeader': API.c:491: error: 'MMRESULT' undeclared (first use in this function) API.c:491: error: parse error before 'RETVAL' API.c:492: error: 'HMIDIIN' undeclared (first use in this function) API.c:493: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:497: error: 'hmi' undeclared (first use in this function) API.c:497: error: parse error before 'tmp' API.c:502: error: 'RETVAL' undeclared (first use in this function) API.c:502: error: 'lpMidiInHdr' undeclared (first use in this function) API.c:502: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_Stop': API.c:654: error: 'MMRESULT' undeclared (first use in this function) API.c:654: error: parse error before 'RETVAL' API.c:655: error: 'HMIDIIN' undeclared (first use in this function) API.c:659: error: 'hmi' undeclared (first use in this function) API.c:659: error: parse error before 'tmp' API.c:664: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_UnprepareHeader': API.c:524: error: 'MMRESULT' undeclared (first use in this function) API.c:524: error: parse error before 'RETVAL' API.c:525: error: 'HMIDIIN' undeclared (first use in this function) API.c:526: error: 'LPMIDIHDR' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API__In_GetErrorText': API.c:530: error: 'hmi' undeclared (first use in this function)API.xs:373: error: 'MAXERRORLENGTH' undeclared (first use in this function) API.c:530: error: parse error before 'tmp' API.c:535: error: 'RETVAL' undeclared (first use in this function) API.c:691: error: 'MMRESULT' undeclared (first use in this function) API.c:691: error: parse error before 'wError' API.c:535: error: 'lpMidiInHdr' undeclared (first use in this function) API.c:535: error: 'MIDIHDR' undeclared (first use in this function)API.c:694: error: 'wError' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_AddBuffer':API.xs: In function 'XS_Win32__MIDI__API__In_GetID': API.c:557: error: 'MMRESULT' undeclared (first use in this function)API.xs:385: error: 'UINT' undeclared (first use in this function) API.c:557: error: parse error before 'RETVAL'API.xs:385: error: parse error before 'id' API.c:558: error: 'HMIDIIN' undeclared (first use in this function) API.c:726: error: 'HMIDIIN' undeclared (first use in this function)API.c:559: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:726: error: parse error before 'hmi' API.c:730: error: 'hmi' undeclared (first use in this function) API.c:730: error: parse error before 'tmp' API.c:563: error: 'hmi' undeclared (first use in this function) API.c:563: error: parse error before 'tmp'API.xs:388: error: 'id' undeclared (first use in this function) API.c:568: error: 'RETVAL' undeclared (first use in this function) API.c:568: error: 'lpMidiInHdr' undeclared (first use in this function) API.c:568: error: 'MIDIHDR' 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: In function 'XS_Win32__MIDI__API__In_Reset': API.c:763: error: 'DWORD' undeclared (first use in this function) API.c:590: error: 'MMRESULT' undeclared (first use in this function) API.c:763: error: parse error before 'dwCallback' API.c:590: error: parse error before 'RETVAL' API.c:591: error: 'HMIDIIN' undeclared (first use in this function) API.c:768: error: 'MIDI_MAPPER' undeclared (first use in this function) API.c:774: error: 'dwCallback' 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.c:780: error: 'dwCallbackInstance' undeclared (first use in this function) API.c:786: error: 'dwFlags' undeclared (first use in this function) API.c:786: 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__In_Start': API.c:622: error: 'MMRESULT' undeclared (first use in this function) API.c:622: error: parse error before 'RETVAL' API.c:623: error: 'HMIDIIN' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_Close': API.c:825: error: 'MMRESULT' undeclared (first use in this function) API.c:627: error: 'hmi' undeclared (first use in this function)API.c:825: error: parse error before 'RETVAL' API.c:627: error: parse error before 'tmp'API.c:826: error: 'HMIDIOUT' undeclared (first use in this function) API.c:632: error: 'RETVAL' undeclared (first use in this function) API.c:831: error: 'hmo' undeclared (first use in this function) API.c:831: error: parse error before 'tmp' API.c:836: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__In_Stop': API.c:654: error: 'MMRESULT' undeclared (first use in this function) API.c:654: error: parse error before 'RETVAL' API.c:655: error: 'HMIDIIN' undeclared (first use in this function) API.c:659: error: 'hmi' undeclared (first use in this function) API.c:659: error: parse error before 'tmp' API.c:664: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_LongMsg': API.c:858: error: 'MMRESULT' undeclared (first use in this function) API.c:858: error: parse error before 'RETVAL' API.c:859: error: 'HMIDIOUT' undeclared (first use in this function) API.c:860: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:865: error: 'hmo' undeclared (first use in this function) API.c:865: error: parse error before 'tmp' API.c:870: error: 'RETVAL' undeclared (first use in this function) API.c:870: error: 'lpMidiOutHdr' undeclared (first use in this function) API.c:870: error: 'MIDIHDR' 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:691: error: 'MMRESULT' undeclared (first use in this function) API.c:691: error: parse error before 'wError' API.c:694: error: 'wError' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_Reset': API.c:892: error: 'MMRESULT' undeclared (first use in this function) API.c:892: error: parse error before 'RETVAL' API.c:893: error: 'HMIDIOUT' undeclared (first use in this function) API.xs: In function 'XS_Win32__MIDI__API__In_GetID': API.c:898: error: 'hmo' undeclared (first use in this function)API.xs:385: error: 'UINT' undeclared (first use in this function) API.c:898: error: parse error before 'tmp' API.xs:385: error: parse error before 'id' API.c:726: error: 'HMIDIIN' undeclared (first use in this function) API.c:903: error: 'RETVAL' undeclared (first use in this function)API.c:726: error: parse error before 'hmi' API.c:730: error: 'hmi' undeclared (first use in this function) API.c:730: error: parse error before 'tmp' API.xs:388: error: 'id' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_ShortMsg': API.c:925: error: 'MMRESULT' undeclared (first use in this function) API.c:925: error: parse error before 'RETVAL' API.c:926: error: 'HMIDIOUT' undeclared (first use in this function) API.c:927: error: 'DWORD' undeclared (first use in this function) API.c:932: error: 'hmo' undeclared (first use in this function) API.c:932: error: parse error before 'tmp' API.c:937: error: 'RETVAL' undeclared (first use in this function) API.c:937: error: 'dwMsg' 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:763: error: 'DWORD' undeclared (first use in this function) API.c:763: error: parse error before 'dwCallback' API.c:768: error: 'MIDI_MAPPER' undeclared (first use in this function) API.c:774: error: 'dwCallback' undeclared (first use in this function) API.c:780: error: 'dwCallbackInstance' undeclared (first use in this function) API.c:786: error: 'dwFlags' undeclared (first use in this function) API.c:786: 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_PrepareHeader': API.c:959: error: 'MMRESULT' undeclared (first use in this function) API.c:959: error: parse error before 'RETVAL' API.c:960: error: 'HMIDIOUT' undeclared (first use in this function) API.c:961: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:966: error: 'hmo' undeclared (first use in this function) API.c:966: error: parse error before 'tmp' API.c:971: error: 'RETVAL' undeclared (first use in this function) API.c:971: error: 'lpMidiOutHdr' undeclared (first use in this function) API.c:971: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_Close': API.c:825: error: 'MMRESULT' undeclared (first use in this function) API.c:825: error: parse error before 'RETVAL' API.c:826: error: 'HMIDIOUT' undeclared (first use in this function) API.c:831: error: 'hmo' undeclared (first use in this function) API.c:831: error: parse error before 'tmp' API.c:836: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_UnprepareHeader': API.c:993: error: 'MMRESULT' undeclared (first use in this function) API.c:993: error: parse error before 'RETVAL' API.c:994: error: 'HMIDIOUT' undeclared (first use in this function) API.c:995: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:1000: error: 'hmo' undeclared (first use in this function) API.c:1000: error: parse error before 'tmp' API.c:1005: error: 'RETVAL' undeclared (first use in this function) API.c:1005: error: 'lpMidiOutHdr' undeclared (first use in this function) API.c:1005: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_LongMsg': API.c:858: error: 'MMRESULT' undeclared (first use in this function) API.c:858: error: parse error before 'RETVAL' API.c:859: error: 'HMIDIOUT' undeclared (first use in this function) API.c:860: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:865: error: 'hmo' undeclared (first use in this function) API.c:865: error: parse error before 'tmp' API.c:870: error: 'RETVAL' undeclared (first use in this function) API.c:870: error: 'lpMidiOutHdr' undeclared (first use in this function) API.c:870: 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:1032: error: 'MMRESULT' undeclared (first use in this function) API.c:1032: error: parse error before 'wError' API.c:1035: error: 'wError' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_Reset': API.c:892: error: 'MMRESULT' undeclared (first use in this function) API.c:892: error: parse error before 'RETVAL' API.c:893: error: 'HMIDIOUT' 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:1070: error: 'HMIDIOUT' undeclared (first use in this function) API.c:1070: error: parse error before 'hmo' API.c:898: error: 'hmo' undeclared (first use in this function) API.c:898: error: parse error before 'tmp' API.c:903: error: 'RETVAL' undeclared (first use in this function) API.c:1075: error: 'hmo' undeclared (first use in this function) API.c:1075: error: parse error before 'tmp' API.xs:549: error: 'id' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_ShortMsg': API.c:925: error: 'MMRESULT' undeclared (first use in this function) API.c:925: error: parse error before 'RETVAL' API.c:926: error: 'HMIDIOUT' undeclared (first use in this function) API.c:927: error: 'DWORD' 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:1108: error: 'DWORD' undeclared (first use in this function) API.c:1108: error: parse error before 'dwCallback' API.c:932: error: 'hmo' undeclared (first use in this function)API.c:1113: error: 'MIDI_MAPPER' undeclared (first use in this function) API.c:932: error: parse error before 'tmp' API.c:937: error: 'RETVAL' undeclared (first use in this function) API.c:937: error: 'dwMsg' undeclared (first use in this function) API.c:1119: error: 'dwCallback' undeclared (first use in this function) API.c:1131: error: 'fdwOpen' undeclared (first use in this function) API.c:1131: 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__Out_PrepareHeader': API.c:959: error: 'MMRESULT' undeclared (first use in this function) API.c:959: error: parse error before 'RETVAL' API.c:960: error: 'HMIDIOUT' undeclared (first use in this function) API.c:961: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:966: error: 'hmo' undeclared (first use in this function)API.c: In function 'XS_Win32__MIDI__API__Stream_Close': API.c:1170: error: 'MMRESULT' undeclared (first use in this function)API.c:966: error: parse error before 'tmp' API.c:1170: error: parse error before 'RETVAL' API.c:1171: error: 'HMIDISTRM' undeclared (first use in this function) API.c:971: error: 'RETVAL' undeclared (first use in this function) API.c:971: error: 'lpMidiOutHdr' undeclared (first use in this function) API.c:971: error: 'MIDIHDR' undeclared (first use in this function) API.c:1175: error: 'hStream' undeclared (first use in this function) API.c:1175: error: parse error before 'tmp' API.c:1180: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Out_UnprepareHeader': API.c:993: error: 'MMRESULT' undeclared (first use in this function) API.c:993: error: parse error before 'RETVAL' API.c:994: error: 'HMIDIOUT' undeclared (first use in this function) API.c:995: error: 'LPMIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Out': API.c:1202: error: 'MMRESULT' undeclared (first use in this function) API.c:1202: error: parse error before 'RETVAL' API.c:1203: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1204: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:1000: error: 'hmo' undeclared (first use in this function) API.c:1000: error: parse error before 'tmp'API.c:1208: error: 'hMidiStream' undeclared (first use in this function) API.c:1208: error: parse error before 'tmp' API.c:1005: error: 'RETVAL' undeclared (first use in this function) API.c:1213: error: 'RETVAL' undeclared (first use in this function) API.c:1005: error: 'lpMidiOutHdr' undeclared (first use in this function) API.c:1213: error: 'lpMidiHdr' undeclared (first use in this function) API.c:1005: error: 'MIDIHDR' undeclared (first use in this function) API.c:1213: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Restart': API.c:1235: error: 'MMRESULT' undeclared (first use in this function) API.c:1235: error: parse error before 'RETVAL' API.c:1236: error: 'HMIDISTRM' 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:1032: error: 'MMRESULT' undeclared (first use in this function) API.c:1032: error: parse error before 'wError' API.c:1035: error: 'wError' undeclared (first use in this function) API.c:1240: error: 'hms' undeclared (first use in this function) API.c:1240: error: parse error before 'tmp' API.c:1245: error: 'RETVAL' 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: In function 'XS_Win32__MIDI__API__Stream_Pause': API.c:1267: error: 'MMRESULT' undeclared (first use in this function) API.c:1267: error: parse error before 'RETVAL' API.c:1268: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1070: error: 'HMIDIOUT' undeclared (first use in this function) API.c:1070: error: parse error before 'hmo' API.c:1272: error: 'hms' undeclared (first use in this function) API.c:1272: error: parse error before 'tmp' API.c:1277: error: 'RETVAL' undeclared (first use in this function) API.c:1075: error: 'hmo' undeclared (first use in this function) API.c:1075: error: parse error before 'tmp' API.xs:549: error: 'id' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Stop': API.c:1299: error: 'MMRESULT' undeclared (first use in this function) API.c:1299: error: parse error before 'RETVAL' API.c:1300: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1304: error: 'hms' undeclared (first use in this function) API.c:1304: error: parse error before 'tmp' API.xs: In function 'XS_Win32__MIDI__API__Stream_Open':API.c:1309: error: 'RETVAL' undeclared (first use in this function) API.xs:611: error: 'HMIDISTRM' undeclared (first use in this function) API.xs:611: error: parse error before 'h' API.c:1108: error: 'DWORD' undeclared (first use in this function) API.c:1108: error: parse error before 'dwCallback' API.c:1113: error: 'MIDI_MAPPER' undeclared (first use in this function) API.c:1119: error: 'dwCallback' undeclared (first use in this function) API.c:1131: error: 'fdwOpen' undeclared (first use in this function) API.c:1131: error: 'CALLBACK_NULL' undeclared (first use in this function) API.xs:616: error: 'h' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Position': API.xs:618: error: 'RETVAL' undeclared (first use in this function)API.c:1331: error: 'MMRESULT' undeclared (first use in this function) API.c:1331: error: parse error before 'RETVAL' API.c:1332: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1333: error: 'LPMMTIME' undeclared (first use in this function) API.c:1337: error: 'hms' undeclared (first use in this function) API.c:1337: error: parse error before 'tmp' API.c:1342: error: 'RETVAL' undeclared (first use in this function) API.c:1342: error: 'pmmt' undeclared (first use in this function) API.c:1342: error: 'MMTIME' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Close': API.c:1170: error: 'MMRESULT' undeclared (first use in this function) API.c:1170: error: parse error before 'RETVAL' API.c:1171: error: 'HMIDISTRM' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Property': API.c:1364: error: 'MMRESULT' undeclared (first use in this function) API.c:1364: error: parse error before 'RETVAL' API.c:1365: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1366: error: 'LPBYTE' undeclared (first use in this function) API.c:1175: error: 'hStream' undeclared (first use in this function) API.c:1175: error: parse error before 'tmp' API.c:1180: error: 'RETVAL' undeclared (first use in this function) API.c:1371: error: 'hms' undeclared (first use in this function) API.c:1371: error: parse error before 'tmp' API.c:1376: error: 'RETVAL' undeclared (first use in this function) API.c:1376: error: 'lppropdata' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Out': API.c:1202: error: 'MMRESULT' undeclared (first use in this function) API.c:1202: error: parse error before 'RETVAL' API.c:1203: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1204: error: 'LPMIDIHDR' undeclared (first use in this function) API.c:1208: error: 'hMidiStream' undeclared (first use in this function) API.c:1208: error: parse error before 'tmp' API.c:1213: error: 'RETVAL' undeclared (first use in this function) API.c:1213: error: 'lpMidiHdr' undeclared (first use in this function) API.c:1213: error: 'MIDIHDR' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Restart': API.c:1235: error: 'MMRESULT' undeclared (first use in this function) API.c:1235: error: parse error before 'RETVAL' API.c:1236: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1240: error: 'hms' undeclared (first use in this function) API.c:1240: error: parse error before 'tmp' API.c:1245: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Pause': API.c:1267: error: 'MMRESULT' undeclared (first use in this function) API.c:1267: error: parse error before 'RETVAL' API.c:1268: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1272: error: 'hms' undeclared (first use in this function) API.c:1272: error: parse error before 'tmp' API.c:1277: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Stop': API.c:1299: error: 'MMRESULT' undeclared (first use in this function) API.c:1299: error: parse error before 'RETVAL' API.c:1300: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1304: error: 'hms' undeclared (first use in this function) API.c:1304: error: parse error before 'tmp' API.c:1309: error: 'RETVAL' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Position': API.c:1331: error: 'MMRESULT' undeclared (first use in this function) API.c:1331: error: parse error before 'RETVAL' API.c:1332: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1333: error: 'LPMMTIME' undeclared (first use in this function) API.c:1337: error: 'hms' undeclared (first use in this function) API.c:1337: error: parse error before 'tmp' API.c:1342: error: 'RETVAL' undeclared (first use in this function) API.c:1342: error: 'pmmt' undeclared (first use in this function) API.c:1342: error: 'MMTIME' undeclared (first use in this function) API.c: In function 'XS_Win32__MIDI__API__Stream_Property': API.c:1364: error: 'MMRESULT' undeclared (first use in this function) API.c:1364: error: parse error before 'RETVAL' API.c:1365: error: 'HMIDISTRM' undeclared (first use in this function) API.c:1366: error: 'LPBYTE' undeclared (first use in this function) API.c:1371: error: 'hms' undeclared (first use in this function) API.c:1371: error: parse error before 'tmp' API.c:1376: error: 'RETVAL' undeclared (first use in this function) API.c:1376: error: 'lppropdata' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccNaz6on.out (No such file or directory) make: *** [API.o] Error 1