EmbDev.net

Forum: µC & Digital Electronics Compiling for transistor tester - 1.34m


Author: Robert (Guest)
Posted on:

Rate this post
0 useful
not useful
Have never compiled anything before, use ladyadas guide to install 
winavr.

I get the following when i try to 'make'...

H:\Electronics\ComponentTester-1.34m>make
      0 [main] sh 228 sync_with_child: child 14724(0x1B8) died before 
initialization with status code 0xC0000142
     91 [main] sh 228 sync_with_child: *** child state waiting for 
longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
avr-gcc -mmcu=atmega328 -Wall -mcall-prologues -I. -Ibitmaps 
-DF_CPU=8000000UL -DOSC_STARTUP=16384 -gdwarf-2 -std=gnu99 -Os 
-funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP 
-MT main.o -MF dep/main.o.d -c main.c
main.c:1886: fatal error: opening dependency file dep/main.o.d: No such 
file or directory
compilation terminated.
make: *** [main.o] Error 1



..... Any ideas where i might be going wrong?

googling "/usr/bin/sh: fork: Resource temporarily unavailable" mentions 
issues with something running in windows Vista, i'm on Win10 if it makes 
any difference.

Any assistance appreciated.

Author: Niklas G. (erlkoenig)
Posted on:

Rate this post
0 useful
not useful
This is a problem with your make.exe and actually has nothing to do with 
the transistor tester. Try to use a different make. For me, this one has 
always worked well:

https://github.com/gnu-mcu-eclipse/windows-build-t...

Despite being intended for usage with eclipse & ARM or RISC, it is 
actually independent of that and should work for AVR just as well.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig