Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Error Too Many sections
QtWS25 Last Chance

Error Too Many sections

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 3 Posters 2.0k 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.
  • ManiRonM Offline
    ManiRonM Offline
    ManiRon
    wrote on last edited by
    #1

    I am trying to compile an application and while compiling i am facing an issue. While compiling an error occurs (Too Many Sections) that to it says that the error is in .o file . How to solve this issue .
    I am using QT5.5

    JonBJ 1 Reply Last reply
    0
    • ManiRonM ManiRon

      I am trying to compile an application and while compiling i am facing an issue. While compiling an error occurs (Too Many Sections) that to it says that the error is in .o file . How to solve this issue .
      I am using QT5.5

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @ManiRon
      I suppose you leave us to guess that you are using gcc/mingw? Have you Googled for gcc too many sections or mingw too many sections?

      ManiRonM 1 Reply Last reply
      1
      • JonBJ JonB

        @ManiRon
        I suppose you leave us to guess that you are using gcc/mingw? Have you Googled for gcc too many sections or mingw too many sections?

        ManiRonM Offline
        ManiRonM Offline
        ManiRon
        wrote on last edited by
        #3

        @JonB I am using mingw32

        JonBJ 1 Reply Last reply
        0
        • ManiRonM ManiRon

          @JonB I am using mingw32

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @ManiRon
          So have you tried Googling?

          ManiRonM 1 Reply Last reply
          0
          • JonBJ JonB

            @ManiRon
            So have you tried Googling?

            ManiRonM Offline
            ManiRonM Offline
            ManiRon
            wrote on last edited by
            #5

            @JonB yes i was not able to understand thats why i seek your help

            jsulmJ 1 Reply Last reply
            0
            • ManiRonM ManiRon

              @JonB yes i was not able to understand thats why i seek your help

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @ManiRon How big is that object file (.o)? According to https://stackoverflow.com/questions/16596876/object-file-has-too-many-sections this happens if the object file is too big. And what do you do in the cpp file from which the object file is created?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              ManiRonM 2 Replies Last reply
              0
              • jsulmJ jsulm

                @ManiRon How big is that object file (.o)? According to https://stackoverflow.com/questions/16596876/object-file-has-too-many-sections this happens if the object file is too big. And what do you do in the cpp file from which the object file is created?

                ManiRonM Offline
                ManiRonM Offline
                ManiRon
                wrote on last edited by
                #7

                @jsulm when i ran the compiled in release mode it compiled correctly

                1 Reply Last reply
                0
                • jsulmJ jsulm

                  @ManiRon How big is that object file (.o)? According to https://stackoverflow.com/questions/16596876/object-file-has-too-many-sections this happens if the object file is too big. And what do you do in the cpp file from which the object file is created?

                  ManiRonM Offline
                  ManiRonM Offline
                  ManiRon
                  wrote on last edited by
                  #8

                  @jsulm size of my .o file is 11MB

                  jsulmJ 1 Reply Last reply
                  0
                  • ManiRonM ManiRon

                    @jsulm size of my .o file is 11MB

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @ManiRon The corresponding cpp file must be also quite big?
                    Maybe you should restructure your code?

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    1

                    • Login

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