Hello,

I'm trying to create packakes of LyX 1.4.1 for Debian Unstable using Georg
Baum recip without any success.

Whatever version of g++ I'm using, the 4.0.3 (standard in Debian Unstable)
or the experimental 4.1, I get compilation errors in some boost code. See
below.

Using g++ 3.3 is not an option, because the compilation process complains
that Qt was compiled with another compiler version.

Is there something, I should do ? Some magic parameters for g++ ?

Cheers,
Charles

g++-4.1 -O2 -o lyx-qt main.o Bidi.o BufferView.o BufferView_pimpl.o Bullet.o
BranchList.o Chktex.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 lastfiles.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
lyxrow_funcs.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_linuxdoc.o output_plaintext.o
paragraph.o paragraph_funcs.o paragraph_pimpl.o pariterator.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 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/qt2/.libs/libqt2.a -L/usr/share/qt3//lib -lqt-mt
frontends/controllers/.libs/libcontrollers.a graphics/.libs/libgraphics.a
support/.libs/libsupport.a ../boost/libs/regex/src/.libs/libboost_regex.a 
../boost/libs/signals/src/.libs/libboost_signals.a 
../boost/libs/filesystem/src/.libs/libboost_filesystem.a 
/usr/lib/libAiksaurus.so -lSM -lICE -lc -lm -L/usr/X11R6/lib -lX11 -lz
../boost/libs/filesystem/src/.libs/libboost_filesystem.a(operations_posix_windows.o):
In function
`boost::filesystem::detail::dir_itr_init(boost::shared_ptr<boost::filesystem::detail::dir_itr_imp>&,
boost::filesystem::path const&)':operations_posix_windows.cpp
(.text+0x179): undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
:operations_posix_windows.cpp:(.text+0x180): undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_S_empty_rep_storage'
../boost/libs/filesystem/src/.libs/libboost_filesystem.a(operations_posix_windows.o):
In function
`boost::filesystem::current_path()':operations_posix_windows.cpp
(.text+0x1667): undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
:operations_posix_windows.cpp:(.text+0x166f): undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_S_empty_rep_storage'
../boost/libs/filesystem/src/.libs/libboost_filesystem.a(operations_posix_windows.o):
In function
`boost::filesystem::initial_path()':operations_posix_windows.cpp
(.text+0x17d6): undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
../boost/libs/filesystem/src/.libs/libboost_filesystem.a(operations_posix_windows.o):operations_posix_windows.cpp
(.text+0x17e8): more undefined references to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
follow
collect2: ld returned 1 exit status
make[4]: *** [lyx-qt] Error 1
make[4]: Leaving directory `/usr/local/src/lyx-1.4.1/build-tree/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/lyx-1.4.1/build-tree/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/lyx-1.4.1/build-tree/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/lyx-1.4.1/build-tree'
make: *** [build-stamp] Error 2
bafin:/usr/local/src/lyx-1.4.1#

-- 
http://www.kde-france.org

Reply via email to