Checking if your kit is complete... Looks good Writing Makefile for MIDI::Music cp Music.pm blib/lib/MIDI/Music.pm AutoSplitting blib/lib/MIDI/Music.pm (blib/lib/auto/MIDI/Music) /home/cpanrun/ia64-lp64/build/5.8.2/bin/perl /home/cpanrun/ia64-lp64/build/5.8.2/lib/5.8.2/ExtUtils/xsubpp -typemap /home/cpanrun/ia64-lp64/build/5.8.2/lib/5.8.2/ExtUtils/typemap Music.xs > Music.xsc && mv Music.xsc Music.c cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +DSitanium2 +Ofltacc=strict -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" +Z "-I/home/cpanrun/ia64-lp64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi-LP64/CORE" Music.c Error 112: "Music.xs", line 5 # Include file not found. #include ^^^^^^^^^^^^^^^^^ Error 20: "Music.xs", line 12 # '' expected before ';'. SEQ_DEFINEBUF(BUFFSIZE); ^ Warning 263: "Music.xs", line 12 # Object expected in declaration list. SEQ_DEFINEBUF(BUFFSIZE); ^ Error 20: "Music.xs", line 15 # ';' expected before '{'. void seqbuf_dump () { ^ Error 373: "Music.xs", line 12 # Old-style function definition parameter must be a simple identifier. SEQ_DEFINEBUF(BUFFSIZE); ^^^^^^^^ Error 375: "Music.xs", line 15 # Declaration does not match any parameter in old-style function definition. void seqbuf_dump () { ^^^^^^^^^^^ Error 172: "Music.xs", line 17 # Undeclared variable '_seqbufptr'. if (_seqbufptr) { ^^^^^^^^^^ Error 172: "Music.xs", line 19 # Undeclared variable '_seqbufptr'. if (write(seqfd, _seqbuf, _seqbufptr) == -1) ^^^^^^^^^^ Error 172: "Music.xs", line 22 # Undeclared variable '_seqbufptr'. _seqbufptr = 0; ^^^^^^^^^^ Warning 361: "Music.xs", line 12 # Value-returning function might end without executing a return statement. SEQ_DEFINEBUF(BUFFSIZE); ^^^^^^^^^^^^^ Error 172: "Music.xs", line 357 # Undeclared variable 'SNDCTL_SEQ_NRSYNTHS'. if (ioctl(seqfd, SNDCTL_SEQ_NRSYNTHS, &ndevices) == -1) { ^^^^^^^^^^^^^^^^^^^ Error 172: "Music.xs", line 375 # Undeclared variable 'SNDCTL_TMR_TIMEBASE'. if (ioctl(seqfd, SNDCTL_TMR_TIMEBASE, &tmp) == -1) { ^^^^^^^^^^^^^^^^^^^ Error 172: "Music.xs", line 389 # Undeclared variable 'SNDCTL_TMR_TEMPO'. if (ioctl(seqfd, SNDCTL_TMR_TEMPO, &tmp) == -1) { ^^^^^^^^^^^^^^^^ Error 172: "Music.xs", line 411 # Undeclared variable 'SNDCTL_TMR_METRONOME'. if (ioctl(seqfd, SNDCTL_TMR_METRONOME, &tmp) == -1) { ^^^^^^^^^^^^^^^^^^^^ Error 699: "Music.xs", line 411 # Error limit reached; halting compilation. if (ioctl(seqfd, SNDCTL_TMR_METRONOME, &tmp) == -1) { ^^^^^^^^^^^^^^^^^^^^ make: *** [Music.o] Error 2