Skip to content

Instantly share code, notes, and snippets.

@imownbey
Created November 20, 2008 19:57
Show Gist options
  • Save imownbey/27162 to your computer and use it in GitHub Desktop.
Save imownbey/27162 to your computer and use it in GitHub Desktop.
~/sites/ruby-bluetooth/src(master) $ make
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -c -o bluetooth_macosx.o bluetooth_macosx/bluetooth_macosx.m
bluetooth_macosx/bluetooth_macosx.m:2:17: error: ruby.h: No such file or directory
bluetooth_macosx/bluetooth_macosx.m:3:19: error: rubyio.h: No such file or directory
bluetooth_macosx/bluetooth_macosx.m:4:20: error: rubysig.h: No such file or directory
In file included from bluetooth_macosx/bluetooth_macosx.m:13:
bluetooth_macosx/bluetooth_macosx.h:13: error: syntax error before ‘VALUE’
bluetooth_macosx/bluetooth_macosx.h:13: warning: no semicolon at end of struct or union
bluetooth_macosx/bluetooth_macosx.h:14: warning: data definition has no type or storage class
bluetooth_macosx/bluetooth_macosx.h:17: error: syntax error before ‘bt_device_new’
bluetooth_macosx/bluetooth_macosx.h:17: error: syntax error before ‘self’
bluetooth_macosx/bluetooth_macosx.h:17: warning: data definition has no type or storage class
bluetooth_macosx/bluetooth_macosx.h:19: error: syntax error before ‘bt_devices_scan’
bluetooth_macosx/bluetooth_macosx.h:19: error: syntax error before ‘self’
bluetooth_macosx/bluetooth_macosx.h:19: warning: data definition has no type or storage class
bluetooth_macosx/bluetooth_macosx.h:32: error: syntax error before ‘VALUE’
bluetooth_macosx/bluetooth_macosx.m:15: error: syntax error before ‘bt_module’
bluetooth_macosx/bluetooth_macosx.m:15: warning: data definition has no type or storage class
bluetooth_macosx/bluetooth_macosx.m:16: error: syntax error before ‘bt_device_class’
bluetooth_macosx/bluetooth_macosx.m:16: warning: data definition has no type or storage class
bluetooth_macosx/bluetooth_macosx.m:17: error: syntax error before ‘bt_devices_class’
bluetooth_macosx/bluetooth_macosx.m:17: warning: data definition has no type or storage class
bluetooth_macosx/bluetooth_macosx.m: In function ‘Init_ruby_bluetooth’:
bluetooth_macosx/bluetooth_macosx.m:24: error: ‘rb_cObject’ undeclared (first use in this function)
bluetooth_macosx/bluetooth_macosx.m:24: error: (Each undeclared identifier is reported only once
bluetooth_macosx/bluetooth_macosx.m:24: error: for each function it appears in.)
bluetooth_macosx/bluetooth_macosx.m:28: error: ‘Qtrue’ undeclared (first use in this function)
bluetooth_macosx/bluetooth_macosx.m:28: error: ‘Qfalse’ undeclared (first use in this function)
bluetooth_macosx/bluetooth_macosx.m: At top level:
bluetooth_macosx/bluetooth_macosx.m:34: error: syntax error before ‘bt_device_new’
bluetooth_macosx/bluetooth_macosx.m:34: error: syntax error before ‘self’
bluetooth_macosx/bluetooth_macosx.m: In function ‘bt_device_new’:
bluetooth_macosx/bluetooth_macosx.m:38: error: ‘VALUE’ undeclared (first use in this function)
bluetooth_macosx/bluetooth_macosx.m:38: error: syntax error before ‘obj’
bluetooth_macosx/bluetooth_macosx.m:42: error: ‘obj’ undeclared (first use in this function)
bluetooth_macosx/bluetooth_macosx.m:43: error: ‘addr’ undeclared (first use in this function)
bluetooth_macosx/bluetooth_macosx.m: At top level:
bluetooth_macosx/bluetooth_macosx.m:49: error: syntax error before ‘bt_devices_scan’
bluetooth_macosx/bluetooth_macosx.m:49: error: syntax error before ‘self’
bluetooth_macosx/bluetooth_macosx.m: In function ‘bt_devices_scan’:
bluetooth_macosx/bluetooth_macosx.m:54: warning: ‘BluetoothDeviceScanner’ may not respond to ‘-foundDevices’
bluetooth_macosx/bluetooth_macosx.m:54: warning: (Messages without a matching method signature
bluetooth_macosx/bluetooth_macosx.m:54: warning: will be assumed to return ‘id’ and accept
bluetooth_macosx/bluetooth_macosx.m:54: warning: ‘...’ as arguments.)
bluetooth_macosx/bluetooth_macosx.m:54: warning: return makes integer from pointer without a cast
bluetooth_macosx/bluetooth_macosx.m: In function ‘-[BluetoothDeviceScanner deviceInquiryDeviceFound:device:]’:
bluetooth_macosx/bluetooth_macosx.m:62: error: ‘deviceAddressString’ undeclared (first use in this function)
bluetooth_macosx/bluetooth_macosx.m:70: error: ‘inDevice’ undeclared (first use in this function)
bluetooth_macosx/bluetooth_macosx.m:75: error: ‘VALUE’ undeclared (first use in this function)
bluetooth_macosx/bluetooth_macosx.m:75: error: syntax error before ‘bt_dev’
bluetooth_macosx/bluetooth_macosx.m:77: error: ‘_foundDevices’ undeclared (first use in this function)
bluetooth_macosx/bluetooth_macosx.m:77: error: ‘bt_dev’ undeclared (first use in this function)
bluetooth_macosx/bluetooth_macosx.m: In function ‘-[BluetoothDeviceScanner startSearch]’:
bluetooth_macosx/bluetooth_macosx.m:88: error: ‘_foundDevices’ undeclared (first use in this function)
make: *** [bluetooth_macosx.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment