Problem using gcc with gcov

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,
   I am having a serious problem.I didn't find any satisfactory solution
anywhere.
   So pls help me if u can...

   I generated a dynamic library with this options -fprofile-arcs and
-ftest-coverage.
   Idea behind is to use gcov and get the coverage information for my
dynamic library
   which I am calling SepiaRT.Seems it build successfully.

   After that when I try to build an application called findsepia which
uses some of 
   the functions in my instrumented library SepiaRT, I get this error
message.

Linking findsepia for Linux
>> /usr/bin/ld: ../../../../../debug_rhel3_64/bin/findsepia: 
>> hidden symbol '__bb_init_func' in
/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/libgcc.a(_bb.oS) is refer
>> enced by DSO collect2: ld returned 1 exit status
>> gmake[4]: *** [../../../../../debug_rhel3_64/bin/findsepia] Error 1
>> gmake[3]: *** [dep] Error 2
>> gmake[2]: *** [findsepia.subdir] Error 2
>> gmake[1]: *** [tools.subdir] Error 2
>> make: *** [../../parts/sepia.subdir] Error 2 
 
 I am using gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-34).

Thanx,
Alok
  


   
 


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux