[En-Nut-Discussion] build problem concerning USART

Jungeol Chun nautes at gmail.com
Tue Feb 6 00:13:23 CET 2007


I had a problem building Nut/OS using configurator.
When I tried to build OS, it returns an error message like this:

avr-ar: creating libnutos.a
C:/ethernut-4.2.1/nut/dev/usart.c: In function 'UsartIOCtl':
C:/ethernut-4.2.1/nut/dev/usart.c:844: error: unable to find a register to
spill in class 'BASE_POINTER_REGS'
C:/ethernut-4.2.1/nut/dev/usart.c:844: error: this is the insn:
(insn 663 162 163 14 (set (mem/c:HI (plus:HI (reg/f:HI 28 r28)
                (const_int 1 [0x1])) [29 S2 A8])
        (reg:HI 24 r24)) 12 {*movhi} (nil)
    (nil))
C:/ethernut-4.2.1/nut/dev/usart.c:844: confused by earlier errors, bailing
out
make[1]: *** [usart.o] Error 1
make: *** [all] Error 2

--
I used Nut/OS configurator v1.3.1 and WinAVR(avr-gcc), NutOS 4.2.1 and
Ethernut20a configuration file.
Is there anyone having a solution?

Thanks in advance.

-- 
I think, therefore I am...................single!
--
Jungeol Chun                   nautes at gmail.com



More information about the En-Nut-Discussion mailing list