On Aug 5, 2005, at 9:46 AM, Jean-Marc Lasgouttes wrote:

Helm> I added "#include <config.h>" to textpainter.C, and it does make
Helm> a difference. I now get:
[no TextPainter anymore]

Very good! It means that we should add #include <config.h> in all
files that do not have it already. That would be something like

fantomas[ssh]: for i in *.C */*.C */*/*.C ; do grep -q "include <config.h>" $i || echo $i ; done
mathed/command_inset.C
mathed/math_diffinset.C
mathed/math_diminset.C
mathed/math_fracbase.C
mathed/math_fracinset.C
mathed/math_gridinset.C
mathed/math_inferinset.C
mathed/math_lefteqninset.C
mathed/math_liminset.C
mathed/math_macroarg.C
mathed/math_macro.C
mathed/math_macrotemplate.C
mathed/math_matrixinset.C
mathed/math_nestinset.C
mathed/math_parboxinset.C
mathed/math_pos.C
mathed/math_rootinset.C
mathed/math_scriptinset.C
mathed/math_spaceinset.C
mathed/math_splitinset.C
mathed/math_sqrtinset.C
mathed/math_stackrelinset.C
mathed/math_textinset.C
mathed/math_undersetinset.C
mathed/textpainter.C
frontends/controllers/ControlTabular.C
frontends/qt2/bulletstrings.C
frontends/qt2/qcoloritem.C
frontends/qt2/qfontexample.C
frontends/qt2/qgridview.C
frontends/qt2/qsetborder.C

Looking at the list, I would start with
frontends/controllers/ControlTabular.C. This is the most likely cause
of boost calls.

I added it to all of these files, and I still get the following error (which looks the same to me...):

/bin/sh ../libtool --mode=link g++ -g -O0 -W -Wall -framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz -o lyx BufferView.o BufferView_pimpl.o Bullet.o Chktex.o CutAndPaste.o DepTable.o FloatList.o Floating.o FuncStatus.o InsetList.o LColor.o LaTeX.o LaTeXFeatures.o LyXAction.o MenuBackend.o paragraph_funcs.o ParagraphList.o ParagraphParameters.o Spacing.o TextCache.o Thesaurus.o ToolbarDefaults.o boost.o boost-inst.o box.o buffer.o bufferlist.o bufferparams.o bufferview_funcs.o chset.o converter.o counters.o debug.o encoding.o exporter.o gettext.o factory.o funcrequest.o importer.o intl.o iterators.o kbmap.o kbsequence.o language.o lastfiles.o lengthcommon.o lyx_cb.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 lyxrc.o lyxrow.o lyxserver.o lyxtextclass.o lyxtextclasslist.o lyxvc.o main.o paragraph.o paragraph_pimpl.o ispell.o SpellBase.o sgml.o tabular.o tabular- old.o tabular_funcs.o tex-accent.o tex-strings.o texrow.o text.o text2.o text3.o toc.o trans.o trans_mgr.o undo.o undo_funcs.o vc- backend.o version.o vspace.o mathed/libmathed.la insets/libinsets.la frontends/libfrontends.la graphics/libgraphics.la support/ libsupport.la ../boost/libs/regex/src/libboostregex.la ../boost/libs/ signals/src/libboostsignals.la ../intl/libintl.a -liconv -lc -lm g++ -g -O0 -W -Wall -framework Carbon -framework OpenGL -framework AGL -framework QuickTime -o lyx BufferView.o BufferView_pimpl.o Bullet.o Chktex.o CutAndPaste.o DepTable.o FloatList.o Floating.o FuncStatus.o InsetList.o LColor.o LaTeX.o LaTeXFeatures.o LyXAction.o MenuBackend.o paragraph_funcs.o ParagraphList.o ParagraphParameters.o Spacing.o TextCache.o Thesaurus.o ToolbarDefaults.o boost.o boost- inst.o box.o buffer.o bufferlist.o bufferparams.o bufferview_funcs.o chset.o converter.o counters.o debug.o encoding.o exporter.o gettext.o factory.o funcrequest.o importer.o intl.o iterators.o kbmap.o kbsequence.o language.o lastfiles.o lengthcommon.o lyx_cb.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 lyxrc.o lyxrow.o lyxserver.o lyxtextclass.o lyxtextclasslist.o lyxvc.o main.o paragraph.o paragraph_pimpl.o ispell.o SpellBase.o sgml.o tabular.o tabular-old.o tabular_funcs.o tex-accent.o tex- strings.o texrow.o text.o text2.o text3.o toc.o trans.o trans_mgr.o undo.o undo_funcs.o vc-backend.o version.o vspace.o mathed/.libs/ libmathed.a insets/.libs/libinsets.a frontends/.libs/libfrontends.a - L/Users/bennett/lyx/gcc-3.3/qt-mac-free-3.3.4//lib -lqt-mt graphics/.libs/libgraphics.a support/.libs/libsupport.a ../boost/libs/ regex/src/.libs/libboostregex.a ../boost/libs/signals/src/.libs/ libboostsignals.a -lz ../intl/libintl.a -L/usr/lib -liconv -lc -lm
ld: warning multiple definitions of symbol _locale_charset
../intl/libintl.a(localcharset.o) definition of _locale_charset in section (__TEXT,__text)
/usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
ld: Undefined symbols:
__ZN5boost7signals9trackableD2Ev
__ZN5boost7signals6detail16signal_base_impl12connect_slotERKNS_3anyES5_R KSt6vectorIPKNS0_9trackableESaIS9_EE __ZN5boost7signals6detail17call_notificationC1ERKNS_10shared_ptrINS1_16s ignal_base_implEEE
__ZN5boost7signals6detail17call_notificationD1Ev
__ZN5boost7signals6detail9slot_base17create_connectionEv
__ZNK5boost7signals10connection10disconnectEv
__ZN5boost14c_regex_traitsIcE17transform_primaryERSsRKSs
__ZN5boost14c_regex_traitsIcE9transformERSsRKSs
__ZN5boost14reg_expressionIcNS_12regex_traitsIcEESaIcEEC1EPKcjRKS3_
__ZN5boost14reg_expressionIcNS_12regex_traitsIcEESaIcEED1Ev
__ZN5boost9re_detail13c_traits_base14lower_case_mapE
__ZN5boost9re_detail13c_traits_base9class_mapE
__ZN5boost7signals6detail11signal_baseD2Ev
__ZN5boost7signals6detail16signal_base_implC1ERKNS_9function2IbNS_3anyES 4_SaINS_13function_baseEEEE
__ZN5boost7signals6detail16signal_base_implD1Ev
__ZN5boost14c_regex_traitsIcE4initEv
__ZN5boost14c_regex_traitsIcE6m_freeEv
__ZN5boost14reg_expressionIcNS_12regex_traitsIcEESaIcEE14set_expressionE PKcS6_j
__ZN5boost7regbaseC2Ev
__ZN5boost5RegEx5MergeERKSsS2_bj
__ZN5boost5RegEx6SearchEPKcj
__ZN5boost5RegExC1EPKcb
__ZN5boost5RegExC1ERKS0_
__ZN5boost5RegExC1ERKSsb
__ZN5boost5RegExD1Ev
__ZNK5boost5RegEx10error_codeEv
make[3]: *** [lyx] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Bennett

Reply via email to