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
Forum Updated to NodeBB v4.3 + New Features

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 634 Views 1 Watching
  • 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 29 May 2019, 12:57 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.

    A 1 Reply Last reply 29 May 2019, 13:12
    0
    • A aha_1980
      30 May 2019, 14:51

      @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 31 May 2019, 18:56 last edited by Venkatesan Soundirarajan
      #5
      This post is deleted!
      1 Reply Last reply
      0
      • V Venkatesan Soundirarajan
        29 May 2019, 12:57

        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.

        A Offline
        A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on 29 May 2019, 13:12 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 30 May 2019, 10:59
        0
        • A aha_1980
          29 May 2019, 13:12

          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 30 May 2019, 10:59 last edited by
          #3

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

          A 1 Reply Last reply 30 May 2019, 14:51
          0
          • V Venkatesan Soundirarajan
            30 May 2019, 10:59

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

            A Offline
            A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on 30 May 2019, 14:51 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 31 May 2019, 18:56
            0
            • A aha_1980
              30 May 2019, 14:51

              @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 31 May 2019, 18:56 last edited by Venkatesan Soundirarajan
              #5
              This post is deleted!
              1 Reply Last reply
              0

              3/5

              30 May 2019, 10:59

              • Login

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