[En-Nut-Discussion] cannot compile basemon sample
James Mclellan
james.mclellan at gmail.com
Fri Apr 14 16:56:12 CEST 2006
Thomas,
I abandoned ICC-AVR v7.05 in favor of WinAVR.
I was getting problems similar to yours using board version 2.1.
On 4/11/06, Thomas Bulckaert <thomas at orionsolutions.be> wrote:
> Hi, i am using Nut/OS 4.0.1 and ICCAVR v7.05
> The board i am using is an Ethernut 1.3g
>
> When i compile the project "basemon", i get the following error-report:
> C:\iccv7avr\bin\imakew -f basemon.mak
> iccavr -c -IC:\ethernut-4.0.1\nutbld-icc\include -IC:\ethernut-4.0.1\nut\include -Ic:\iccv7avr\include -e -D__ICC_VERSION="7.05" -D_MCU_enhanced -D__HARVARD_ARCH__ -DATMEGA -DATMega128 -l -g -Mavr_enhanced C:\ethernut-4.0.1\nutapp\basemon\basemon.c
> !W C:\ethernut-4.0.1\nutapp\basemon\basemon.c: [warning] in function 'idle', argument 'arg' has no use.
> iccavr -o basemon -LC:\ethernut-4.0.1\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.1\nutbld-icc\lib\nutinit.o -S2 @basemon.lk -lnutpro -lnutfs -lnutnet -lnutos -lnutdev -lnutcrt -lnutarch -lcatmega
> !E basemon.o(362): multiple define: '_NutInit'
> !E basemon.o(389): multiple define: '_ms62_5'
> want size 430
> lo 65130 hi 65535 size 406
> lo 65536 hi 65536 size 1
> !E <library>(11792): area 'text' not large enough
> want size 350
> lo 65518 hi 65535 size 18
> lo 65536 hi 65536 size 1
> !E <library>(11792): area 'text' not large enough
> want size 1132
> lo 65518 hi 65535 size 18
> lo 65536 hi 65536 size 1
> !E <library>(11792): area 'text' not large enough
> want size 290
> lo 65518 hi 65535 size 18
> lo 65536 hi 65536 size 1
> !E <library>(11792): area 'text' not large enough
> C:\iccv7avr\bin\imakew.exe: Error code 1
> Done: there are error(s). Exit code: 1
>
> I get almost the same results when i try to compile the httpd demo project. All the others work out fine. It looks like the error only occurs when there are files (like html pages) that need to be loaded in the chip, besides the program.
>
> Has anyone seen this problem before? Yes, the chip is set on atmega128. I would really like to solve this problem, cause like this, i cannot start "playing" and "modifying" the webserver
>
> I hope someone can help me.
>
> Thanks in advance
>
>
> Thomas Bulckaert
> ORION ELECTRONIC SOLUTIONS
> Ondernemingenstraat 3
> 8630 VEURNE
> BELGIUM
> 0032 478 84 10 29
> thomas at orionsolutions.be
> http://www.orionsolutions.be
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>
More information about the En-Nut-Discussion
mailing list