"Need function definition or declaration" ERROR

Hi I have tried to program my BL2120, but dynamic C gives me a constant error during compilation saying:

“line 1224 : ERROR ERROR : Need function definition or declaration.
line 1224 : ERROR ERROR : Syntax error - or garbage at end of program.”

The funny thing is that there is not even a line 1224 in my code. i have programed this same code from other computers and it works without any problems. I tried compiling and downloading simpler programs, but I get exactly the same error. Is there something I might be missing from the general configurations in Dynamic C?

Any help would be really appreciated.

It looks like a syntax issue in your code or a library. Try running a sample program in the BL2100 folder to see if you get same error.