simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Simulavr-devel] libtool warnings and build failure


From: Weddington, Eric
Subject: RE: [Simulavr-devel] libtool warnings and build failure
Date: Thu, 26 Mar 2009 15:57:31 -0600

 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> u.org] On Behalf Of Michael N. Moran
> Sent: Thursday, March 26, 2009 2:42 PM
> To: address@hidden
> 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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]