Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Build fails with AVR Studio and WinAVR

2009-07-12 by Ivan Gomez

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 <avr/io.h>
int main(void)
{
  DDRB = 0xFF;
  while (1)
  {
     PORTB = PIND;
  }
}

But when I 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 in http://www.madwizard.org/electronics/articles/winavrvista   it says that foe latest 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


      

[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.