On Jun 26, 2006, at 12:44 PM, Abdelrazak Younes wrote:

Bennett Helm wrote:
On Jun 26, 2006, at 11:21 AM, Abdelrazak Younes wrote:
This is difficult to solve rapidly so please just comment out the three problematic line in Application.C:


    s_arg=QString::fromUtf8(qstr_buf);
//    buffer_view_->workAreaDispatch(
//    FuncRequest(LFUN_FILE_OPEN,
//    fromqstr(s_arg)));
    break;


I'll try to find a good fix with JMarc' suggested method.
Ok -- did that, and now I get the following error in the final linking stage:

You compiled Qt4 yourself right? I think that Qt needs some libraries to link with, libstdc++ most probably. Please verify that the final link is done with g++ and/or that -lstdc++ is somewhere in this linking command.

Here's more output (below). g++-4 is used, but -lstdc++ is not there.

Yes, I compiled Qt4 myself, though I have a working Qt-4.1.3, which I tried with your branch as well, and I get the same problem.

Bennett

---------------------

Making all in .
/bin/sh ../libtool --tag=CXX --mode=link g++-4 -Os -framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz -o lyx-qt4 main.o Bidi.o BufferView.o BufferView_pimpl.o Bullet.o BranchList.o Chktex.o Color.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 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 TocBackend.o toc.o trans.o trans_mgr.o undo.o vc-backend.o version.o vspace.o mathed/libmathed.la insets/libinsets.la frontends/ libfrontends.la frontends/qt4/libqt4.la frontends/controllers/ libcontrollers.la graphics/libgraphics.la support/libsupport.la ../ boost/libs/regex/src/libboost_regex.la ../boost/libs/signals/src/ libboost_signals.la ../boost/libs/filesystem/src/ libboost_filesystem.la ../boost/libs/iostreams/src/ libboost_iostreams.la ../intl/libintl.a -liconv -lc -lm -lz g++-4 -Os -framework Carbon -framework OpenGL -framework AGL - framework QuickTime -o lyx-qt4 main.o Bidi.o BufferView.o BufferView_pimpl.o Bullet.o BranchList.o Chktex.o Color.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 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 TocBackend.o toc.o trans.o trans_mgr.o undo.o vc-backend.o version.o vspace.o -Wl,-bind_at_load mathed/.libs/libmathed.a insets/.libs/libinsets.a frontends/.libs/ libfrontends.a frontends/qt4/.libs/libqt4.a -L/Users/bennett/lyx/ gcc-4.0/qt-mac-opensource-src-4.1.3-universal///lib -lQtCore -lQtGui 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 ../boost/libs/iostreams/src/.libs/ libboost_iostreams.a ../intl/libintl.a /usr/lib/libiconv.dylib -lc - lm -lz
/usr/bin/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
/usr/bin/ld: Undefined symbols:
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_create(unsigned long, std::allocator<char> const&)
__ZNSt15basic_streambufIcSt11char_traitsIcEEC4Ev
__ZNSt15basic_streambufIcSt11char_traitsIcEED4Ev
std::__default_alloc_template<true, 0>::deallocate(void*, unsigned long)
std::__default_alloc_template<true, 0>::_S_force_new
std::__default_alloc_template<true, 0>::_S_free_list
std::__default_alloc_template<true, 0>::_S_node_allocator_lock
std::__default_alloc_template<true, 0>::allocate(unsigned long)
std::__default_alloc_template<true, 0>::_S_refill(unsigned long)
__ZNSaIcED4Ev
__ZNSt24__default_alloc_templateILb1ELi0EE5_LockC4Ev
__ZNSt24__default_alloc_templateILb1ELi0EE5_LockD4Ev
__ZNSsD4Ev
collect2: ld returned 1 exit status

Reply via email to