[prev in list] [next in list] [prev in thread] [next in thread] 

List:       calligra-devel
Subject:    linking error
From:       Cyrille Berger Skott <cberger () cberger ! net>
Date:       2014-03-02 17:39:04
Message-ID: 8662442.LE0fDeQZqd () pixie
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (unknown)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" \
"http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" \
content="1" /><style type="text/css"> p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'DejaVu Sans Mono'; font-size:9pt; \
font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">Hi,</p> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; ">&nbsp;</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">I get a compilation error when building calligra:</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Linking CXX shared module \
../../../lib/calligra_filter_doc2odt.so</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">/usr/bin/ld: \
../../../lib/libmso.a(drawstyle.cpp.o): bad reloc symbol index (0x21e9 &gt;= 0x976) \
for offset 0x6a6f2 in section `.debug_loc'</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">../../../lib/libmso.a: error adding symbols: Bad \
value</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">collect2: \
error: ld returned 1 exit status</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">make[2]: *** [lib/calligra_filter_doc2odt.so] Error 1</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">make[1]: *** \
[filters/words/msword-odf/CMakeFiles/calligra_filter_doc2odt.dir/all] Error 2</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">make: *** [all] Error 2</p> \
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">zsh: exit 2     make</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Reverting the following \
commit does solve the problem for me:</p> <p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; ">&nbsp;</p> <p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; ">&nbsp;</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">http://quickgit.kde.org/?p=calligra.git&amp;a=blob \
diff&amp;h=1d856a52eaf25df91ba25e00ba834afb2020d3e1&amp;hp=8342552e9de700bd0a52ae687f5 \
44a986eb1941e&amp;f=filters%2Fwords%2Fmsword-odf%2FCMakeLists.txt&amp;hb=5f0a8e4208a10f5d6b4aeaa3ebcae8922e87891e</p>
 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p> \
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">It is worth to note, that for \
some reasons, it seems to only happen with a clean build.</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-- </p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Cyrille Berger \
Skott</p></body></html>



_______________________________________________
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic