> -----Original Message-----
> From: 
> simulavr-devel-bounces+eric.weddington=atmel....@nongnu.org 
> [mailto:simulavr-devel-bounces+eric.weddington=atmel....@nongn
> u.org] On Behalf Of Michael N. Moran
> Sent: Thursday, March 26, 2009 2:42 PM
> To: simulavr-devel@nongnu.org
> Subject: Re: [Simulavr-devel] libtool warnings and build failure
> 
>
> I am now able to build simulavrxx.so , but most
> of the example directories fail to compile. This looks
> like it may be my old avr-gcc.
> 
> avr-gcc (GCC) 4.0.2
> Copyright (C) 2005 Free Software Foundation, Inc.
> This is free software; see the source for copying 
> conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A 
> PARTICULAR PURPOSE.
> 
> It seems that there are some missing headers required
> by the examples.
> 
> For example:
> 
> make[2]: Entering directory 
> `/home/mike/cross/simulavrxx/simulavrxx/examples/atmel_key'
> avr-gcc -mmcu=atmega128 -I. -DF_CPU=4000000UL -Os 
> -funsigned-char -funsigned-bitfields -fpack-struct 
> -fshort-enums -Wall -Wstrict-prototypes  -c -o main.o main.c
> main.c:11:31: error: compat/deprecated.h: No such file or 
> directory
> main.c: In function 'initialize':
> main.c:45: warning: implicit declaration of function 'cbi'
> make[2]: *** [main.o] Error 1
> make[2]: Leaving directory 
> `/home/mike/cross/simulavrxx/simulavrxx/examples/atmel_key'
> 

This is an avr-libc issue, not gcc. What version of avr-libc are you using?


_______________________________________________
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/simulavr-devel

Reply via email to