Hello, I have a problem using gcov and could not find a solution. My system: * gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4) * GNU Make 3.81 * ltmain.sh (GNU libtool) 1.5.22 Debian 1.5.22-4 (1.1220.2.365 2005/12/18 22:14:06) * autoconf (GNU Autoconf) 2.61 * automake (GNU automake) 1.9.6 I have a libtool library for wich I want to test the coverage of my unittests. lib_LTLIBRARIES = libkonoco_base.la check_PROGRAMS = unittest [...] unittest_LDADD = libkonoco_base.la [...] For both I have set the flags "-ftest-coverage" and "-fprofile-arcs" via "./configure CXXFLAGS="-ftest-coverage -fprofile-arcs". The lib compiles fine but compiling the unittest I got an error: [...] /usr/bin/ld: .libs/unittest: hidden symbol `__gcov_merge_add' in /usr/lib/gcc/i486-linux-gnu/4.1.2/libgcov.a(_gcov_merge_add.o) is referenced by DSO /usr/bin/ld: final link failed: Nonrepresentable section on output [...] Without the flags for gcov everything works fine. Is it possible to use gcov with libtool an shared libraries? Or have I link to a certain lib? Help would be great. Regards, Tobias Kräntzer