Checking if your kit is complete... Looks good Writing Makefile for Win32::MIDI cp MIDI.pm blib/lib/Win32/MIDI.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 MIDI.xs > MIDI.xsc && mv MIDI.xsc MIDI.c Please specify prototyping behavior for MIDI.xs (see perlxs manual) 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.2\" -DXS_VERSION=\"0.2\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" MIDI.c MIDI.xs:1:21: error: windows.h: No such file or directory MIDI.xs:2:22: error: mmsystem.h: No such file or directory MIDI.xs:1:21: error: windows.h: No such file or directory MIDI.xs:2:22: error: mmsystem.h: No such file or directory MIDI.xs: In function 'XS_Win32__MIDI_openDevice': MIDI.xs:26: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.xs:26: error: (Each undeclared identifier is reported only once MIDI.xs:26: error: for each function it appears in.) MIDI.xs:26: error: parse error before 'thisHandle' MIDI.xs:29: error: 'thisHandle' undeclared (first use in this function) MIDI.xs:29: error: 'CALLBACK_NULL' undeclared (first use in this function) MIDI.xs:31: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32__MIDI_openDevice': MIDI.xs:26: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.xs:26: error: (Each undeclared identifier is reported only once MIDI.xs:26: error: for each function it appears in.) MIDI.xs:26: error: parse error before 'thisHandle' MIDI.xs:29: error: 'thisHandle' undeclared (first use in this function) MIDI.xs:29: error: 'CALLBACK_NULL' undeclared (first use in this function) MIDI.xs:31: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32__MIDI_getDeviceID': MIDI.xs:47: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.xs:47: error: parse error before 'thisHandle' MIDI.xs:52: error: 'thisHandle' undeclared (first use in this function) MIDI.xs:59: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32__MIDI_getDeviceID': MIDI.xs:47: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.xs:47: error: parse error before 'thisHandle' MIDI.xs:52: error: 'thisHandle' undeclared (first use in this function) MIDI.xs:59: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32__MIDI_writeMIDI': MIDI.xs:75: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.xs:75: error: parse error before 'thisHandle' MIDI.xs:80: error: 'thisHandle' undeclared (first use in this function) MIDI.xs:87: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32__MIDI_writeMIDI': MIDI.xs:75: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.xs:75: error: parse error before 'thisHandle' MIDI.xs:80: error: 'thisHandle' undeclared (first use in this function) MIDI.xs:87: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32__MIDI_closeDevice': MIDI.xs:100: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.xs:100: error: parse error before 'thisHandle' MIDI.xs:105: error: 'thisHandle' undeclared (first use in this function) MIDI.xs:110: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) MIDI.xs: In function 'XS_Win32__MIDI_closeDevice': MIDI.xs:100: error: 'HMIDIOUT' undeclared (first use in this function) MIDI.xs:100: error: parse error before 'thisHandle' MIDI.xs:105: error: 'thisHandle' undeclared (first use in this function) MIDI.xs:110: error: 'MMSYSERR_NOERROR' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccTVsXGx.out (No such file or directory) make: *** [MIDI.o] Error 1