[En-Nut-Discussion] Error compiling Ethernut-4.2.1 on OSX

Henk Kampman henk.kampman at secondmove.com
Mon Jul 2 15:19:54 CEST 2007


Op 2-jul-2007, om 12:19 heeft Ole Reinhardt het volgende geschreven:

> Hi,
>
>> The avr-libc build process moves the includes  to:
>>
>> /usr/local/avr/includes
>>
>> Does the ethernut build process expect them at another location?
>
> Normaly the build process expects them in the same directory as the
> compiler lives. For me it's /usr/avr/include
>
> When building avr-libc you could configure your own prefix
>
> ./configure --prefix=/usr

That solved a lot of compilation errors.

But now the compiler (4.0.2) aborts with an internal error:

usart.c:821: error: unable to find a register to spill in class
'BASE_POINTER_REGS'
usart.c:821: error: this is the insn:
(insn 653 159 160 14 (set (mem:HI (plus:HI (reg/f:HI 28 r28)
                 (const_int 1 [0x1])) [32 S2 A8])
         (reg:HI 24 r24)) 12 {*movhi} (nil)
     (nil))
usart.c:821: internal compiler error: in spill_failure, at reload1.c: 
1872

Henk




More information about the En-Nut-Discussion mailing list