Danke,
hab die Datein in den Ordner borg-base kopiert. Wenn ich die avr.mk
Datei im Ordner make habe, kommt nur:
> "make.exe" all
make.exe: *** No rule to make target `all'. Stop.
> Process Exit Code: 2
> Time Taken: 00:01
Wenn ich sie im Ordner, wo die anderen Datein auch sind habe, bekomme
ich:
> "make.exe" all
avr-gcc -MMD -g -mmcu=atmega32 -Os -Wall -DF_CPU=16000000
-DNEW_GENERATION -c main.c
avr-gcc -MMD -g -mmcu=atmega32 -Os -Wall -DF_CPU=16000000
-DNEW_GENERATION -c util.c
avr-gcc -MMD -g -mmcu=atmega32 -Os -Wall -DF_CPU=16000000
-DNEW_GENERATION -c pixel.c
pixel.c: In function 'get_next_pixel3d':
pixel.c:243: warning: 'tmp.x' may be used uninitialized in this function
pixel.c:243: warning: 'tmp.y' may be used uninitialized in this function
pixel.c:243: warning: 'tmp.z' may be used uninitialized in this function
avr-gcc -MMD -g -mmcu=atmega32 -Os -Wall -DF_CPU=16000000
-DNEW_GENERATION -c games.c
avr-gcc -MMD -g -mmcu=atmega32 -Os -Wall -DF_CPU=16000000
-DNEW_GENERATION -c basicAnimations.c
avr-gcc -MMD -g -mmcu=atmega32 -Os -Wall -DF_CPU=16000000
-DNEW_GENERATION -c rotatedAnimations.c
avr-gcc -MMD -g -mmcu=atmega32 -Os -Wall -DF_CPU=16000000
-DNEW_GENERATION -c randomAnmations.c
avr-gcc -MMD -g -mmcu=atmega32 -Os -Wall -DF_CPU=16000000
-DNEW_GENERATION -c testPrograms.c
avr-gcc -MMD -g -mmcu=atmega32 -Os -Wall -DF_CPU=16000000
-DNEW_GENERATION -c borg_can.c
In file included from borg-base/borg_can.c:1,
from borg_can.c:4:
borg-base/can.h:2:30: error: ../../../lib/can.h: No such file or
directory
In file included from borg-base/borg_can.c:2,
from borg_can.c:4:
borg-base/lap.h:2:30: error: ../../../lib/lap.h: No such file or
directory
In file included from borg-base/borg_can.c:4,
from borg_can.c:4:
borg-base/spi.h:2:30: error: ../../../lib/spi.h: No such file or
directory
In file included from borg_can.c:4:
borg-base/borg_can.c:13: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'myaddr'
borg-base/borg_can.c: In function 'bcan_init':
borg-base/borg_can.c:24: warning: implicit declaration of function
'spi_init'
borg-base/borg_can.c:25: warning: implicit declaration of function
'can_init'
borg-base/borg_can.c:27: error: 'myaddr' undeclared (first use in this
function)
borg-base/borg_can.c:27: error: (Each undeclared identifier is reported
only once
borg-base/borg_can.c:27: error: for each function it appears in.)
borg-base/borg_can.c:28: error: 'pdo_message' undeclared (first use in
this function)
borg-base/borg_can.c:28: error: 'msg' undeclared (first use in this
function)
borg-base/borg_can.c:28: error: expected expression before ')' token
borg-base/borg_can.c:31: error: 'PORT_BORG' undeclared (first use in
this function)
borg-base/borg_can.c:34: error: 'FKT_BORG_INFO' undeclared (first use in
this function)
borg-base/borg_can.c:39: warning: implicit declaration of function
'can_transmit'
borg-base/borg_can.c:39: error: 'can_message' undeclared (first use in
this function)
borg-base/borg_can.c:39: error: expected expression before ')' token
borg-base/borg_can.c: At top level:
borg-base/borg_can.c:42: error: expected ')' before '*' token
borg-base/borg_can.c:65: error: expected ')' before '*' token
borg-base/borg_can.c: In function 'bcan_process_messages':
borg-base/borg_can.c:125: error: 'pdo_message' undeclared (first use in
this function)
borg-base/borg_can.c:125: error: 'msg' undeclared (first use in this
function)
borg-base/borg_can.c:125: error: expected expression before ')' token
borg-base/borg_can.c:131: error: 'myaddr' undeclared (first use in this
function)
borg-base/borg_can.c:131: error: 'PORT_MGT' undeclared (first use in
this function)
borg-base/borg_can.c:132: warning: implicit declaration of function
'process_mgt_msg'
borg-base/borg_can.c:134: error: 'PORT_BORG' undeclared (first use in
this function)
borg-base/borg_can.c:135: warning: implicit declaration of function
'process_borg_msg'
borg-base/borg_can.c:137: error: expected expression before ')' token
make.exe: *** [borg_can.o] Error 1
> Process Exit Code: 2
> Time Taken: 00:03
Irgendetwas stimmt noch nicht, oder fehlt.
Den Ordner habe ich als Anhang angehängt.