compiling with gcov flags -fprofile-arcs and -ftest-coverage fails.
Hi,
I am trying to compile a big C++ project with fprofile-arcs and ftest-coverage. When linking I am getting error: archive-name.a(object.o) : (.ctors+0x0): undefined reference to `global constructors keyed to ZN107_GLOBAL__N__long_path_of_cpp_file_00000000_FD31D6232_1E' I am compiling with -fprofile-arcs and -ftest-coverage. I am linking objects with -fprofile-arcs and ftest-covearge and -lgcov. I don't know where I am doing wrong. Can anyone help me sort out this problem. Actually I googled a lot on this issue but without any success. Thanks |
No solutions yet. I am still working on the same problem.
|
All times are GMT -5. The time now is 08:08 PM. |