arduino + host usb +barcode scanner = undefined reference

Hi,

I'm trying to build a barcode reader on the basis of: - www.electroingenio.com/arduino-en/bar-code-scanner-arduino-usb-shield-2/ - www.circuitsathome.com/mcu/connecting-barcode-scanner-arduino-usb-host-shield The problem is that the compilation of each of these projects end up for me a series of error "undefined reference". I do not know why, because I have a library where it is needed, and the code in them has not been changed.

console log while attempt to build project from www.electroingenio.com/arduino-en/bar-code-scanner-arduino-usb-shield-2/

BarcodeScanner.cpp.o: In function `setup':
/usr/share/arduino/BarcodeScanner.ino:93: undefined reference to `KeyboardReportParser::numKeys'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `KeyboardReportParser::numKeys'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `KeyboardReportParser::symKeysUp'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `KeyboardReportParser::symKeysUp'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `KeyboardReportParser::symKeysLo'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `KeyboardReportParser::symKeysLo'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `KeyboardReportParser::padKeys'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `KeyboardReportParser::padKeys'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `KeyboardReportParser::OemToAscii(unsigned char, unsigned char)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `MultiByteValueParser::Parse(unsigned char**, unsigned int*)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `MultiByteValueParser::Parse(unsigned char**, unsigned int*)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `MultiByteValueParser::Parse(unsigned char**, unsigned int*)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `MultiByteValueParser::Parse(unsigned char**, unsigned int*)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `USB::inTransfer(unsigned char, unsigned char, unsigned int*, unsigned char*)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `USB::getDevDescr(unsigned char, unsigned char, unsigned int, unsigned char*)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `USB::setAddr(unsigned char, unsigned char, unsigned char)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `USB::getDevDescr(unsigned char, unsigned char, unsigned int, unsigned char*)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `USB::getConfDescr(unsigned char, unsigned char, unsigned char, USBReadParser*)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `USB::setEpInfoEntry(unsigned char, unsigned char, EpInfo*)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `USB::setConf(unsigned char, unsigned char, unsigned char)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `HID::SetProtocol(unsigned char, unsigned char)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `HID::SetIdle(unsigned char, unsigned char, unsigned char)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `HID::GetReportDescr(unsigned int, USBReadParser*)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `HID::SetReport(unsigned char, unsigned char, unsigned char, unsigned char, unsigned int, unsigned char*)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `USB::Task()'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `USB::USB()'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `USBHub::USBHub(USB*)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `HIDUniversal::HIDUniversal(USB*)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `HIDUniversal::SetReportParser(unsigned char, HIDReportParser*)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `KeyboardReportParser::Parse(HID*, bool, unsigned char, unsigned char*)'
/usr/share/arduino/BarcodeScanner.ino:108: undefined reference to `KeyboardReportParser::HandleLockingKeys(HID*, unsigned char)'
collect2: error: ld returned 1 exit status

console log while attempt to build project from rezultat po www.circuitsathome.com/mcu/connecting-barcode-scanner-arduino-usb-host-shield

innyBarcode.cpp.o: In function `_GLOBAL__sub_I_Usb':
/usr/share/arduino/innyBarcode.ino:8: undefined reference to `KeyboardReportParser::numKeys'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `KeyboardReportParser::numKeys'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `KeyboardReportParser::symKeysUp'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `KeyboardReportParser::symKeysUp'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `KeyboardReportParser::symKeysLo'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `KeyboardReportParser::symKeysLo'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `KeyboardReportParser::padKeys'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `KeyboardReportParser::padKeys'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `KeyboardReportParser::OemToAscii(unsigned char, unsigned char)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `MultiByteValueParser::Parse(unsigned char**, unsigned int*)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `MultiByteValueParser::Parse(unsigned char**, unsigned int*)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `MultiByteValueParser::Parse(unsigned char**, unsigned int*)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `MultiByteValueParser::Parse(unsigned char**, unsigned int*)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `USB::inTransfer(unsigned char, unsigned char, unsigned int*, unsigned char*)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `USB::getDevDescr(unsigned char, unsigned char, unsigned int, unsigned char*)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `USB::setAddr(unsigned char, unsigned char, unsigned char)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `USB::getDevDescr(unsigned char, unsigned char, unsigned int, unsigned char*)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `USB::getConfDescr(unsigned char, unsigned char, unsigned char, USBReadParser*)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `USB::setEpInfoEntry(unsigned char, unsigned char, EpInfo*)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `USB::setConf(unsigned char, unsigned char, unsigned char)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `HID::SetProtocol(unsigned char, unsigned char)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `HID::SetIdle(unsigned char, unsigned char, unsigned char)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `HID::GetReportDescr(unsigned int, USBReadParser*)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `HID::SetReport(unsigned char, unsigned char, unsigned char, unsigned char, unsigned int, unsigned char*)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `USB::Task()'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `USB::USB()'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `KeyboardReportParser::Parse(HID*, bool, unsigned char, unsigned char*)'
/usr/share/arduino/innyBarcode.ino:12: undefined reference to `KeyboardReportParser::HandleLockingKeys(HID*, unsigned char)'
collect2: error: ld returned 1 exit status

Does anyone have any clues?