http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57121
--- Comment #9 from Netra <netravathi.muniraju at asia dot thalesgroup.com> 2013-05-03 00:58:00 UTC --- (In reply to comment #5) > Simple work around is to use -fprofile-generate instead of -lgcov and GCC > knows > what it should be linking against then. Andrew , It would be great if you can provide me some more pointers as in why i am leading to these "undefined reference" errors . Thanks