CAN BUS Application static build error with MinGW 32bit & Qt 5.10.0
-
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.
-
This post is deleted!
-
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?
-
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
-
This post is deleted!