[sun@sun-desktop j0 s0 ~/tmp/buffaloplay/ruby_libusb]
526$ make
gcc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC -c usbbasics.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC -c libusb_c.c
g++ -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC -c hid.cpp
hid.cpp:24:30: error: ReportDescriptor.h: No such file or directory
hid.cpp:29: error: HID is not a namespace-name
hid.cpp:29: error: expected namespace-name before ; token
hid.cpp:39: error: invalid use of static in linkage specification
hid.cpp: In function void descriptor_free(void*):
hid.cpp:41: error: expected type-specifier before ReportDescriptor
hid.cpp:41: error: expected `>' before ReportDescriptor
hid.cpp:41: error: expected `(' before ReportDescriptor
hid.cpp:41: error: ReportDescriptor was not declared in this scope
hid.cpp:41: error: expected primary-expression before > token
hid.cpp:41: error: expected `)' before ; token
hid.cpp: At global scope:
hid.cpp:44: error: invalid use of static in linkage specification
hid.cpp: In function void usage_free(void*):
hid.cpp:46: error: expected type-specifier before Usage
hid.cpp:46: error: expected `>' before Usage
hid.cpp:46: error: expected `(' before Usage
hid.cpp:46: error: Usage was not declared in this scope
hid.cpp:46: error: expected primary-expression before > token
hid.cpp:46: error: expected `)' before ; token
hid.cpp: In function VALUE report_inputs(VALUE):
hid.cpp:56: error: Report was not declared in this scope
hid.cpp:56: error: r was not declared in this scope
hid.cpp:57: error: expected primary-expression before ) token
hid.cpp:58: error: vector was not declared in this scope
hid.cpp:58: error: expected primary-expression before const
hid.cpp:58: error: expected `;' before const
hid.cpp:59: error: i was not declared in this scope
hid.cpp:60: error: expected type-specifier before InputOutputFeature
hid.cpp:60: error: expected `>' before InputOutputFeature
hid.cpp:60: error: expected `(' before InputOutputFeature
hid.cpp:60: error: InputOutputFeature was not declared in this scope
hid.cpp:60: error: expected primary-expression before > token
hid.cpp: In function VALUE report_outputs(VALUE):
hid.cpp:72: error: Report was not declared in this scope
hid.cpp:72: error: r was not declared in this scope
hid.cpp:73: error: expected primary-expression before ) token
hid.cpp:74: error: vector was not declared in this scope
hid.cpp:74: error: expected primary-expression before const
hid.cpp:74: error: expected `;' before const
hid.cpp:75: error: i was not declared in this scope
hid.cpp:76: error: expected type-specifier before InputOutputFeature
hid.cpp:76: error: expected `>' before InputOutputFeature
hid.cpp:76: error: expected `(' before InputOutputFeature
hid.cpp:76: error: InputOutputFeature was not declared in this scope
hid.cpp:76: error: expected primary-expression before > token
hid.cpp: In function VALUE report_id(VALUE):
hid.cpp:87: error: Report was not declared in this scope
hid.cpp:87: error: r was not declared in this scope
hid.cpp:88: error: expected primary-expression before ) token
hid.cpp: In function VALUE report_descriptor_reports(VALUE):
hid.cpp:99: error: ReportDescriptor was not declared in this scope
hid.cpp:99: error: rd was not declared in this scope
hid.cpp:100: error: expected primary-expression before ) token
hid.cpp:101: error: map was not declared in this scope
hid.cpp:101: error: expected primary-expression before unsigned
hid.cpp:101: error: expected `;' before unsigned
hid.cpp:102: error: i was not declared in this scope
hid.cpp:103: error: expected initializer before * token
hid.cpp:104: error: expected type-specifier before Report
hid.cpp:104: error: expected `>' before Report
hid.cpp:104: error: expected `(' before Report
hid.cpp:104: error: Report was not declared in this scope
hid.cpp:104: error: expected primary-expression before > token
hid.cpp:104: error: report was not declared in this scope
hid.cpp: In function VALUE inputoutputfeature_report_size(VALUE):
hid.cpp:118: error: InputOutputFeature was not declared in this scope
hid.cpp:118: error: r was not declared in this scope
hid.cpp:119: error: expected primary-expression before ) token
hid.cpp: In function VALUE inputoutputfeature_report_count(VALUE):
hid.cpp:132: error: InputOutputFeature was not declared in this scope
hid.cpp:132: error: r was not declared in this scope
hid.cpp:133: error: expected primary-expression before ) token
hid.cpp: In function VALUE inputoutputfeature_length(VALUE):
hid.cpp:143: error: InputOutputFeature was not declared in this scope
hid.cpp:143: error: r was not declared in this scope
hid.cpp:144: error: expected primary-expression before ) token
hid.cpp: In function VALUE inputoutputfeature_is_flag_set_internal(VALUE, VALUE):
hid.cpp:150: error: InputOutputFeature was not declared in this scope
hid.cpp:150: error: r was not declared in this scope
hid.cpp:151: error: expected primary-expression before ) token
hid.cpp:152: error: InputOutputFeature is not a class or namespace
hid.cpp: In function VALUE inputoutputfeature_usage_for_field(VALUE, VALUE):
hid.cpp:166: error: InputOutputFeature was not declared in this scope
hid.cpp:166: error: r was not declared in this scope
hid.cpp:167: error: expected primary-expression before ) token
hid.cpp:168: error: Usage was not declared in this scope
hid.cpp:168: error: expected `;' before u
hid.cpp:169: error: u was not declared in this scope
hid.cpp:170: error: usage_for_field was not declared in this scope
hid.cpp:170: error: expected type-specifier before Usage
hid.cpp:170: error: expected `;' before Usage
hid.cpp: In function VALUE inputoutputfeature_all_usages(VALUE):
hid.cpp:180: error: InputOutputFeature was not declared in this scope
hid.cpp:180: error: r was not declared in this scope
hid.cpp:181: error: expected primary-expression before ) token
hid.cpp:182: error: vector was not declared in this scope
hid.cpp:182: error: Usage was not declared in this scope
hid.cpp:182: error: usages was not declared in this scope
hid.cpp:183: error: ::const_iterator has not been declared
hid.cpp:183: error: expected `;' before i
hid.cpp:184: error: i was not declared in this scope
hid.cpp:185: error: usage was not declared in this scope
hid.cpp:185: error: expected type-specifier before Usage
hid.cpp:185: error: expected `;' before Usage
hid.cpp: In function VALUE usage_create_usage(VALUE, VALUE, VALUE):
hid.cpp:193: error: Usage was not declared in this scope
hid.cpp:193: error: new_usage was not declared in this scope
hid.cpp:193: error: expected type-specifier before Usage
hid.cpp:193: error: expected `;' before Usage
hid.cpp: In function VALUE usage_usage(VALUE):
hid.cpp:204: error: Usage was not declared in this scope
hid.cpp:204: error: u was not declared in this scope
hid.cpp:205: error: expected primary-expression before ) token
hid.cpp: In function VALUE usage_usage_page(VALUE):
hid.cpp:215: error: Usage was not declared in this scope
hid.cpp:215: error: u was not declared in this scope
hid.cpp:216: error: expected primary-expression before ) token
hid.cpp: In function VALUE usage_extended_usage(VALUE):
hid.cpp:226: error: Usage was not declared in this scope
hid.cpp:226: error: u was not declared in this scope
hid.cpp:227: error: expected primary-expression before ) token
hid.cpp: In function VALUE usage_name(VALUE):
hid.cpp:233: error: Usage was not declared in this scope
hid.cpp:233: error: u was not declared in this scope
hid.cpp:234: error: expected primary-expression before ) token
hid.cpp: In function VALUE usage_page_name(VALUE):
hid.cpp:240: error: Usage was not declared in this scope
hid.cpp:240: error: u was not declared in this scope
hid.cpp:241: error: expected primary-expression before ) token
hid.cpp: In function VALUE interface_hid_report_descriptor(VALUE):
hid.cpp:281: error: ReportDescriptor was not declared in this scope
hid.cpp:281: error: myDesc was not declared in this scope
hid.cpp:281: error: expected type-specifier before ReportDescriptor
hid.cpp:281: error: expected `;' before ReportDescriptor
hid.cpp: In function void Init_hid():
hid.cpp:322: error: InputOutputFeature has not been declared
hid.cpp:323: error: InputOutputFeature has not been declared
hid.cpp:324: error: InputOutputFeature has not been declared
hid.cpp:325: error: InputOutputFeature has not been declared
hid.cpp:326: error: InputOutputFeature has not been declared
hid.cpp:327: error: InputOutputFeature has not been declared
hid.cpp:328: error: InputOutputFeature has not been declared
hid.cpp:329: error: InputOutputFeature has not been declared
hid.cpp:330: error: InputOutputFeature has not been declared
hid.cpp:331: error: InputOutputFeature has not been declared
hid.cpp:332: error: InputOutputFeature has not been declared
hid.cpp:333: error: InputOutputFeature has not been declared
hid.cpp:334: error: InputOutputFeature has not been declared
hid.cpp:335: error: InputOutputFeature has not been declared
hid.cpp:336: error: InputOutputFeature has not been declared
hid.cpp:337: error: InputOutputFeature has not been declared
hid.cpp:338: error: InputOutputFeature has not been declared
hid.cpp:339: error: InputOutputFeature has not been declared
make: *** [hid.o] Error 1