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 /home/cpanrun/ia64/build/5.8.2/bin/perl /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/ExtUtils/xsubpp -typemap /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/ExtUtils/typemap -typemap typemap API.xs > API.xsc && mv API.xsc API.c cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +DSitanium2 +Ofltacc=strict -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" +Z "-I/home/cpanrun/ia64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi/CORE" API.c Error 112: "API.xs", line 31 # Include file not found. #include ^^^^^^^^^^^ Error 112: "API.xs", line 32 # Include file not found. #include ^^^^^^^^^^^^ Error 20: "API.xs", line 34 # ',' expected before 'mmsyserr'. static MMRESULT mmsyserr = MMSYSERR_NOERROR; ^^^^^^^^ Error 172: "API.xs", line 34 # Undeclared variable 'MMSYSERR_NOERROR'. static MMRESULT mmsyserr = MMSYSERR_NOERROR; ^^^^^^^^^^^^^^^^ Error 452: "API.xs", line 38 # Objects may not have void type. static void CALLBACK /* without CALLBACK we have segfault */ ^^^^^^^^ Error 20: "API.xs", line 39 # ';' expected before 'midiInProc_wrapper'. midiInProc_wrapper(hMidiIn, wMsg, dwInstance, dwParam1, dwParam2 ^^^^^^^^^^^^^^^^^^ Error 419: "API.xs", line 40 # 'HMIDIIN' is used as a type, but has not been defined as a type. HMIDIIN hMidiIn; ^^^^^^^ Error 419: "API.xs", line 41 # 'UINT' is used as a type, but has not been defined as a type. UINT wMsg; ^^^^ Error 419: "API.xs", line 42 # 'DWORD' is used as a type, but has not been defined as a type. DWORD dwInstance; ^^^^^ Error 419: "API.xs", line 43 # 'DWORD' is used as a type, but has not been defined as a type. DWORD dwParam1; ^^^^^ Error 419: "API.xs", line 44 # 'DWORD' is used as a type, but has not been defined as a type. DWORD dwParam2; ^^^^^ Warning 942: "API.xs", line 65 # Types 'void *' and 'int' are not assignment-compatible. sv_setref_pv(rv, "Win32::MIDI::API::In", hMidiIn); ^^^^^^^^^^^^ Warning 361: "API.xs", line 39 # Value-returning function might end without executing a return statement. midiInProc_wrapper(hMidiIn, wMsg, dwInstance, dwParam1, dwParam2 ^^^^^^^^^^^^^^^^^^ Warning 612: "mmsystem.xs", line 368 # Label 'not_there' has no uses. not_there: ^^^^^^^^^^ Warning 612: "mmsystem.xs", line 426 # Label 'not_there' has no uses. not_there: ^^^^^^^^^^ Warning 612: "mmsystem.xs", line 945 # Label 'not_there' has no uses. not_there: ^^^^^^^^^^ Warning 612: "mmsystem.xs", line 1146 # Label 'not_there' has no uses. not_there: ^^^^^^^^^^ Warning 612: "mmsystem.xs", line 1497 # Label 'not_there' has no uses. not_there: ^^^^^^^^^^ Warning 612: "mmsystem.xs", line 1630 # Label 'not_there' has no uses. not_there: ^^^^^^^^^^ Warning 612: "mmsystem.xs", line 1650 # Label 'not_there' has no uses. not_there: ^^^^^^^^^^ Error 419: "API.c", line 166 # 'UINT' is used as a type, but has not been defined as a type. UINT RETVAL; ^^^^ Error 699: "API.c", line 166 # Error limit reached; halting compilation. UINT RETVAL; ^^^^ make: *** [API.o] Error 2