I have already checked the following:
1) That the file containing definition of main has been compiled successfully and that the object binary of the same is listed in the LinkFileList specified.
2) extern "C" has been used on main in case the compiler is unable to find the symbol in symbol table for the project thats mostly C++ code.
I am code-pasting the rather long compiler flags externally to keep the post readable:
http://www.pasteall.org/13491I'd be grateful if someone can tell me what else I need to check for that might be possibly causing this error.