I'm running on an LFS 3.0 (glibc 2.2.5, gcc 2.95.3, binutils
2.11.2) machine, and trying to compile LyX 1.2.0 fails with this (no
configure options except for --prefix, etc. also happens with
--with-pspell as well):

...
g++ -O3 -march=i686 -mcpu=i686 -o lyx BufferView.o BufferView2.o
BufferView_pimpl.o Bullet.o Chktex.o ColorHandler.o CutAndPaste.o
DepTable.o FloatList.o Floating.o FontInfo.o FontLoader.o FuncStatus.o
LColor.o LaTeX.o LaTeXFeatures.o LyXAction.o LyXView.o MenuBackend.o
Painter.o PainterBase.o ParagraphParameters.o Spacing.o TextCache.o
Thesaurus.o ToolbarDefaults.o WorkArea.o XFormsView.o box.o buffer.o
bufferlist.o bufferparams.o bufferview_funcs.o chset.o converter.o debug.o
encoding.o exporter.o font.o gettext.o importer.o intl.o iterators.o
kbmap.o kbsequence.o language.o lastfiles.o lengthcommon.o lyx_cb.o
lyx_gui.o lyx_main.o lyx_sty.o lyxcursor.o lyxfont.o lyxfind.o lyxfunc.o
lyxgluelength.o lyxlayout.o lyxlength.o lyxlex.o lyxlex_pimpl.o
lyxlookup.o lyxrc.o lyxrow.o lyxserver.o lyxtextclass.o lyxtextclasslist.o
lyxvc.o main.o minibuffer.o paragraph.o paragraph_pimpl.o screen.o
sp_spell.o tabular.o tabular-old.o tabular_funcs.o tex-accent.o
tex-strings.o texrow.o text.o text2.o tracer.o trans.o trans_mgr.o undo.o
undo_funcs.o undostack.o vc-backend.o version.o vspace.o
mathed/.libs/libmathed.a insets/.libs/libinsets.a
frontends/.libs/libfrontends.a -lforms -lXpm graphics/.libs/libgraphics.a
support/.libs/libsupport.a ../sigc++/.libs/libsigc.a -lSM -lICE -liberty
-lc -lm -L/usr/X11R6/lib -lX11
frontends/.libs/libfrontends.a(FormError.o): In function
`FormError::update(void)':
FormError.o(.text+0x204): undefined reference to `ControlInset<InsetError,
basic_string<char, string_char_traits<char>,
__default_alloc_template<true, 0> > >::params(void)'
collect2: ld returned 1 exit status
make[3]: *** [lyx] Error 1
make[3]: Leaving directory `/usr/src/build/lyx-1.2.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/build/lyx-1.2.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/build/lyx-1.2.0/src'
make: *** [all-recursive] Error 1

Here's my configuration (as reported by configure):
Configuration
  Host type:                      i686-pc-linux-gnu
  Special build flags:            included-libsigc use-pspell
  C   Compiler:                   gcc
  C   Compiler flags:             -O3 -march=i686 -mcpu=i686
  C++ Compiler:                   g++ (2.95.3)
  C++ Compiler flags:             -O3 -march=i686 -mcpu=i686
  Linker flags:                   
  Frontend:                       xforms
    libXpm version:               4.11
    libforms version:             0.88.1
  LyX binary dir:                 /usr/bin
  LyX files dir:                  /usr/share/lyx

I may be on LFS and fixed a lot of broken C code in my time, but messing
with C++ templates is not my cup of tea :-)  I don't know how to fix this
one, and would appreciate some help.  Please reply explicitly to me; I'm
not on the list.

Yes, my libstdc++ library is working, I just reinstalled it (I had a gcc
3.0 version hiding on the system giving much worse errors than this)

P.S.: I believe --without-included-libsigc option is broken, it generates
a Makefile in sigc++ with missing separators (autoconf 2.52, automake
1.5)

Reply via email to