rgheck wrote:
Pavel Sanda wrote:
Author: rgheck
Date: Tue Feb  5 23:57:33 2008
New Revision: 22802

URL: http://www.lyx.org/trac/changeset/22802
Log:
Partially fix bug 4532: http://bugzilla.lyx.org/show_bug.cgi?id=4532.
See in particular comment 6.

maybe it has something in common with this.
g++ -O -o tex2lyx FloatList.o Floating.o Counters.o Layout.o TextClass.o Lexer.o Color.o boost.o Context.o Font.o gettext.o lengthcommon.o Parser.o tex2lyx.o preamble.o math.o table.o text.o ../../src/support/.libs/liblyxsupport.a -L/usr/lib/qt4 /usr/lib/qt4/libQtCore.so -lm -lrt -lpthread ../../boost/.libs/liblyxboost.a /usr/lib/libaspell.so -lgpm /usr/lib/libSM.so /usr/lib/libICE.so -lz /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl TextClass.o: In function `lyx::TextClass::read(lyx::support::FileName const&, lyx::TextClass::ReadType)': TextClass.cpp:(.text+0x7cd5): undefined reference to `lyx::frontend::Alert::warning(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)' TextClass.cpp:(.text+0x7faa): undefined reference to `lyx::frontend::Alert::warning(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'
collect2: ld returned 1 exit status
make[2]: *** [tex2lyx] Error 1

Something's weird here. This is all in tex2lyx. Are you compiling with pch?

Oh, well, now I see the problem. I guess there must be some barrier to using the frontends namespace in tex2lyx. I can see why that might be, but it's inconvenient, to say the least.

Can someone help here?

rh

Reply via email to