[CLAM] linking error

David Garcia Garzon dgarcia at iua.upf.es
Mon Nov 8 04:47:51 PST 2004


It seems like the libraries that CLAM uses (fltk, id3...) are installed in 
different flavors of versions in your system and they are conflicting each 
other or depends on different versions of third libraries. Try to clean it up 
a little. Where did you downloaded the libraries from? Are the official ones 
in your distribution?


A Dissabte 06 Novembre 2004 18:13, Dani Boronat va escriure:
> hello, I'm trying to compile a program using CLAM. During the
> compilation everything is correct, but when the program is being
> linked I follow the following error (It's only a part, because there
> are a lot of errors and all seems the same thing): I think it could be
> the fltk library but i have the version that clam needs.
>
> == linking program_using_clam
> /usr/bin/ld: warning: libXft.so.1, needed by
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.4/../../../libfltk_images.so,
> may conflict with libXft.so.2
> /usr/bin/ld: warning: libpng.so.2, needed by
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.4/../../../libfltk_images.so,
> may conflict with libpng.so.3
> /usr/bin/ld: warning: libstdc++.so.6, needed by
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.4/../../../libid3.so, may
> conflict with libstdc++.so.5
> obj/AudioPlot.o(.text+0xc43): In function
>
> `CLAMVM::AudioPlot::SetLabel(char const*)':
> : undefined reference to `Fl_Widget::redraw_label()'
>
> obj/SystemPlots.o(.text+0x7f4): In function
>
> `CLAMVM::SystemPlots::SetFLTKLookAndFeel()':
> : undefined reference to `Fl::get_system_colors()'
>
> obj/SystemPlots.o(.text+0x7ff): In function
>
> `CLAMVM::SystemPlots::SetFLTKLookAndFeel()':
> : undefined reference to `Fl::set_boxtype(Fl_Boxtype, Fl_Boxtype)'
>
> obj/SystemPlots.o(.text+0x80a): In function
>
> `CLAMVM::SystemPlots::SetFLTKLookAndFeel()':
> : undefined reference to `Fl::set_boxtype(Fl_Boxtype, Fl_Boxtype)'
>
> obj/SystemPlots.o(.text+0x815): In function
>
> `CLAMVM::SystemPlots::SetFLTKLookAndFeel()':
> : undefined reference to `Fl::set_boxtype(Fl_Boxtype, Fl_Boxtype)'
> : undefined reference to `Fl::set_boxtype(Fl_Boxtype, Fl_Boxtype)'
>
> obj/SystemPlots.o(.text+0x80a): In function
>
> `CLAMVM::SystemPlots::SetFLTKLookAndFeel()':
> : undefined reference to `Fl::set_boxtype(Fl_Boxtype, Fl_Boxtype)'
>
> obj/SystemPlots.o(.text+0x815): In function
>
> `CLAMVM::SystemPlots::SetFLTKLookAndFeel()':
> : undefined reference to `Fl::set_boxtype(Fl_Boxtype, Fl_Boxtype)'
>
> obj/SystemPlots.o(.text+0x820): In function
>
> `CLAMVM::SystemPlots::SetFLTKLookAndFeel()':
> : undefined reference to `Fl::set_boxtype(Fl_Boxtype, Fl_Boxtype)'
>
> obj/SystemPlots.o(.text+0xba0): In function
> `CLAMVM::SystemPlots::Display(std::basic_string<char,
>
> std::char_traits<char>, std::allocator<char> > const&)':
> : undefined reference to `Fl_Window::Fl_Window[in-charge](int, int,
>
> int, int, char const*)'
> obj/SystemPlots.o(.text+0xefd): In function
> `CLAMVM::SystemPlots::Display(std::basic_string<char,
>
> std::char_traits<char>, std::allocator<char> > const&)':
> : undefined reference to `Fl_Window::label(char const*)'
>
> obj/SystemPlots.o(.text+0x1079): In function
> `CLAMVM::SystemPlots::Display(std::basic_string<char,
>
> std::char_traits<char>, std::allocator<char> > const&)':
> : undefined reference to `Fl_Group::add(Fl_Widget&)'
>
> obj/SystemPlots.o(.text+0x133c): In function
> `CLAMVM::SystemPlots::Display(std::basic_string<char,
>
> std::char_traits<char>, std::allocator<char> > const&)':
> : undefined reference to `Fl_Group::end()'
>
> obj/SystemPlots.o(.text+0x1497): In function
> `CLAMVM::SystemPlots::Display(std::basic_string<char,
>
> std::char_traits<char>, std::allocator<char> > const&)':
> : undefined reference to `Fl::get_system_colors()'
>
> obj/SystemPlots.o(.text+0x14a2): In function
> `CLAMVM::SystemPlots::Display(std::basic_string<char,
>
> std::char_traits<char>, std::allocator<char> > const&)':
> : undefined reference to `Fl::set_boxtype(Fl_Boxtype, Fl_Boxtype)'
>
> obj/SystemPlots.o(.text+0x14ad): In function
> `CLAMVM::SystemPlots::Display(std::basic_string<char,
>
> std::char_traits<char>, std::allocator<char> > const&)':
> : undefined reference to `Fl::set_boxtype(Fl_Boxtype, Fl_Boxtype)'
>
> _______________________________________________
> CLAM mailing list
> CLAM at iua.upf.es
> http://www.iua.upf.es/mtg/clam

-- 
David García Garzón <david.garcia at removespam.iua.upf.es>
Phone: 034 93 542 21 99
Music Technology Group, Institut Universitari de l'Audiovisual
Universitat Pompeu Fabra




More information about the clam-users mailing list