[Dcmlib] Strange link error
Jean-Pierre Roux
Jean-Pierre.Roux at creatis.insa-lyon.fr
Fri Oct 21 10:06:28 CEST 2005
Hi, everybody !
I get a strange link error, on the cvs version of gdcm :
Linking CXX shared library bin/libgdcm.so
Building CXX object Example/AnonymizeDicomDir.dir/AnonymizeDicomDir.o
Linking CXX executable bin/AnonymizeDicomDir
/usr/bin/ld: bin/AnonymizeDicomDir: hidden symbol `__gcov_init' in
/usr/lib/gcc/i386-redhat-linux/4.0.1/libgcov.a(_gcov. o) is referenced
by DSO
/usr/bin/ld: final link failed: Nonrepresentable section on output
I use :
-Wall -W -Wshadow -Wunused-variable -Wunused-parameter -Wunused-function
-Wunused -Wno-system-headers -Wno-deprecated -Woverloaded-virtual
-fprofile-arcs -ftest-coverage
as C++ Flags
If I don't use anyone, I don't get any error -nor compile time warnings
(a genuine pleasure!)-
I use gcc version 4.0.1 20050727 (Red Hat 4.0.1-5) on Fedora Core 4
Any suggestion?
JPRx
More information about the Dcmlib
mailing list