This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem when linking [in-charge]


Hi,

I have a problem with a code when linking. gcc give me the criptic message:


GUI/libGUI.a(Constraint_editor.o)(.text+0x126a): In function 
`LMF_GUI::Constraint_editor::setConstraint()':
/home/palomo/tmp/lmfViewer/src/GUI/Constraint_editor.cpp:179: undefined 
reference to `RC::Constraint::Constraint[in-charge](RC::Element const&, 
RC::Element const&, RC::Relation_type const&, float const&)'
GUI/libGUI.a(Input_list.o)(.text+0x157e): In function 
`LMF_GUI::Input_list::addConstraint(LMF_GUI::Input_data const&)':
../../src/LMF/LMF_data.h:79: undefined reference to 
`LMF::Basic_data::set_basic_data(std::list<RC::Constraint, 
std::allocator<RC::Constraint> > const&)'
GUI/libGUI.a(Input_list.o)(.text+0x15a4): In function 
`LMF_GUI::Input_list::addConstraint(LMF_GUI::Input_data const&)':
../../src/LMF/Basic_data.h:71: undefined reference to 
`LMF::Output_data::set_solution(std::list<LMF::Basic_constraint_types, 
std::allocator<LMF::Basic_constraint_types> >&, std::list<RC::Constraint, 
std::allocator<RC::Constraint> >&)'
GUI/libGUI.a(Input_list.o)(.text+0x1d97): In function 
`LMF_GUI::Input_list::removeConstraint()':
../../src/LMF/LMF_data.h:79: undefined reference to 
`LMF::Basic_data::set_basic_data(std::list<RC::Constraint, 
std::allocator<RC::Constraint> > const&)'
GUI/libGUI.a(Input_list.o)(.text+0x1db3): In function 
`LMF_GUI::Input_list::removeConstraint()':
../../src/LMF/Basic_data.h:71: undefined reference to 
`LMF::Output_data::set_solution(std::list<LMF::Basic_constraint_types, 
std::allocator<LMF::Basic_constraint_type
...........................

please, could someone tell me what is because I'm really lost. My project is 
configured with autotools and I have this problem but with qmake it works. 


Regards,

Leo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]