So, jetzt hab ich den Fehler beseitigt, die Fehlermeldung sieht nun so aus:
Code:
> "E:\Daten\RP6\Programme\Eigene Programme\String\\make_all.bat"
E:\Daten\RP6\Programme\Eigene Programme\String>set LANG=C
E:\Daten\RP6\Programme\Eigene Programme\String>make all
-------- begin --------
avr-gcc (GCC) 4.1.2 (WinAVR 20070525)
Copyright (C) 2006 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.
Compiling: String.c
avr-gcc -c -mmcu=atmega32 -I. -gdwarf-2 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=String.lst -I../RP6lib -I../RP6lib/RP6control -I../RP6lib/RP6common -std=gnu99 -MD -MP -MF .dep/String.o.d String.c -o String.o
String.c: In function 'main':
String.c:7: error: 'string' undeclared (first use in this function)
String.c:7: error: (Each undeclared identifier is reported only once
String.c:7: error: for each function it appears in.)
String.c:7: error: expected ';' before 's'
String.c:8: error: 's' undeclared (first use in this function)
String.c:11:3: warning: no newline at end of file
make: *** [String.o] Error 1
> Process Exit Code: 2
> Time Taken: 00:01
Lesezeichen