CAN BUS Application static build error with MinGW 32bit & Qt 5.10.0
-
wrote on 29 May 2019, 12:57 last edited by
I have done compiler static build setup with following configuration:
Qt -5.10.0
Compiler - MinGW530_32 -Static
Application - CAN BUS(Qt Example)
OS: WindowsError:
Static\5.10.0\plugins\canbus\libqttinycanbus.a(tinycanbackend.o): duplicate section `.rdata$_ZZZ14resolveSymbolsP8QLibraryENKUlvE_clEvE15qstring_literal[__ZZZ14resolveSymbolsP8QLibraryENKUlvE_clEvE15qstring_literal]' has different sizeStatic\5.10.0\plugins\canbus\libqtvectorcanbus.a(vectorcanbackend.o): duplicate section `.rdata$_ZZZ14resolveSymbolsP8QLibraryENKUlvE_clEvE15qstring_literal[__ZZZ14resolveSymbolsP8QLibraryENKUlvE_clEvE15qstring_literal]' has different size
Note: I can build application with normal compiler setup(Qt-5.10.0, MinGW530_32, Windows)
Can you please help me to resolve this issue.
-
can you try to rename the function
resolveSymbols
in these two plugins, so that the names become unique?That is my only idea for now.
Regards
wrote on 31 May 2019, 18:56 last edited by Venkatesan SoundirarajanThis post is deleted! -
I have done compiler static build setup with following configuration:
Qt -5.10.0
Compiler - MinGW530_32 -Static
Application - CAN BUS(Qt Example)
OS: WindowsError:
Static\5.10.0\plugins\canbus\libqttinycanbus.a(tinycanbackend.o): duplicate section `.rdata$_ZZZ14resolveSymbolsP8QLibraryENKUlvE_clEvE15qstring_literal[__ZZZ14resolveSymbolsP8QLibraryENKUlvE_clEvE15qstring_literal]' has different sizeStatic\5.10.0\plugins\canbus\libqtvectorcanbus.a(vectorcanbackend.o): duplicate section `.rdata$_ZZZ14resolveSymbolsP8QLibraryENKUlvE_clEvE15qstring_literal[__ZZZ14resolveSymbolsP8QLibraryENKUlvE_clEvE15qstring_literal]' has different size
Note: I can build application with normal compiler setup(Qt-5.10.0, MinGW530_32, Windows)
Can you please help me to resolve this issue.
It seems the error is within this function: https://code.woboq.org/qt5/qtserialbus/src/plugins/canbus/vectorcan/vectorcan_symbols_p.h.html#_Z14resolveSymbolsP8QLibrary
The interesting thing is, that there are more plugins with a similar function (which might be part of the problem).
Did your build process the Peak- and Systec-Plugins? Or did it stop after these errors?
-
It seems the error is within this function: https://code.woboq.org/qt5/qtserialbus/src/plugins/canbus/vectorcan/vectorcan_symbols_p.h.html#_Z14resolveSymbolsP8QLibrary
The interesting thing is, that there are more plugins with a similar function (which might be part of the problem).
Did your build process the Peak- and Systec-Plugins? Or did it stop after these errors?
wrote on 30 May 2019, 10:59 last edited by@aha_1980 Thanks for your reply.
build done with Peak & Systec.
I have this two error only. -
@aha_1980 Thanks for your reply.
build done with Peak & Systec.
I have this two error only.can you try to rename the function
resolveSymbols
in these two plugins, so that the names become unique?That is my only idea for now.
Regards
-
can you try to rename the function
resolveSymbols
in these two plugins, so that the names become unique?That is my only idea for now.
Regards
wrote on 31 May 2019, 18:56 last edited by Venkatesan SoundirarajanThis post is deleted!
3/5