GCOV Loading error.
Akshya Chhabra
akshya.chhabra@gmail.com
Fri Mar 7 14:39:00 GMT 2014
Hi,
I am trying to setup GCOV in my env for that I have added these
flags in for compilation and linking.
CFLAGS_linux= -m32 -fPIC -g -Wall -fprofile-arcs -ftest-coverage
LDFLAGS_linux= -m32 -shared -L/usr/lib -fprofile-arcs
After this I am able to compile properly and the corresponding .o and
.gcno files are generated.
But when I am trying to start my process it is giving me this error
while starting the process.
ERROR bad load_module for:
"/u02/sms/achhabra/B6400_BRANCH/sms_bins/lib/fm_sir_utils.so":
/u02/sms/achhabra/B6400_BRANCH/sms_bins/lib/fm_sir_utils.so: undefined
symbol: __gcov_merge_add
Can you please help me in fixing this issue asap.
--
Rgds,
Akshya
More information about the Gcc-help
mailing list