Undefined reference ?

Jim Wilson wilson@specifixinc.com
Mon Jun 7 05:10:00 GMT 2004


Konark Goel wrote:
> when i run make bzImage it gives the following errors:-
> "undefined reference to __gcov_init"

gcov_init is in libgcc which is not used by the kernel normally.  It 
would be needed in order to make code coverage of the kernel work 
though.  This is probably a bug in the kernel code coverage patches, 
they should be linking in this function or else providing a replacement.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list