Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. CAN BUS Application static build error with MinGW 32bit & Qt 5.10.0

CAN BUS Application static build error with MinGW 32bit & Qt 5.10.0

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 2 Posters 580 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Venkatesan Soundirarajan
    wrote on last edited by
    #1

    I have done compiler static build setup with following configuration:
    Qt -5.10.0
    Compiler - MinGW530_32 -Static
    Application - CAN BUS(Qt Example)
    OS: Windows

    Error:
    Static\5.10.0\plugins\canbus\libqttinycanbus.a(tinycanbackend.o): duplicate section `.rdata$_ZZZ14resolveSymbolsP8QLibraryENKUlvE_clEvE15qstring_literal[__ZZZ14resolveSymbolsP8QLibraryENKUlvE_clEvE15qstring_literal]' has different size

    Static\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.

    aha_1980A 1 Reply Last reply
    0
    • aha_1980A aha_1980

      @Venkatesan-Soundirarajan

      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

      V Offline
      V Offline
      Venkatesan Soundirarajan
      wrote on last edited by Venkatesan Soundirarajan
      #5
      This post is deleted!
      1 Reply Last reply
      0
      • V Venkatesan Soundirarajan

        I have done compiler static build setup with following configuration:
        Qt -5.10.0
        Compiler - MinGW530_32 -Static
        Application - CAN BUS(Qt Example)
        OS: Windows

        Error:
        Static\5.10.0\plugins\canbus\libqttinycanbus.a(tinycanbackend.o): duplicate section `.rdata$_ZZZ14resolveSymbolsP8QLibraryENKUlvE_clEvE15qstring_literal[__ZZZ14resolveSymbolsP8QLibraryENKUlvE_clEvE15qstring_literal]' has different size

        Static\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.

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi @Venkatesan-Soundirarajan,

        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?

        Qt has to stay free or it will die.

        V 1 Reply Last reply
        0
        • aha_1980A aha_1980

          Hi @Venkatesan-Soundirarajan,

          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?

          V Offline
          V Offline
          Venkatesan Soundirarajan
          wrote on last edited by
          #3

          @aha_1980 Thanks for your reply.
          build done with Peak & Systec.
          I have this two error only.

          aha_1980A 1 Reply Last reply
          0
          • V Venkatesan Soundirarajan

            @aha_1980 Thanks for your reply.
            build done with Peak & Systec.
            I have this two error only.

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by
            #4

            @Venkatesan-Soundirarajan

            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

            Qt has to stay free or it will die.

            V 1 Reply Last reply
            0
            • aha_1980A aha_1980

              @Venkatesan-Soundirarajan

              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

              V Offline
              V Offline
              Venkatesan Soundirarajan
              wrote on last edited by Venkatesan Soundirarajan
              #5
              This post is deleted!
              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved