EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Build failed on AVR Studio

Started by Ivan Gomez July 12, 2009
Hi all,

I am trying to use AVR Studio and WinAVR to copile the following code that is a sample provided in the AVR Studio tutorial:

#include
int main(void)
{
DDRB = 0xFF;
while (1)
{
PORTB = PIND;
}
}

But whenI run the Build I got the following:

Build started 11.7.2009 at 18:21:13
0 [main] sh 9436 sync_with_child: child 9516(0x1C8) died before initialization with status code 0x0
9608 [main] sh 9436 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
avr-gcc -mmcu=atmega128 -Wall -gdwarf-2 -Os -std=gnu99 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT myProject.o -MF dep/myProject.o.d -c ../myProject.c
../myProject.c:9: fatal error: opening dependency file dep/myProject.o.d: No such file or directory
compilation terminated.
make: *** [myProject.o] Error 1
Build failed with 1 errors and 0 warnings...

I google it and found that i needed a patch, but inhttp://www.madwizard.org/electronics/articles/winavrvista it says that for thelatest vesrions of AVR Studio and WinAVR this is not needed.

I am using:
Windows Vista 64 bits
AVR Studio, version: 4.16.628
WinAVR - 20090313

Can you help me with this?

Best regards,

Ivan





The 2024 Embedded Online Conference