![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Debian Debian GNU/Linux is a free distribution of the GNU/Linux operating system. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Link error while linking a shared library in unix | arunkumar_mca | UNIX for Dummies Questions & Answers | 3 | 02-15-2007 09:59 AM |
| Difference between hard link and soft link in unix | RAJACHOKALINGAM | UNIX for Dummies Questions & Answers | 2 | 08-01-2006 05:10 AM |
| link error problem | niukun | Linux | 4 | 11-18-2004 04:14 AM |
| Differences between hard link and soft link | penguin-friend | UNIX for Advanced & Expert Users | 3 | 03-08-2002 03:49 PM |
| Link Edit Error, Help!!!!! | rachael | High Level Programming | 1 | 10-24-2001 10:52 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Application link error with gcov
Hi,
I'm trying gcov on my Debian VM. gcov (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Copyright (C) 2006 Free Software Foundation, Inc. It work with example program, but I got link error in my application code. C_FLAGS += -Wall -W -O0 -fprofile-arcs -ftest-coverage Each class file has the same error: fileMgr.o: In function `global constructors keyed to 0__ZN7FileMgrC2Ev': fileMgr.cpp: (.text+0x254da): undefined reference to `__gcov_init' fileMgr.o: (.data.rel+0x24): undefined reference to `__gcov_merge_add' backupMgr.o: In function `global constructors keyed to 0__ZN9BackupMgrC2Ev': backupMgr.cpp: (.text+0x10458): undefined reference to `__gcov_init' backupMgr.o: (.data.rel+0x24): undefined reference to `__gcov_merge_add' ... collect2: ld returned 1 exit status make: *** [fileMgmt] Error 1 Did I missing something? Thanks! |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|