Unsolved Error Too Many sections
-
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 -
@ManiRon
I suppose you leave us to guess that you are using gcc/mingw? Have you Googled forgcc too many sections
ormingw too many sections
? -
@JonB I am using mingw32
-
@ManiRon
So have you tried Googling? -
@JonB yes i was not able to understand thats why i seek your help
-
@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?
-
@jsulm when i ran the compiled in release mode it compiled correctly
-
@jsulm size of my .o file is 11MB
-
@ManiRon The corresponding cpp file must be also quite big?
Maybe you should restructure your code?