-
-
Neuer Benutzer
Öfters hier
Hallo mic
Ich habe die 2 Datein ausgetauscht. Jetzt passiert folgendes:
#include "asuro.h"
int main(void)
{
Init();
while(1);
return 0;
}
C:\ASURO_src\FirstTry>make all
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=asuro.lst asuro.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > asuro.d; \
[ -s asuro.d ] || rm -f asuro.d
asuro.c:61:21: myasuro.h: No such file or directory
-------- 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.
avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=asuro.lst asuro.c -o asuro.o
asuro.c:61:21: myasuro.h: No such file or directory
asuro.c: In function `Init':
asuro.c:145: error: `F_CPU' undeclared (first use in this function)
asuro.c:145: error: (Each undeclared identifier is reported only once
asuro.c:145: error: for each function it appears in.)
make: *** [asuro.o] Error 1
> Process Exit Code: 2
Gruß Martin
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- Anhänge hochladen: Nein
- Beiträge bearbeiten: Nein
-
Foren-Regeln
Lesezeichen