[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-inetutils] Re: gcov/lcov problems
From: |
Simon Josefsson |
Subject: |
[bug-inetutils] Re: gcov/lcov problems |
Date: |
Mon, 25 Oct 2010 15:17:57 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
address@hidden (Alfred M. Szmidt) writes:
> Was trying to have some fun and get `make coverage' working, but I'm
> hitting some werido problems that I don't understand. Does anyone
> know why this happens, and how to fix it?
>
> Processing src/tftp.gcda
> Processing src/tftp.gcda
> <built-in>:cannot open source file
> geninfo: ERROR: cannot read <built-in>.gcov!
I've seen this too for other projects, and it is generally some
confusion about which directory to search for the *.gcda file. If you
strace lcov you will see that it is searching for the file at the wrong
place. Sometimes I create symlinks to work around this (the output
seems OK) if I really want to get the output, but it would be great if
this was tracked down and fixed properly.
/Simon