[Dcmlib] gcc (derniers essais)

olivier.stern at swing.be olivier.stern at swing.be
Wed Jul 20 15:44:00 CEST 2005


Je viens d'essayer de compiler les exemples et dès le premier fichier à compiler, j'ai des erreurs du même style (je vous le copie). Je ne comprends pas du tout à quoi cela peut être du.

Olivier

Building object file AnonymizeDicomDir.o...
Building executable /home/olivier/Tfe/GDCM/gdcm/Example/AnonymizeDicomDir...
AnonymizeDicomDir.o(.text+0x183): In function `AnoNoLoad(gdcm::SQItem*, std::basic_fstream<char, std::char_traits<char> >*, unsigned short, unsigned short, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
: undefined reference to `typeinfo for gdcm::ValEntry'
AnonymizeDicomDir.o(.text+0x188): In function `AnoNoLoad(gdcm::SQItem*, std::basic_fstream<char, std::char_traits<char> >*, unsigned short, unsigned short, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
: undefined reference to `typeinfo for gdcm::DocEntry'
AnonymizeDicomDir.o(.text+0x565): In function `main':
: undefined reference to `gdcm::File::File(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
AnonymizeDicomDir.o(.text+0x6c0): In function `main':
: undefined reference to `typeinfo for gdcm::SeqEntry'
AnonymizeDicomDir.o(.text+0x6c5): In function `main':
: undefined reference to `typeinfo for gdcm::DocEntry'
AnonymizeDicomDir.o(.text+0x7ff): In function `main':
: undefined reference to `gdcm::SeqEntry::GetFirstSQItem()'
AnonymizeDicomDir.o(.text+0x85f): In function `main':
: undefined reference to `typeinfo for gdcm::ValEntry'
AnonymizeDicomDir.o(.text+0x864): In function `main':
: undefined reference to `typeinfo for gdcm::DocEntry'
AnonymizeDicomDir.o(.text+0xb0b): In function `main':
: undefined reference to `gdcm::SeqEntry::GetNextSQItem()'
AnonymizeDicomDir.o(.gnu.linkonce.t._ZN4gdcm5Debug7DebugOnEv+0xc): In function `gdcm::Debug::DebugOn()':
: undefined reference to `gdcm::Debug::SetDebugFlag(bool)'
collect2: ld returned 1 exit status
make[1]: *** [/home/olivier/Tfe/GDCM/gdcm/Example/AnonymizeDicomDir] Erreur 1
make: *** [default_target] Erreur 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/dcmlib/attachments/20050720/9562c893/attachment.html>


More information about the Dcmlib mailing list