Yahoo Groups archive

AVR-Chat

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

Thread

Build fails with AVR Studio and WinAVR

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]

Re: [AVR-Chat] Build fails with AVR Studio and WinAVR

2009-07-12 by John Samperi

At 10:27 AM 12/07/2009, you wrote:
>I google it and found that i needed a patch,

Why don't you post thin on this GCC forum at avrfreaks.net?

Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

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.