Well when i tried to compile a program in C::B (i allso use 10.10 Ubuntu) i figured out that the header of a program must be different than the header of a program built in Windows enviroment.
I am not at home at the moment but i can send the header i used to sucessfully compile a C++ "Hello World" into a HEX code.