Home > User Support > QTE

FAQ / QTE (Quality Town for Embedded Grade)

yQTE11zBuild Issues

QTE11_03 : GCC coverage mode, build command, Makefile

yquestionz
When the build command is executed in GCC coverage mode, it outputs the following message and exits.

XXX.cpp:(.text+0x***): undefined reference to `__gcov_init
XXX.cpp:(.text+0x***): undefined reference to `__gcov_exit
XXX.o:(.data+0x***): undefined reference to `__gcov_merge_add

How do you handle this error?

yAnswerz
This error occurs when $(QTE_LINK_FLAGS) is not set in the link options.
Make sure $(QTE_LINK_FLAGS) is set in the link process described in the MakefileB
If $(QTE_LINK_FLAGS) is not set, set $(QTE_LINK_FLAGS) and execute again from the prepare command.

If you still see the error after taking the above measures, please contact our support.

Search for related support information.

yGoogle Search in Support Information Sitez

search keywordF@

Other Keyword Search




Reference information and links