Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lhid Note (probably harmless): No library found for -lusb Writing Makefile for Device::MX240 cp MX240.pm blib/lib/Device/MX240.pm AutoSplitting blib/lib/Device/MX240.pm (blib/lib/auto/Device/MX240) /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 MX240.xs > MX240.xsc && mv MX240.xsc MX240.c Please specify prototyping behavior for MX240.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 -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -pipe -O3 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" MX240.c MX240.xs:8:17: error: hid.h: No such file or directory MX240.xs: In function 'read_dev': MX240.xs:29: error: 'HIDInterface' undeclared (first use in this function) MX240.xs:29: error: (Each undeclared identifier is reported only once MX240.xs:29: error: for each function it appears in.) MX240.xs:29: error: 'hid' undeclared (first use in this function) MX240.xs:8:17:MX240.xs:37: error: parse error before ')' token error: hid.h: No such file or directory MX240.xs:46: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness MX240.xs: In function 'read_dev': MX240.xs:29: error: 'HIDInterface' undeclared (first use in this function) MX240.xs:29: error: (Each undeclared identifier is reported only once MX240.xs:29: error: for each function it appears in.) MX240.xs:29: error: 'hid' undeclared (first use in this function) MX240.xs: In function 'write_dev': MX240.xs:55: error: 'HIDInterface' undeclared (first use in this function) MX240.xs:55: error: 'hid' undeclared (first use in this function) MX240.xs:37: error: parse error before ')' token MX240.xs:63: error: parse error before ')' token MX240.xs:46: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness MX240.xs: In function 'open_dev': MX240.xs:81: error: 'hid_return' undeclared (first use in this function) MX240.xs:81: error: parse error before 'ret' MX240.xs:82: error: 'HIDInterface' undeclared (first use in this function) MX240.xs:82: error: 'hid' undeclared (first use in this function) MX240.xs:85: error: 'HIDInterfaceMatcher' undeclared (first use in this function) MX240.xs: In function 'write_dev':MX240.xs:85: error: parse error before 'matcher' MX240.xs:55: error: 'HIDInterface' undeclared (first use in this function) MX240.xs:55: error: 'hid' undeclared (first use in this function)MX240.xs:87: error: 'ret' undeclared (first use in this function) MX240.xs:89: error: 'HID_RET_SUCCESS' undeclared (first use in this function) MX240.xs:63: error: parse error before ')' token MX240.xs:100: error: 'matcher' undeclared (first use in this function) MX240.xs: In function 'open_dev': MX240.xs:81: error: 'hid_return' undeclared (first use in this function) MX240.xs:81: error: parse error before 'ret' MX240.xs:82: error: 'HIDInterface' undeclared (first use in this function) MX240.xs:82: error: 'hid' undeclared (first use in this function) MX240.xs: In function 'close_dev': MX240.xs:85: error: 'HIDInterfaceMatcher' undeclared (first use in this function)MX240.xs:118: error: 'HIDInterface' undeclared (first use in this function) MX240.xs:85: error: parse error before 'matcher'MX240.xs:118: error: 'hid' undeclared (first use in this function) MX240.xs:119: error: 'hid_return' undeclared (first use in this function) MX240.xs:87: error: 'ret' undeclared (first use in this function)MX240.xs:119: error: parse error before 'ret' MX240.xs:89: error: 'HID_RET_SUCCESS' undeclared (first use in this function) MX240.xs:125: error: parse error before ')' token MX240.xs:132: error: 'ret' undeclared (first use in this function)MX240.xs:100: error: 'matcher' undeclared (first use in this function) MX240.xs:133: error: 'HID_RET_SUCCESS' undeclared (first use in this function) MX240.xs: In function 'close_dev': MX240.xs:118: error: 'HIDInterface' undeclared (first use in this function) MX240.xs:118: error: 'hid' undeclared (first use in this function) MX240.xs:119: error: 'hid_return' undeclared (first use in this function) MX240.xs:119: error: parse error before 'ret' MX240.xs:125: error: parse error before ')' token MX240.xs:132: error: 'ret' undeclared (first use in this function) MX240.xs:133: error: 'HID_RET_SUCCESS' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccWEc7Wq.out (No such file or directory) make: *** [MX240.o] Error 1