I am trying to build armel AbiWord package for Maemo2, but the linker
bails out for reasons I do not understand. The exact error message is as
follows:

../../../../src/text/fmt/xp/libFmt.a(fv_View.o): In function
`~AV_Listener':../../../../src/af/util/xp/ut_string_class.h:55: multiple
definition of
`UT_GenericStringMap<char*>::_key(UT_GenericStringMap<char*>::UT_Cursor&)
const::bad'
../../../../src/wp/impexp/libImpExp.a(ie_imp_PasteListener.o):../../../../src/af/util/xp/ut_string_class.h:55:
first defined here

The odd thing is that ~AV_Listerner() is a NOP virtual destructor, so it
makes no use of UT_GenericStringMap<char*>, and ut_string_class.h:55
contains yet another NOP virtual destructor, but the class is unrelated
to UT_GenericStringMap<char*> either.

The code builds fine both with gcc and MSVC, and used to with the Maemo1
toolchain, so I suspect this is a bug in the toolchain, but hoping there
might be some workaround -- if any of the C++ gurus here would have any
suggestions, it would be much appreciated.

Tomas
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to