[En-Nut-Discussion] compile error with winavr20050214 & nutos3.9.5

조현식 hscho at peacesoft.anyang.ac.kr
Sun Feb 20 06:22:38 CET 2005


Hello everybody~

I am new user of nut/os.
And I can`t compile it.


1. If I make my own pcb, how can I edit *****.conf
    And What it means?

2. Compile Error message

Nut/OS Configurator Version 1.1.2
Linked to wxWindows 2.4.2
Running on Windows NT 5.2 (build 3790)
Loading C:/ethernut/nut/conf/repository.nut
Loading C:/ethernut/nut/conf/stk501.conf
OK
Creating Makefiles for avr-gcc in C:/ethernut/nutos/avr
Creating header files in C:/ethernut/nutos/avr
OK
----- Running 'make clean' -----
----- 'make clean' terminated successfully -----
----- Running 'make all' -----
avr-ar: creating libnutarch.a
In file included from C:/ethernut/nut/include/compiler.h:66,
                 from C:/ethernut/nut/os/heap.c:89:
C:/ethernut/nut/include/arch/avr.h:237:21: avr/twi.h: No such file or
directory
make[1]: *** [heap.o] Error 1
make: *** [all] Error 2
----- 'make all' failed with error 2 -----

And I copied 
C:\WinAVR\avr\include\compat\twi.h
To
C:\WinAVR\avr\include\avr\twi.h

And then, rebuild Tree, and Compile again.

It displays

----- Running 'make clean' -----
----- 'make clean' terminated successfully -----
----- Running 'make all' -----
avr-ar: creating libnutarch.a
avr-ar: creating libnutos.a
C:/ethernut/nut/dev/spidigio.c: In function `SpiDigitalInit':
C:/ethernut/nut/dev/spidigio.c:486: error: `SPIDIGIO_SIN_PORT' undeclared
(first use in this function)
C:/ethernut/nut/dev/spidigio.c:486: error: (Each undeclared identifier is
reported only once
C:/ethernut/nut/dev/spidigio.c:486: error: for each function it appears in.)
C:/ethernut/nut/dev/spidigio.c:487: error: `SPIDIGIO_SIN_DDR' undeclared
(first use in this function)
make[1]: *** [spidigio.o] Error 1
make: *** [all] Error 2
----- 'make all' failed with error 2 -----


3. How can I edit configure menu?
   Ex) Using UDP ENABLE -> DISABLE
        Or other DISABLE TO ENALBE?




More information about the En-Nut-Discussion mailing list