Undefined Reference to Time: C/C++ testing

manojh93manojh93 Posts: 1

I am doing a cross platform testing to generate runtime executable with compiler TricoreGCC . I could generate the test cases but am not able to run them or to create the runtime executable.

  • I have also built the runtime library with the compiler which i am using and added it in to the linker options.
  • Added the include path to runtime lib includes

I get the error saying " In function getTime': CppTestTime.c:(.text+0x6): error: undefined reference to time'"

below is the Build settings:

Sign In or Register to comment.