[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] Compile Error
From: |
Weddington, Eric |
Subject: |
RE: [avr-gcc-list] Compile Error |
Date: |
Sun, 4 May 2008 08:33:15 -0600 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Le, Tri, D (GE Healthcare)
> Sent: Friday, May 02, 2008 2:42 PM
> To: address@hidden
> Subject: [avr-gcc-list] Compile Error
>
> I tried to modify an old software that was implemented for
> AT90S4433 to make it works with its replacement ATmega48. I
> got the following errors when compiled using AVR_GCC:
>
> **************************
> ../ATmega48_RAB.c:220: error: '__vector_11' undeclared here
> (not in a function)
> ../ATmega48_RAB.c:220: error: expected '=', ',', ';', 'asm'
> or '__attribute__' before 'void'
>
> which pointed to the interrupt function:
>
> interrupt [INT0_vect] void INT0_interrupt(void)
> {
> }
>
<snip>
> What do I have to change to fix this compile errors.
Convert your IAR-based application to make is compile under GCC. See the
avr-libc user manual for a chapter on how to do this.