I had to insert the following declaration in file console/console.h, before #include "ocamlprocess.h", or it would fail because the OCamlProcess is undeclared:
class OCamlProcess;
I am using the following version of cpp:
cpp (GCC) 4.1.2 20060608 (prerelease) (Debian 4.1.1-3)