Jiter
24.10.2009, 12:57
Hey,
ich habe folgendes Problem dieses Programm:
#include <asuro.h>
int main(void) {
Init ()
MotorDir(FWD,FWD);
MotorSpeed (150,150);
StatusLED(GREEN);
while (PollSwitch()==0= {
SerWrite("Alles OK!\n",10);
}
MotorSpeed (0,0);
StatusLED (RED);
while (1) {
} SerWrite ("Aua!\n",5);
while (1) {}
return 0;
}
zu compilieren.
Es kommt diese Fehlermeldung:
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
0 [main] sh 5468 sync_with_child: child 5896(0x150) died before initialization with status code 0x0
14882 [main] sh 5468 sync_with_child: *** child state waiting for longjmp
C:\Users\David\AppData\Local\Temp\make19642.sh: fork: Resource temporarily unavailable
make: *** [asuro.d] Error 128
> Process Exit Code: 2
Habe es probiert mit WinAVR
Grüße David
ich habe folgendes Problem dieses Programm:
#include <asuro.h>
int main(void) {
Init ()
MotorDir(FWD,FWD);
MotorSpeed (150,150);
StatusLED(GREEN);
while (PollSwitch()==0= {
SerWrite("Alles OK!\n",10);
}
MotorSpeed (0,0);
StatusLED (RED);
while (1) {
} SerWrite ("Aua!\n",5);
while (1) {}
return 0;
}
zu compilieren.
Es kommt diese Fehlermeldung:
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
0 [main] sh 5468 sync_with_child: child 5896(0x150) died before initialization with status code 0x0
14882 [main] sh 5468 sync_with_child: *** child state waiting for longjmp
C:\Users\David\AppData\Local\Temp\make19642.sh: fork: Resource temporarily unavailable
make: *** [asuro.d] Error 128
> Process Exit Code: 2
Habe es probiert mit WinAVR
Grüße David