I got that error while trying to compile an application that uses Python.h (via
"#include <python2.5/Python.h>")
GCC/G++ 4.3.1-2
CODE::BLOCKS 8.02
Python 2.5.2
Debian 5.0beta2