undefined reference to `__gcov_init' when using FLAGS+='-fprofile-arcs -ftest-coverage'

Caolán McNamara caolanm at redhat.com
Tue Dec 11 18:04:47 PST 2012

On Tue, 2012-12-11 at 21:50 +0100, John Smith wrote:
> But I still get this error message (in 'make setup_native')
> undefined reference to `__gcov_init'
> Does anyone have an idea of what might be going on here ?

- LDFLAGS+='-fprofile-arcs' CFLAGS+='-fprofile-arcs -ftest-coverage'
+ LDFLAGS+='-fprofile-arcs -lgcov' CFLAGS+='-fprofile-arcs

make any difference ?


More information about the LibreOffice mailing list