Dekel Tsur wrote: > I'm unable to build LyX. I get the following errors: > frontends/qt2/.libs/libqt2.a(Dialogs.o)(.text+0x991): In function > Dialogs::build(std::basic_string<char, std::char_traits<char>, > std::allocator<char> > const&)': > : undefined reference to > : ControlMath2::ControlMath2[in-charge](Dialog&)' > frontends/qt2/.libs/libqt2.a(QMathDialog.o)(.text+0x178f): In > function QMathDialog::symbol_clicked(std::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&)': > : undefined reference to > ControlMath2::dispatchInsert(std::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&) const' > frontends/qt2/.libs/libqt2.a(QMathDialog.o)(.text+0x17c7): In > function QMathDialog::fracClicked()': > ...
Well, ControlMath2.[Ch] is in cvs: http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/controllers/ControlMath2.C?rev=1.1&content-type=text/vnd.viewcvs-markup (I guess you couldn't have compiled if you didn't have it.) As for your linking problem, I can't see how the linker's symbol differs from this: void ControlMath2::dispatchInsert(string const & name) const { kernel().dispatch(FuncRequest(LFUN_INSERT_MATH, '\\' + name)); } Confused, -- Angus