Forum: PC Hard- und Software WinAVR unter Windows 8.1 (64 bit)


von Biff T. (atmel_fan)


Lesenswert?

Hallo liebes Forum,

brauche dringend eure Hilfe!
Ich Habe immer mit WinAVR Programmiert... Das war aber noch auf Windows 
XP. Jetzt bin ich auf Windows 8.1 umgestiegen, und schon fangen die 
Probleme an:
1
> "make.exe" all
2
      0 [main] sh 6440 sync_with_child: child 6856(0x29C) died before initialization with status code 0xC0000142
3
  40485 [main] sh 6440 sync_with_child: *** child state waiting for longjmp
4
/usr/bin/sh: fork: Resource temporarily unavailable
5
      0 [main] sh 5668 sync_with_child: child 4040(0x29C) died before initialization with status code 0xC0000142
6
  28175 [main] sh 5668 sync_with_child: *** child state waiting for longjmp
7
/usr/bin/sh: fork: Resource temporarily unavailable
8
9
-------- begin --------
10
avr-gcc (WinAVR 20100110) 4.3.3
11
Copyright (C) 2008 Free Software Foundation, Inc.
12
This is free software; see the source for copying conditions.  There is NO
13
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
15
Compiling C: main.c
16
avr-gcc -c -mmcu=atmega8 -I. -gdwarf-2 -DF_CPU=UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=./main.lst  -std=gnu99 -MMD -MP -MF .dep/main.o.d main.c -o main.o 
17
main.c:8: fatal error: opening dependency file .dep/main.o.d: No such file or directory
18
compilation terminated.
19
make.exe: *** [main.o] Error 1
20
21
> Process Exit Code: 2
22
> Time Taken: 00:04


Nach informieren über diesen Fehler habe ich die Datei "msys-1.0.dll" 
durch eine 64 bit Version (Vista...) ersetzt.
Die Fehler wurden weniger:
1
> "make.exe" all
2
AllocationBase 0x71540000, BaseAddress 0x71540000, RegionSize 0x1000, State 0x1000
3
C:\WinAVR\utils\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
4
AllocationBase 0x71540000, BaseAddress 0x71540000, RegionSize 0x1000, State 0x1000
5
C:\WinAVR\utils\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
6
7
-------- begin --------
8
avr-gcc (WinAVR 20100110) 4.3.3
9
Copyright (C) 2008 Free Software Foundation, Inc.
10
This is free software; see the source for copying conditions.  There is NO
11
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
13
AllocationBase 0x71540000, BaseAddress 0x71540000, RegionSize 0x1000, State 0x1000
14
C:\WinAVR\utils\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
15
make.exe: *** [sizebefore] Error 1
16
17
> Process Exit Code: 2
18
> Time Taken: 00:03

Trotzdem werde ich daraus nicht schlau!
Zur Info, ich habe keine Leerzeichen im pfard
"C:\WinAVR\..."

Was mache Ich falsch?

von auch nich schlauer (Gast)


Lesenswert?

würde mich auch mal interessieren wie man winAvr auf windows 8 zum 
laufen bringt.

von Rudolph (Gast)


Lesenswert?

Ähm, ein Anfang könnte sein den aktuellen Compiler zu benutzen?

https://gallery.atmel.com/Products/Details/fc38b14b-c4ce-49a8-a18a-b46c3effb2d0

von Bernd F. (befu)


Angehängte Dateien:

Lesenswert?

Meine Installation von WinAVR-20100110 auf Windows8.1 (64bit) zeigte 
ähnliche Fehler:
> "make.exe" clean
      0 [main] sh 788 sync_with_child: child 4696(0x150) died before 
initialization with status code 0xC0000142
  43369 [main] sh 788 sync_with_child: *** child state waiting for 
longjmp
/usr/bin/sh: fork: Resource temporarily unavailable

-------- begin --------

Cleaning project:
rm -f led.hex
rm -f led.eep
rm -f led.cof
rm -f led.elf
rm -f led.map
rm -f led.sym
rm -f led.lss
rm -f led.o
rm -f led.lst
rm -f led.s
rm -f led.d
rm -f .dep/*
make.exe: *** [clean_list] Error -1073741502

> Process Exit Code: 2
> Time Taken: 00:04

In http://www.avrfreaks.net/forum/windows-81-compilation-error ist eine 
Lösung des Problems beschrieben: Die Installation der beigefügten 
(64bit) "msys-1.0.dll" unter winavr\utils\bin\

Viel Erfolg,

BeFu

von Anthony Kim (Gast)


Lesenswert?

Installation of the useless 'msys-1.0-vista64.zip'.
Error occurs continuously intermittently.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.