Atmel AVR Microcontroller discussion group.
[AVR club] Build failed on AVR Studio - Ivan Gomez - Jul 12 1:48:27 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)
{
=A0 DDRB =3D 0xFF;
=A0 while (1)
=A0 {
=A0=A0=A0=A0 PORTB =3D PIND;
=A0 }
}
But when=A0I run the Build I got the following:
Build started 11.7.2009 at 18:21:13
=A0=A0=A0=A0=A0 0 [main] sh 9436 sync_with_child: child 9516(0x1C8) died be=
fore initialization with status code 0x0
=A0=A0 9608 [main] sh 9436 sync_with_child: *** child state waiting for lon=
gjmp
/usr/bin/sh: fork: Resource temporarily unavailable
avr-gcc=A0 -mmcu=3Datmega128 -Wall -gdwarf-2 -Os -std=3Dgnu99 -funsigned-ch=
ar -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT myProject.o=
-MF dep/myProject.o.d=A0 -c=A0 ../myProject.c
../myProject.c:9: fatal error: opening dependency file dep/myProject.o.d: N=
o 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=A0http://www.madwizard.=
org/electronics/articles/winavrvista=A0=A0 it says that for the=A0latest ve=
srions of AVR Studio and WinAVR this is not needed.
I am using:
Windows Vista 64 bits
AVR Studio, version: 4.16.628
WinAVR - 20090313=A0
Can you help me with this?
Best regards,
Ivan
=20=20=20=20=20=20
[Non-text portions of this message have been removed]
------------------------------------
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )