Hi there! I'm trying to install pduinof following Floss tutorial (http://en.flossmanuals.net/pure-data/sensors/starting-pduino/). I succeeded in getting arduino objects to work in Pure Data, but I'm experiencing some issues uploading the firmware to the arduino board. In the arduino app content, I replaced the Firmata folder with the one from Pduino. After ards, I try to compile and verify "SimpleAnalogFirmata" or "StandardFirmata", but all I get is this bunch of error messages like these:

In file included from StandardFirmata.cpp:18:
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:80: error: typedef 'callbackFunction' is initialized (use __typeof__ instead)
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:80: error: 'byte' was not declared in this scope
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:80: error: expected primary-expression before 'int'
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:83: error: typedef 'sysexCallbackFunction' is initialized (use __typeof__ instead)
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:83: error: 'byte' was not declared in this scope
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:83: error: 'byte' was not declared in this scope
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:83: error: 'byte' was not declared in this scope
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:83: error: 'argv' was not declared in this scope
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:100: error: 'byte' has not been declared
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:100: error: 'byte' has not been declared
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:112: error: 'byte' has not been declared
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:112: error: 'callbackFunction' has not been declared
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:113: error: 'byte' has not been declared
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:114: error: 'byte' has not been declared
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:115: error: 'byte' has not been declared
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:115: error: 'sysexCallbackFunction' has not been declared
[...]

What am I missing? Thanks in advance!

I'm using OSX 10.7.4, latest pduino package from http://at.or.at/hans/pd/objects.html#pduino