Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67131 - lyx 1.3.5: linking errors
Summary: lyx 1.3.5: linking errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-11 11:49 UTC by Ed Catmur
Modified: 2004-10-13 06:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch (lyx-1.3.5-67131@gentoo.org.patch,655 bytes, patch)
2004-10-11 12:41 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2004-10-11 11:49:01 UTC
g++ -O3 -pipe -march=athlon-xp -mmmx -msse -m3dnow -mfpmath=387 -momit-leaf-frame-pointer -ftracer -fomit-frame-pointer -ffast-math -falign-functions=64 -falign-loops=4 -falign-jumps=4 -funroll-loops -fprefetch-loop-arrays -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 pspell.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 /usr/lib/libflimage.so /usr/lib/libjpeg.so /usr/lib/libforms.so -lXpm graphics/.libs/libgraphics.a support/.libs/libsupport.a ../boost/libs/regex/src/.libs/libboostregex.a ../boost/libs/signals/src/.libs/libboostsignals.a /usr/lib/libAiksaurus.so /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -lbz2 -lSM -lICE -lc -lm -L/usr/X11R6/lib -lX11 -Wl,--rpath -Wl,/usr/lib/gcc/i686-pc-linux-gnu/3.4.2 -Wl,--rpath -Wl,/usr/lib/gcc/i686-pc-linux-gnu/3.4.2
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/libAiksaurus.so, may conflict with libstdc++.so.6
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/libAiksaurus.so, may conflict with libstdc++.so.6
CutAndPaste.o(.text+0xb47): In function `__tcf_0':
: undefined reference to `void boost::io::detail::(anonymous namespace)::empty_buf<std::char_traits<char>, char>(std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)::emptyStr'
buffer.o(.text+0xd387): In function `__tcf_0':
: undefined reference to `void boost::io::detail::(anonymous namespace)::empty_buf<std::char_traits<char>, char>(std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)::emptyStr'
bufferlist.o(.text+0x3447): In function `__tcf_0':
: undefined reference to `void boost::io::detail::(anonymous namespace)::empty_buf<std::char_traits<char>, char>(std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)::emptyStr'
importer.o(.text+0x7): In function `__tcf_0':
: undefined reference to `void boost::io::detail::(anonymous namespace)::empty_buf<std::char_traits<char>, char>(std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)::emptyStr'
text2.o(.text+0x4447): In function `__tcf_0':
: undefined reference to `void boost::io::detail::(anonymous namespace)::empty_buf<std::char_traits<char>, char>(std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)::emptyStr'
mathed/.libs/libmathed.a(formulamacro.o)(.text+0x3107): In function `__tcf_0':
: undefined reference to `void boost::io::detail::(anonymous namespace)::empty_buf<std::char_traits<char>, char>(std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)::emptyStr'
insets/.libs/libinsets.a(insetcaption.o)(.text+0x1447): In function `__tcf_0':
: undefined reference to `void boost::io::detail::(anonymous namespace)::empty_buf<std::char_traits<char>, char>(std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)::emptyStr'
insets/.libs/libinsets.a(insetfloatlist.o)(.text+0x1407): In function `__tcf_0':: undefined reference to `void boost::io::detail::(anonymous namespace)::empty_buf<std::char_traits<char>, char>(std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)::emptyStr'
insets/.libs/libinsets.a(insetgraphics.o)(.text+0x4387): In function `__tcf_0':
: undefined reference to `void boost::io::detail::(anonymous namespace)::empty_buf<std::char_traits<char>, char>(std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)::emptyStr'
insets/.libs/libinsets.a(insetparent.o)(.text+0x1287): In function `__tcf_0':
: undefined reference to `void boost::io::detail::(anonymous namespace)::empty_buf<std::char_traits<char>, char>(std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)::emptyStr'
frontends/.libs/libfrontends.a(FormBase.o)(.text+0x2cc7): In function `__tcf_0':: undefined reference to `void boost::io::detail::(anonymous namespace)::empty_buf<std::char_traits<char>, char>(std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)::emptyStr'
frontends/.libs/libfrontends.a(FormGraphics.o)(.text+0x1a47): In function `__tcf_0':
: undefined reference to `void boost::io::detail::(anonymous namespace)::empty_buf<std::char_traits<char>, char>(std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)::emptyStr'
frontends/.libs/libfrontends.a(biblio.o)(.text+0x4bc7): In function `__tcf_0':
: undefined reference to `void boost::io::detail::(anonymous namespace)::empty_buf<std::char_traits<char>, char>(std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)::emptyStr'
collect2: ld returned 1 exit status
make[2]: *** [lyx] Error 1
make[2]: Leaving directory `/var/tmp/portage/lyx-1.3.5/work/lyx-1.3.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/lyx-1.3.5/work/lyx-1.3.5/src'
make: *** [all] Error 2
Comment 1 Ed Catmur 2004-10-11 12:05:23 UTC
I think this diff may be what we want:

http://cvs.sourceforge.net/viewcvs.py/boost/boost/boost/format/feed_args.hpp?r1=1.10&r2=1.11&diff_format=u

Trying it now.
Comment 2 Ed Catmur 2004-10-11 12:41:24 UTC
Created attachment 41571 [details, diff]
Patch

Needed massaging slightly.

Allows lyx 1.3.5 to compile OK (xforms interface).

Bug may depend on gcc version (mine is 3.4.2-r2)

The checkin comment on cvs.sourceforge.net is:
> got rid of useless empty string auxiliary objects,
>   among which a static one was causing problems on some platform.
Comment 3 Ed Catmur 2004-10-11 12:48:06 UTC
Upstreamed at http://bugzilla.lyx.org/show_bug.cgi?id=1702
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-13 06:48:08 UTC
Thanks for the bug report. Added to CVS.