Hi,

When I tried to build lyx (all versions, 1.4, 1.5rc1, svn), I always had this 
errir at the final linking, I couldn't figure out what went wrong, so need a 
hand here.

Here is the configure result:

Configuration
  Host type:                      i486-pc-linux-gnu
  Special build flags:            assertions pch concept-checks warnings  
use-aspell use-ispell
  C   Compiler:                   gcc
  C   Compiler LyX flags:
  C   Compiler flags:             -march=pentium3 -O2 -pipe 
-fomit-frame-pointer  -I/opt/X/include -march=pentium3 -O2 -pipe 
-fomit-frame-pointer -O2
  C++ Compiler:                   g++ (3.4.6)
  C++ Compiler LyX flags:
  C++ Compiler flags:             -march=pentium3 -O2 -pipe 
-fomit-frame-pointer  -I/opt/X/include -march=pentium3 -O2 -pipe 
-fomit-frame-pointer -O2
  Linker flags:
  Linker user flags:              -Wl,--as-needed
  Qt 4 Frontend:
      Qt 4 version:             4.2.2
  Packaging:                      posix
  LyX binary dir:                 /usr/bin
  LyX files dir:                  /usr/share/lyx

Here is the linking error:

g++ -march=pentium3 -O2 -pipe -fomit-frame-pointer -O2 -Wl,--as-needed -o 
lyx-qt4 main.o Bidi.o BufferView.o Bullet.o BranchList.o Chktex.o Color.o 
ConverterCache.o CutAndPaste.o DepTable.o FloatList.o Floating.o FontIterator.o 
FuncStatus.o InsetList.o LColor.o LaTeX.o LaTeXFeatures.o LyXAction.o 
MenuBackend.o ParagraphParameters.o PrinterParams.o Spacing.o Thesaurus.o 
ToolbarBackend.o author.o boost.o box.o buffer.o buffer_funcs.o bufferlist.o 
bufferparams.o bufferview_funcs.o changes.o chset.o converter.o counters.o 
coordcache.o cursor.o cursor_slice.o debug.o dimension.o dociterator.o 
encoding.o errorlist.o exporter.o gettext.o factory.o format.o funcrequest.o 
graph.o importer.o intl.o insetiterator.o kbmap.o kbsequence.o language.o 
session.o lengthcommon.o lyx_cb.o lyx_main.o lyx_sty.o lyxfont.o lyxfind.o 
lyxfunc.o lyxgluelength.o lyxlayout.o lyxlength.o lyxlex.o lyxlex_pimpl.o 
lyxrc.o lyxrow.o lyxserver.o lyxsocket.o lyxtextclass.o lyxtextclasslist.o 
lyxvc.o messages.o metricsinfo.o mover.o output.o outputparams.o 
output_docbook.o output_latex.o output_plaintext.o paragraph.o 
ParagraphMetrics.o paragraph_funcs.o paragraph_pimpl.o pariterator.o aspell.o 
ispell.o SpellBase.o rowpainter.o sgml.o tabular.o tex-accent.o tex-strings.o 
texrow.o text.o text2.o text3.o TextMetrics.o TocBackend.o toc.o trans.o 
trans_mgr.o undo.o vc-backend.o version.o vspace.o  mathed/.libs/libmathed.a 
insets/.libs/libinsets.a frontends/.libs/libfrontends.a 
frontends/qt4/.libs/libqt4.a -L/tmp/buildd/qt4-x11-4.2.2/lib -L/usr/X11R6/lib 
-lQtGui -laudio /opt/X/lib/libXt.so -L/opt/X/lib -lpng /opt/X/lib/libXrandr.so 
/opt/X/lib/libXcursor.so /opt/X/lib/libXrender.so /opt/X/lib/libXfixes.so 
/opt/X/lib/libXinerama.so /opt/X/lib/libXext.so 
frontends/controllers/.libs/libcontrollers.a graphics/.libs/libgraphics.a 
support/.libs/libsupport.a -lQtCore /usr/lib/libfontconfig.so 
/usr/lib/libfreetype.so /usr/lib/libexpat.so /usr/lib/libglib-2.0.so -lpthread 
../boost/libs/regex/src/.libs/libboost_regex.a 
../boost/libs/signals/src/.libs/libboost_signals.a 
../boost/libs/filesystem/src/.libs/libboost_filesystem.a 
../boost/libs/iostreams/src/.libs/libboost_iostreams.a /usr/lib/libaspell.so 
/opt/X/lib/libSM.so /opt/X/lib/libICE.so -lc -lm /opt/X/lib/libX11.so 
/opt/X/lib/libXau.so /opt/X/lib/libXdmcp.so -ldl -lz

`.gnu.linkonce.t._ZN5boost9re_detail12perl_matcherIN9__gnu_cxx17__normal_iteratorIPKcSsEESaINS_9sub_matchIS6_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE15match_startmarkEv'
 referenced in section `.rodata' of chset.o: defined in discarded section 
`.gnu.linkonce.t._ZN5boost9re_detail12perl_matcherIN9__gnu_cxx17__normal_iteratorIPKcSsEESaINS_9sub_matchIS6_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE15match_startmarkEv'
 of chset.o

`.gnu.linkonce.t._ZN5boost9re_detail12perl_matcherIN9__gnu_cxx17__normal_iteratorIPKcSsEESaINS_9sub_matchIS6_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE15match_startmarkEv'
 referenced in section `.rodata' of lyxtextclasslist.o: defined in discarded 
section 
`.gnu.linkonce.t._ZN5boost9re_detail12perl_matcherIN9__gnu_cxx17__normal_iteratorIPKcSsEESaINS_9sub_matchIS6_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE15match_startmarkEv'
 of lyxtextclasslist.o

`.gnu.linkonce.t._ZN5boost9re_detail12perl_matcherIN9__gnu_cxx17__normal_iteratorIPKcSsEESaINS_9sub_matchIS6_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE15match_startmarkEv'
 referenced in section `.rodata' of messages.o: defined in discarded section 
`.gnu.linkonce.t._ZN5boost9re_detail12perl_matcherIN9__gnu_cxx17__normal_iteratorIPKcSsEESaINS_9sub_matchIS6_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE15match_startmarkEv'
 of messages.o

..........and more like this

Best regards,

-W

Reply via email to