问题
Whenever I am using lcov
command (lcov-1.9) for gcc 3.4
compiled objects and the corresponding .gcda
files, I get an error.
Command I execute:
lcov -c -d . --gcov-tool /usr/bin/gcov34 -o datafile
Error:
/usr/bin/perl: symbol lookup error: /u01/R122_EBS/fs1/FMW_Home/webtier/perl/lib/5.10.0/x86_64-linux-thread-multi/auto/Cwd/Cwd.so: undefined symbol: Perl_Istack_sp_ptr
Is it because something is wrong with Perl? (But, Perl on our development server should be probably be alright.) Or because of some version mismatches between lcov and GCC or something else?
Any clues?
来源:https://stackoverflow.com/questions/13226772/usr-bin-perl-symbol-look-up-error-undefined-symbol-perl-istack-sp-ptr