[En-Nut-Discussion] area 'text' not large enough

Per Eklund 70eklund at telia.com
Wed Jul 19 22:55:17 CEST 2006


Hi all!

This is my first post to this forum but I have been reading it for a while now and I have fond the EtherNut "concept" very interesting.


I got my first board today (1.3g) and I have tested almost the whole day :-) 
It works perfekt with AVR-GCC but I have problem to compile with ICCAVR and I would like to use this compiler because of the debugging with AVR JTAG ICE. It is the Demo-version of ICCAVR by the way.

I have read http://www.ethernut.de/en/iccavr/index.html and gone throu the setup several times now, but I always end up with this:

C:\iccv7avr\bin\imakew -f HTTPD.mak
iccavr -c -Ic:\ethernut-4.0.3\nutbld_icc\include -Ic:\ethernut-4.0.3\nut\include -e -D__ICC_VERSION="7.06B" -DETHERNUT1 -D_MCU_enhanced -D__HARVARD_ARCH__ -DATMEGA -DATMega128 -l -g -Mavr_enhanced C:\ethernut-4.0.3\nutapp_icc\httpd\urom.c
iccavr -c -Ic:\ethernut-4.0.3\nutbld_icc\include -Ic:\ethernut-4.0.3\nut\include -e -D__ICC_VERSION="7.06B" -DETHERNUT1 -D_MCU_enhanced -D__HARVARD_ARCH__ -DATMEGA -DATMega128 -l -g -Mavr_enhanced C:\ethernut-4.0.3\nutapp_icc\httpd\httpserv.c
iccavr -o HTTPD -Lc:\ethernut-4.0.3\nutbld_icc\lib -g -ucrtatmegaram.o -bfunc_lit:0x8c.0x10000 -dram_end:0x10ff -bdata:0x1100.0x7fff -dFRAM:1 -dhwstk_size:16 -beeprom:0.4096 -fihx_coff -ucrtenutram.o c:\ethernut-4.0.3\nutbld_icc\lib\nutinit.o -S2 @HTTPD.lk -lnutpro -lnutfs -lnutnet -lnutos -lnutdev -lnutcrt -lnutarch -lcatmega
want size 8778
lo 59110 hi 65535 size 6426
lo 65536 hi 65536 size 1
!E <library>(12127): area 'text' not large enough
want size 806
lo 65332 hi 65535 size 204
lo 65536 hi 65536 size 1
!E <library>(12127): area 'text' not large enough
want size 996
lo 65332 hi 65535 size 204
lo 65536 hi 65536 size 1
!E <library>(12127): area 'text' not large enough
want size 990
lo 65332 hi 65535 size 204
lo 65536 hi 65536 size 1
!E <library>(12127): area 'text' not large enough
C:\iccv7avr\bin\imakew.exe: Error code 1
Done: there are error(s). Exit code: 1


Does any one of you know how to fix this problem?
I would be very greatful if there is a solution. 

Regard Per Eklund



More information about the En-Nut-Discussion mailing list