gcov final link failed
问题 While compiling my project with gcov support I am facing the below error Following are flags information i have while compiling compiler flags: CXXFLAGS="-Wno-deprecated -g -ggdb -fprofile-arcs -ftest-coverage -fPIC" linker options: LINK_CMD="gcc -fprofile-arcs -fPIC" Following are version information: gcc version: gcc version 4.1.2 20080704 (Red Hat 4.1.2-44) gcov version: gcov (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44) error: hidden symbol `__gcov_init' in /usr/lib/gcc/x86_64-redhat-linux/4.1