linking error

Jaroslaw Staniek staniek at kde.org
Sun Mar 2 20:14:17 GMT 2014


Hi,
It could be cool to get rid of the static lib but I feel that was discussed (?).
Alternatively, a special condition in the cmake file could act as a
somewhat dirty solution in this rare case.

On 2 March 2014 18:39, Cyrille Berger Skott <cberger at cberger.net> wrote:
> 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=1d856a52eaf25df91ba25e00ba834afb2020d3e1&hp=8342552e9de700bd0a52ae687f544a986eb1941e&f=filters%2Fwords%2Fmsword-odf%2FCMakeLists.txt&hb=5f0a8e4208a10f5d6b4aeaa3ebcae8922e87891e
>
>
>
> It is worth to note, that for some reasons, it seems to only happen with a
> clean build.
>
>
>
> --
>
> Cyrille Berger Skott
>
>
> _______________________________________________
> calligra-devel mailing list
> calligra-devel at kde.org
> https://mail.kde.org/mailman/listinfo/calligra-devel
>



-- 
regards / pozdrawiam, Jaroslaw Staniek
 Kexi & Calligra & KDE | http://calligra.org/kexi | http://kde.org
 Qt for Tizen | http://qt-project.org/wiki/Tizen
 Qt Certified Specialist | http://www.linkedin.com/in/jstaniek



More information about the calligra-devel mailing list