As Boyapati, Anitha wrote:

> True. _VECTORS_SIZE is not replaced and hence the error. But this
> happens for m3000 only. From what I observe, all avr/include/io*.h
> files except iom3000.h define _VECTORS_SIZE. Since iom3000.h doesn't
> have this definition, the variable should be defined somewhere.

That explains it: my compiler doesn't support the m3000, so I did not
see it.

<avr/iom3000.h> simply lacks the _VECTORS_SIZE definition.  I don't
know anything about that device, but from what I can gather from that
file, it doesn't appear to have *any* interrupt vector, so it should
define _VECTORS_SIZE to be 0.

Try adding

#define _VECTORS_SIZE 0

to your copy.
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to