OS = darwin Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lbluetooth Writing Makefile for Net::Bluetooth cp Bluetooth.pm blib/lib/Net/Bluetooth.pm /Users/cpanrun/build/5.10.0/bin/perl /Users/cpanrun/build/5.10.0/lib/ExtUtils/xsubpp -prototypes -typemap /Users/cpanrun/build/5.10.0/lib/ExtUtils/typemap -typemap typemap Bluetooth.xs > Bluetooth.xsc && mv Bluetooth.xsc Bluetooth.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.40\" -DXS_VERSION=\"0.40\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" Bluetooth.c Bluetooth.xs:11:33: error: bluetooth/bluetooth.h: No such file or directory Bluetooth.xs:12:27: error: bluetooth/hci.h: No such file or directory Bluetooth.xs:13:31: error: bluetooth/hci_lib.h: No such file or directory Bluetooth.xs:14:27: error: bluetooth/sdp.h: No such file or directory Bluetooth.xs:15:31: error: bluetooth/sdp_lib.h: No such file or directory Bluetooth.xs:16:30: error: bluetooth/rfcomm.h: No such file or directory Bluetooth.xs:17:29: error: bluetooth/l2cap.h: No such file or directory Bluetooth.xs:11:33: error: bluetooth/bluetooth.h: No such file or directory Bluetooth.xs:12:27: error: bluetooth/hci.h: No such file or directory Bluetooth.xs:13:31: error: bluetooth/hci_lib.h: No such file or directory Bluetooth.xs:14:27: error: bluetooth/sdp.h: No such file or directory Bluetooth.xs:15:31: error: bluetooth/sdp_lib.h: No such file or directory Bluetooth.xs:16:30: error: bluetooth/rfcomm.h: No such file or directory Bluetooth.xs:17:29: error: bluetooth/l2cap.h: No such file or directory Bluetooth.xs: In function 'XS_Net__Bluetooth_get_remote_devices': Bluetooth.xs:165: error: 'IREQ_CACHE_FLUSH' undeclared (first use in this function) Bluetooth.xs:165: error: (Each undeclared identifier is reported only once Bluetooth.xs:165: error: for each function it appears in.) Bluetooth.xs:167: error: 'bdaddr_t' undeclared (first use in this function) Bluetooth.xs:167: error: parse error before 'baddr' Bluetooth.xs:173: error: 'baddr' undeclared (first use in this function) Bluetooth.xs:192: error: 'inquiry_info' undeclared (first use in this function) Bluetooth.xs:192: error: 'ii' undeclared (first use in this function) Bluetooth.xs:192: error: parse error before ')' token Bluetooth.xs: In function 'XS_Net__Bluetooth_get_remote_devices': Bluetooth.xs:165: error: 'IREQ_CACHE_FLUSH' undeclared (first use in this function) Bluetooth.xs:165: error: (Each undeclared identifier is reported only once Bluetooth.xs:165: error: for each function it appears in.) Bluetooth.xs:167: error: 'bdaddr_t' undeclared (first use in this function) Bluetooth.xs:167: error: parse error before 'baddr' Bluetooth.xs: In function 'XS_Net__Bluetooth_sdp_search': Bluetooth.xs:228: error: 'bdaddr_t' undeclared (first use in this function) Bluetooth.xs:228: error: parse error before 'target' Bluetooth.xs:229: error: 'sdp_list_t' undeclared (first use in this function)Bluetooth.xs:173: error: 'baddr' undeclared (first use in this function) Bluetooth.xs:229: error: 'response_list' undeclared (first use in this function) Bluetooth.xs:230: error: 'sdp_session_t' undeclared (first use in this function) Bluetooth.xs:230: error: 'session' undeclared (first use in this function) Bluetooth.xs:235: error: 'target' undeclared (first use in this function) Bluetooth.xs:241: error: 'BDADDR_ANY' undeclared (first use in this function) Bluetooth.xs:241: error: 'SDP_RETRY_IF_BUSY' undeclared (first use in this function) Bluetooth.xs:192: error: 'inquiry_info' undeclared (first use in this function) Bluetooth.xs:192: error: 'ii' undeclared (first use in this function) Bluetooth.xs:192: error: parse error before ')' token Bluetooth.xs:261: error: 'search_list' undeclared (first use in this function) Bluetooth.xs:263: error: 'attrid_list' undeclared (first use in this function) Bluetooth.xs:267: error: 'SDP_ATTR_REQ_RANGE' undeclared (first use in this function) Bluetooth.xs:273: error: 'r' undeclared (first use in this function) Bluetooth.xs:278: error: 'sdp_record_t' undeclared (first use in this function) Bluetooth.xs:278: error: 'rec' undeclared (first use in this function) Bluetooth.xs:278: error: parse error before ')' token Bluetooth.xs:279: error: 'proto_list' undeclared (first use in this function) Bluetooth.xs:341: error: 'p' undeclared (first use in this function) Bluetooth.xs:347: error: 'RFCOMM_UUID' undeclared (first use in this function) Bluetooth.xs:351: error: 'L2CAP_UUID' undeclared (first use in this function) Bluetooth.xs:362: error: parse error before ')' token Bluetooth.xs: In function 'XS_Net__Bluetooth_sdp_search': Bluetooth.xs:228: error: 'bdaddr_t' undeclared (first use in this function) Bluetooth.xs:228: error: parse error before 'target' Bluetooth.xs:229: error: 'sdp_list_t' undeclared (first use in this function) Bluetooth.xs:229: error: 'response_list' undeclared (first use in this function) Bluetooth.xs:230: error: 'sdp_session_t' undeclared (first use in this function) Bluetooth.xs:230: error: 'session' undeclared (first use in this function) Bluetooth.xs:235: error: 'target' undeclared (first use in this function) Bluetooth.xs:241: error: 'BDADDR_ANY' undeclared (first use in this function) Bluetooth.xs:241: error: 'SDP_RETRY_IF_BUSY' undeclared (first use in this function) Bluetooth.xs:261: error: 'search_list' undeclared (first use in this function) Bluetooth.xs:263: error: 'attrid_list' undeclared (first use in this function) Bluetooth.xs:267: error: 'SDP_ATTR_REQ_RANGE' undeclared (first use in this function) Bluetooth.xs:273: error: 'r' undeclared (first use in this function) Bluetooth.xs:278: error: 'sdp_record_t' undeclared (first use in this function) Bluetooth.xs:278: error: 'rec' undeclared (first use in this function) Bluetooth.xs:278: error: parse error before ')' token Bluetooth.xs:279: error: 'proto_list' undeclared (first use in this function) Bluetooth.xs:341: error: 'p' undeclared (first use in this function) Bluetooth.xs:347: error: 'RFCOMM_UUID' undeclared (first use in this function) Bluetooth.xs:351: error: 'L2CAP_UUID' undeclared (first use in this function) Bluetooth.xs: In function 'XS_Net__Bluetooth__socket': Bluetooth.xs:389: error: 'AF_BLUETOOTH' undeclared (first use in this function) Bluetooth.xs:389: error: 'BTPROTO_RFCOMM' undeclared (first use in this function) Bluetooth.xs:392: error: 'BTPROTO_L2CAP' undeclared (first use in this function) Bluetooth.xs:362: error: parse error before ')' token Bluetooth.xs: In function 'XS_Net__Bluetooth__connect': Bluetooth.xs:411: error: storage size of 'rcaddr' isn't known Bluetooth.xs:412: error: 'AF_BLUETOOTH' undeclared (first use in this function) Bluetooth.xs:425: error: storage size of 'l2addr' isn't known Bluetooth.xs: In function 'XS_Net__Bluetooth__socket': Bluetooth.xs:389: error: 'AF_BLUETOOTH' undeclared (first use in this function) Bluetooth.xs:389: error: 'BTPROTO_RFCOMM' undeclared (first use in this function) Bluetooth.xs:392: error: 'BTPROTO_L2CAP' undeclared (first use in this function) Bluetooth.xs: In function 'XS_Net__Bluetooth__bind': Bluetooth.xs:460: error: storage size of 'rcaddr' isn't known Bluetooth.xs:462: error: 'AF_BLUETOOTH' undeclared (first use in this function) Bluetooth.xs:464: error: 'BDADDR_ANY' undeclared (first use in this function) Bluetooth.xs: In function 'XS_Net__Bluetooth__connect': Bluetooth.xs:411: error: storage size of 'rcaddr' isn't known Bluetooth.xs:412: error: 'AF_BLUETOOTH' undeclared (first use in this function)Bluetooth.xs:470: error: storage size of 'l2addr' isn't known Bluetooth.xs:425: error: storage size of 'l2addr' isn't known Bluetooth.xs: In function 'XS_Net__Bluetooth__bind': Bluetooth.xs:460: error: storage size of 'rcaddr' isn't known Bluetooth.xs:462: error: 'AF_BLUETOOTH' undeclared (first use in this function) Bluetooth.xs:464: error: 'BDADDR_ANY' undeclared (first use in this function) Bluetooth.xs:470: error: storage size of 'l2addr' isn't known Bluetooth.xs: In function 'XS_Net__Bluetooth__accept': Bluetooth.xs:507: error: storage size of 'rcaddr' isn't known Bluetooth.xs:519: error: storage size of 'l2addr' isn't known Bluetooth.xs: In function 'XS_Net__Bluetooth__register_service_handle': Bluetooth.xs:550: error: 'sdp_list_t' undeclared (first use in this function) Bluetooth.xs:550: error: 'l2cap_list' undeclared (first use in this function) Bluetooth.xs:551: error: 'rfcomm_list' undeclared (first use in this function) Bluetooth.xs:552: error: 'root_list' undeclared (first use in this function) Bluetooth.xs:553: error: 'proto_list' undeclared (first use in this function) Bluetooth.xs:554: error: 'access_proto_list' undeclared (first use in this function) Bluetooth.xs:555: error: 'sdp_data_t' undeclared (first use in this function) Bluetooth.xs:555: error: 'channel' undeclared (first use in this function) Bluetooth.xs:555: error: 'psm' undeclared (first use in this function) Bluetooth.xs:557: error: 'sdp_record_t' undeclared (first use in this function) Bluetooth.xs:557: error: 'record' undeclared (first use in this function) Bluetooth.xs: In function 'XS_Net__Bluetooth__accept': Bluetooth.xs:507: error: storage size of 'rcaddr' isn't known Bluetooth.xs:566: error: 'PUBLIC_BROWSE_GROUP' undeclared (first use in this function) Bluetooth.xs:571: error: 'L2CAP_UUID' undeclared (first use in this function) Bluetooth.xs:578: error: 'SDP_UINT16' undeclared (first use in this function) Bluetooth.xs:519: error: storage size of 'l2addr' isn't knownBluetooth.xs:587: error: 'RFCOMM_UUID' undeclared (first use in this function) Bluetooth.xs:590: error: 'SDP_UINT8' undeclared (first use in this function) Bluetooth.xs:604: error: 'sdp_session_t' undeclared (first use in this function) Bluetooth.xs:604: error: 'session' undeclared (first use in this function) Bluetooth.xs:604: error: 'BDADDR_ANY' undeclared (first use in this function) Bluetooth.xs:604: error: 'BDADDR_LOCAL' undeclared (first use in this function) Bluetooth.xs:604: error: 'SDP_RETRY_IF_BUSY' undeclared (first use in this function) Bluetooth.xs: In function 'XS_Net__Bluetooth__register_service_handle': Bluetooth.xs:550: error: 'sdp_list_t' undeclared (first use in this function) Bluetooth.xs:550: error: 'l2cap_list' undeclared (first use in this function) Bluetooth.xs:551: error: 'rfcomm_list' undeclared (first use in this function) Bluetooth.xs:552: error: 'root_list' undeclared (first use in this function) Bluetooth.xs:553: error: 'proto_list' undeclared (first use in this function) Bluetooth.xs:554: error: 'access_proto_list' undeclared (first use in this function) Bluetooth.xs:555: error: 'sdp_data_t' undeclared (first use in this function) Bluetooth.xs:555: error: 'channel' undeclared (first use in this function) Bluetooth.xs: In function 'XS_Net__Bluetooth__stop_service_handle':Bluetooth.xs:555: error: 'psm' undeclared (first use in this function) Bluetooth.xs:634: error: 'sdp_session_t' undeclared (first use in this function) Bluetooth.xs:557: error: 'sdp_record_t' undeclared (first use in this function) Bluetooth.xs:634: error: 'sdp_session' undeclared (first use in this function) Bluetooth.xs:557: error: 'record' undeclared (first use in this function) Bluetooth.xs:635: error: parse error before ')' token Bluetooth.xs:566: error: 'PUBLIC_BROWSE_GROUP' undeclared (first use in this function) Bluetooth.xs:571: error: 'L2CAP_UUID' undeclared (first use in this function) Bluetooth.xs:578: error: 'SDP_UINT16' undeclared (first use in this function) Bluetooth.xs:587: error: 'RFCOMM_UUID' undeclared (first use in this function) Bluetooth.xs:590: error: 'SDP_UINT8' undeclared (first use in this function) Bluetooth.xs:604: error: 'sdp_session_t' undeclared (first use in this function) Bluetooth.xs:604: error: 'session' undeclared (first use in this function) Bluetooth.xs:604: error: 'BDADDR_ANY' undeclared (first use in this function) Bluetooth.xs:604: error: 'BDADDR_LOCAL' undeclared (first use in this function) Bluetooth.xs:604: error: 'SDP_RETRY_IF_BUSY' undeclared (first use in this function) Bluetooth.xs: In function 'XS_Net__Bluetooth__getpeername': Bluetooth.xs:646: error: storage size of 'rcaddr' isn't known Bluetooth.xs:657: error: storage size of 'l2addr' isn't known Bluetooth.xs: In function 'XS_Net__Bluetooth__stop_service_handle': Bluetooth.xs:634: error: 'sdp_session_t' undeclared (first use in this function) Bluetooth.xs:634: error: 'sdp_session' undeclared (first use in this function) Bluetooth.xs:635: error: parse error before ')' token Bluetooth.xs: In function 'XS_Net__Bluetooth__getpeername': Bluetooth.xs:646: error: storage size of 'rcaddr' isn't known Bluetooth.xs:657: error: storage size of 'l2addr' isn't known lipo: can't open input file: /var/tmp//ccMsZDkk.out (No such file or directory) make: *** [Bluetooth.o] Error 1