Log in

View Full Version : Strange linker error...


K.Porter
10-02-2007, 10:59
Error - section '.idata_globals.o_i' can not fit the section. Section 'idata_globals.i_o' length=0x00000032

Is my code too big? I had this problem earlier and I solved by removing pieces of code I wasn't using anymore, but now there's nothing left I can take out. Can I write parts to EEPROM?

Joe Ross
10-02-2007, 12:17
It means that you have too many variables declared in a single file .You can have a maximum of 256 bytes of variables per file without resorting to some of the tricks in this thread: http://www.chiefdelphi.com/forums/showthread.php?t=51550
However, since I don't use EasyC, I don't know how easy it is to split things into different files or implement one of the other suggestions.

Kingofl337
12-02-2007, 00:00
Try and move some of your globals to locals.