Blog

   

WinAVR compilation error on Windows 8.1

Problem:

After upgrading Windows 8(64bit)to 8.1 version, when try to compile project in AvrStudio 4 (WINAVR20100110) I get error:

0 [main] sh 2312 sync_with_child: child 4744(0x14C) died before initialization with status code 0xC0000142
73796 [main] sh 2312 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
rm -rf main.o test.elf dep/* test.hex test.eep test.lss test.map
make: [clean] Error -1073741502 (ignored)
Build succeeded with 0 Warnings…
0 [main] sh 1484 sync_with_child: child 2300(0x14C) died before initialization with status code 0xC0000142
64185 [main] sh 1484 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
avr-gcc -mmcu=atmega644pa -Wall -gdwarf-2 -std=gnu99 -DF_CPU=3686400UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT main.o -MF dep/main.o.d -c ../main.c
../main.c:57: fatal error: opening dependency file dep/main.o.d: No such file or directory
compilation terminated.
make: *** [main.o] Error 1
Build failed with 1 errors and 0 warnings…

Before Windows upgrading compilation was correct.

Solution:

Copy this file:

http://www.madwizard.org/download/electronics/msys-1.0-vista64.zip

to utils\bin directory (WinAVR)

3 Comments

  • eebest8

    Very informative blog.Really looking forward to read more. Really Cool.

    Reply
  • click site

    Hey, thanks for the blog article.Much thanks again. Really Great.

    Reply
  • Karan Sharma

    Thanx a lot, i wasted so much time working on this error.

    Reply

Post A Comment

error: Context Menu disabled!