.gcda:Version mismatch

2,706 views
Skip to first unread message

Zachary Wilcox

unread,
May 10, 2016, 6:35:09 PM5/10/16
to cpputest
I was using GCC 4.8 and then updated it to 4.9.
I also updated gcov to 4.9

I did a make distclean, ran the configuration script, and a rebuilt.

Now when I run my tests, the test run but I get the following error:

profiling:path-to-cpputest/cpputest/cpputest_build/src/CppUTestExt/lib_libCppUTestExt_a-MockExpectedCall.gcda:Version mismatch - expected 409* got 408*

I think my enviroment's set up correctly.

gcc --version returns: 4.9.3
and
gcov --version returns: 4.9.3


Am I forgetting something?


A. Robert S.

unread,
May 12, 2016, 3:13:21 AM5/12/16
to cpputest
Hi Zachary,

  1. Did you recompile the CppUTest libraries with 4.9?
  2. Did you copy the newly compiled libraries from /cpputest_build/lib to lib/? OR
  3. In case you installed CppUTest (Linux, Cygwin, MacOS,...) did you compile and install with 4.9?

Regards,

Robert

Zachary Wilcox

unread,
May 12, 2016, 12:09:44 PM5/12/16
to cpputest
I did recompile CppUtest with 4.9
I did move the compiled libraryes from some_path/cpputest/cpputest_build/lib to /some_path/cpputest/lib
with CPPUTEST_HOME = some_path/cpputest

The problem still remains.
Reply all
Reply to author
Forward
0 new messages