Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Undefined Reference to Time: C/C++ testing

manojh93
manojh93 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: