For reference, the PS2X library can be found here:http://www.billporter.info/2010/06/05/playstation-2-controller-arduino-library-v1-0/
I've been working with this library for about a day or two, and so far it's been doing me well. However, just a couple hours ago, every program that I include its header in refuses to compile, including the example. I don't recall making any significant changes to it.
Below is an incredibly simple program I wrote that uses absolutely nothing from the library. Without the include statement at the top, it compiles. With the include statement, it explodes with the errors listed in the next post (it was too long to fit in this post).
I've tried including the SPI library, as well, and it doesn't give me any trouble. It looks, judging from the error locations, as if the problem is with the built-in AVR hardware libraries, but I don't know a) why that would cause problems with print and println, nor b) why that should start happening now -- I haven't touched anything past the header file for the PS2X library, where I only made minor spacing changes (and if I remember correctly, I only made them in a copy outside the libraries folder I had for actually figuring out what this guy did).
I looked for other people with the print/println problem at the end of the explosion, and it was suggested that all #include "WProgram.h" statements should be replaced with #include "Arduino.h" for IDEs version 1.0+ (mine is 1.0.3), so I tried that and I still get the same errors. I haven't yet uninstalled/reinstalled the Arduino IDE and the PS2X library, but I'd rather that be a last resort if there's really nothing else I can do.
Does anyone have any idea what I could try next? I've only recently gotten into Arduino, so I don't have the most extensive knowledge in the area.