Hallo Osser,
ich schreibe zum ersten mal und habe mit deinen Programm schwierigkeiten. Bekomme immer diese Fehlermeldung die ich nicht verstehe.
C:\AsuroFlash\Projekte\Zweite\Project2.hex
is set as default flash file.
Use program button to flash it to hardware.
File saved.
Default make_all.cmd file created.
Default makefile created.
Make
C:\AsuroFlash\Projekte\Zweite>C:\WinAVR\utils\bin\ make.exe all
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=new.lst -IC:\AsuroFlash\include new.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > new.d; \
[ -s new.d ] || rm -f new.d
-------- begin --------
avr-gcc --version
avr-gcc (GCC) 3.3.1
Copyright (C) 2003 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.

Size before:
Project2.elf :
section size addr
.text 102 0
.data 0 8388704
.bss 0 8388704
.noinit 0 8388704
.eeprom 0 8454144
.stab 768 0
.stabstr 1685 0
Total 2555


avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=new.lst -IC:\AsuroFlash\include new.c -o new.o
new.c:3: warning: return type of `main' is not `int'
new.c: In function `main':
new.c:9: warning: `return' with a value, in function returning void
avr-gcc -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=new.o -IC:\AsuroFlash\include new.o --output Project2.elf -Wl,-Map=Project2.map,--cref -IC:\AsuroFlash\lib -lm
new.o(.text+0x: In function `main':
C:\AsuroFlash\Projekte\Zweite/new.c:4: undefined reference to `Init'
make.exe: *** [Project2.elf] Error 1


ExitCode 2
Ready.

Wie bekomme ich diesen Error 1 weg
Gruß
Juelicher