Errors verifying program, in Wire library - ... 'was not declared in this scope'

I'm very new to Arduino, so this is probably a simple mistake I've made somewhere - I've looked around for references online to the same set of errors, but haven't found any so far.

When verifying compilation, I'm receiving the following error messages - it doesn't seem to come from within my sketch (at least doesn't reference it), but from the Wire library:

/usr/share/arduino/libraries/Wire/Wire.cpp: In member function ‘void TwoWire::begin()’:
/usr/share/arduino/libraries/Wire/Wire.cpp:62:12: error: ‘twi_init’ was not declared in this scope
   twi_init();
            ^
/usr/share/arduino/libraries/Wire/Wire.cpp: In member function ‘void TwoWire::begin(uint8_t)’:
/usr/share/arduino/libraries/Wire/Wire.cpp:67:25: error: ‘twi_setAddress’ was not declared in this scope
   twi_setAddress(address);
                         ^
/usr/share/arduino/libraries/Wire/Wire.cpp:68:42: error: ‘twi_attachSlaveTxEvent’ was not declared in this scope
   twi_attachSlaveTxEvent(onRequestService);
                                          ^
/usr/share/arduino/libraries/Wire/Wire.cpp:69:42: error: ‘twi_attachSlaveRxEvent’ was not declared in this scope
   twi_attachSlaveRxEvent(onReceiveService);
                                          ^
/usr/share/arduino/libraries/Wire/Wire.cpp: In member function ‘uint8_t TwoWire::requestFrom(uint8_t, uint8_t, uint8_t)’:
/usr/share/arduino/libraries/Wire/Wire.cpp:85:68: error: ‘twi_readFrom’ was not declared in this scope
   uint8_t read = twi_readFrom(address, rxBuffer, quantity, sendStop);
                                                                    ^
/usr/share/arduino/libraries/Wire/Wire.cpp: In member function ‘uint8_t TwoWire::endTransmission(uint8_t)’:
/usr/share/arduino/libraries/Wire/Wire.cpp:140:76: error: ‘twi_writeTo’ was not declared in this scope
   int8_t ret = twi_writeTo(txAddress, txBuffer, txBufferLength, 1, sendStop);
                                                                            ^
/usr/share/arduino/libraries/Wire/Wire.cpp: In member function ‘virtual size_t TwoWire::write(uint8_t)’:
/usr/share/arduino/libraries/Wire/Wire.cpp:177:26: error: ‘twi_transmit’ was not declared in this scope
     twi_transmit(&data, 1);
                          ^
/usr/share/arduino/libraries/Wire/Wire.cpp: In member function ‘virtual size_t TwoWire::write(const uint8_t*, size_t)’:
/usr/share/arduino/libraries/Wire/Wire.cpp:195:32: error: ‘twi_transmit’ was not declared in this scope
     twi_transmit(data, quantity);
                                ^

Wire library is referred to from my sketch in two places -

Imports:

#include <SoftwareSerial.h>
#include <SPI.h>
#include <Wire.h>
#include <ITG3200.h>
#include <ADXL345.h>

And setup():

  //join I2C bus
  Wire.begin();

Thanks in advance for any troubleshooting ideas.

I think that the problem is not in the "Wire.h" library but int the "twi.h". Search if you have that library. In my system I have it in the folder 'utility' inside the Wire folder.

When verifying compilation

Using what version of the IDE on what operating system to compile what code? There is so much left out of your post that you can't reasonably expect help.