[En-Nut-Discussion] problems installing ethernut-4.0.1 in Linux: obsolete headers

José María Vallet jose.vallet at hut.fi
Tue Jan 24 11:59:58 CET 2006


Hello all.

I am running Mandriva 2006

Installed :
-Binutils 2.16
-avr-gcc 4.0.2
-avr-libc 1.4.2
-avrdude 5.0

all from the sources, and at /usr/local/avr.
Then I istalled

wxGTK2.6-2.6.1-1mdk
liblua5-devel-5.0.2-7mdk
liblua5-5.0.2-7mdk
doxygen-1.4.4-1mdk
graphviz-2.2.1-3.1.20060mdk
libgraphviz7-2.2.1-3.1.20060mdk

as binaries using urpmi from Mandiva.

After that I managed ./configure, make and make install the ethernut-4.0.1.
I can run nutconf, and I follow the steps given in tthe "Quick start 
with AVR-GCC on Linux"
When I try to build the libraries I get the error:

--------------------------------------------------------------------
12:31:46: Nut/OS Configurator Version 1.2.3
12:31:46: Linked to wxWidgets 2.6.1
12:31:46: Running on Linux 2.6.12-12mdk i686
12:31:47: Failed to load help file
12:32:10: Loading /home/jose/ethernut-4.0.1/conf/repository.nut
12:32:10: Loading /home/jose/ethernut-4.0.1/conf/ethernut21b.conf
12:32:10: OK
12:32:42: Creating Makefiles for avr-gcc in /home/jose/ethernut-4.0.1/nutbld
12:32:42: Creating header files in /home/jose/ethernut-4.0.1/nutbld
12:32:42: OK
12:32:43: ----- Running 'make clean' -----
12:32:49: ----- 'make clean' terminated successfully -----
12:32:49: ----- Running 'make all' -----
In file included from /home/jose/ethernut-4.0.1/include/arch/avr/gcc.h:56,
                 from /home/jose/ethernut-4.0.1/include/arch/avr.h:87,
                 from /home/jose/ethernut-4.0.1/include/compiler.h:70,
                 from /home/jose/ethernut-4.0.1/include/sys/types.h:144,
                 from /home/jose/ethernut-4.0.1/include/sys/atom.h:99,
                 from 
/home/jose/ethernut-4.0.1/arch/avr/os/context_gcc.c:87:
/usr/local/avr/bin/../lib/gcc/avr/4.0.2/../../../../avr/include/avr/signal.h:36:2: 
error: #warning "This header file is obsolete.  Use <avr/interrupt.h>."
make[1]: *** [avr/os/context_gcc.o] Error 1
make: *** [all] Error 2
12:32:49: ----- 'make all' failed with error 2 -----
---------------------------------------------------------------------------

Obsolete headers?? Any hints? Should I use another version of something?


Regards,
José











More information about the En-Nut-Discussion mailing list