linking error

Cyrille Berger Skott cberger at cberger.net
Sun Mar 2 17:39:04 GMT 2014


Hi,

I get a compilation error when building calligra:

Linking CXX shared module ../../../lib/calligra_filter_doc2odt.so
/usr/bin/ld: ../../../lib/libmso.a(drawstyle.cpp.o): bad reloc symbol index 
(0x21e9 >= 0x976) for offset 0x6a6f2 in section `.debug_loc'
../../../lib/libmso.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [lib/calligra_filter_doc2odt.so] Error 1
make[1]: *** [filters/words/msword-
odf/CMakeFiles/calligra_filter_doc2odt.dir/all] Error 2
make: *** [all] Error 2
zsh: exit 2     make

Reverting the following commit does solve the problem for me:


http://quickgit.kde.org/?p=calligra.git&a=blobdiff&h=1d856a52eaf25df91b
a25e00ba834afb2020d3e1&hp=8342552e9de700bd0a52ae687f544a986
eb1941e&f=filters%2Fwords%2Fmsword-
odf%2FCMakeLists.txt&hb=5f0a8e4208a10f5d6b4aeaa3ebcae8922e8789
1e

It is worth to note, that for some reasons, it seems to only happen with a 
clean build.

-- 
Cyrille Berger Skott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20140302/7ec81d18/attachment.htm>


More information about the calligra-devel mailing list