------- Comment #3 from ramu dot konaparthi at gmail dot com 2009-04-01 13:18 ------- I am able to built shared objects. But, while building the executable binary using the shared objects. I see the error "hidden symbol `__gcov_init' in /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/libgcc.a(_gcov.oS) is referenced by DSO".
Some one please help me. ======output snippet Begin ================== /usr/bin/g++ -g -fPIC -o hpvgtst hpvgtstpgm.o -L../Tools/lib -lgatorapi -lhpvgtst -L/vob/tdodbc_nt/driver_manager/data_direct/suselinux-x8664/lib -lodbc -lodbcinst -lnsl -lresolv -lc -lddicu21 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: hpvgtst: hidden symbol `__gcov_init' in /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/libgcc.a(_gcov.oS) is referenced by DSO collect2: ld returned 1 exit status make: *** [hpvgtst] Error 1 ======output snippet End ================== Regards, -Ramu -- ramu dot konaparthi at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ramu dot konaparthi at gmail | |dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35038