Page 1 of 2

Error while compiling

Posted: Thu Jan 16, 2014 12:06 am
by dhruvin91
Hi,
I am working with a chibios project on ChibiStudio framework. The project I have used to compile but today for omereason it started giving me error.
I have copied the console below. Does anyone know how to fix this?
Thank you.

Code: Select all

18:03:10 **** Incremental Build of configuration Default for project Chibi_proj ****
make -j4 all
      0 [main] sh 5396 sync_with_child: child 5672(0x184) died before initialization with status code 0xC0000142
     20 [main] sh 5396 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
Creating build/ch.dmp
      0 [main] sh 6040 sync_with_child: child 4648(0x178) died before initialization with status code 0xC0000142
     22 [main] sh 6040 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
make: *** [build/ch.dmp] Error 128

Re: Error while compiling

Posted: Thu Jan 16, 2014 9:32 am
by Giovanni
Sorry, I never seen that error before. Is it one of the normal Makefile projects or a CDT project?

Giovanni

Re: Error while compiling

Posted: Thu Jan 16, 2014 4:13 pm
by dhruvin91
Its a normal makefile project.

Re: Error while compiling

Posted: Thu Jan 23, 2014 1:31 pm
by kreyl
I have the same issue on both my Windows 8.1 x64 computers, though it works correctly on Windows 7 x64 one.
I discovered that all works ok if I launch eclipse.exe (having PATH tuned appropriately in System Environment Variables, this is not the case), and does not if launching .bat file.
All is the same with freshly-downloaded Eclipse (KEPLER), tools etc.
UAC disabled.
Launching as administrator prevents setting Path variable (somehow, I did not dig through this).
Googling still was not successful.

Re: Error while compiling

Posted: Mon Jan 27, 2014 4:38 am
by dhruvin91
Okay so I found a solution.
The problem is similar to a problem in vista x64 os.
I downloaded following zip file,
http://www.madwizard.org/download/electronics/msys-1.0-vista64.zip
extracted msys-1.0.dll and pasted it to ChibiStudio\tools\yagarto-tools\bin. After that project worked normally.

Re: Error while compiling

Posted: Mon Jan 27, 2014 9:27 am
by Giovanni
Thanks for the hint.

Giovanni

Re: Error while compiling

Posted: Mon Feb 03, 2014 2:01 am
by dhruvin91
No problem.
BTW this problem only occures on windows 8.1.

Re: Error while compiling

Posted: Tue Jun 03, 2014 8:04 pm
by mansour
Hi
A have found this problem in chibios preview 6 aswel. This problem was a real headache and it was immediatly solved when i replaced msys-1.0.dll in C:\ChibiStudio\tools\gnutools\bin with the one provided by dhruvin91's post.


Thanks for the hint,

Omar

Re: Error while compiling

Posted: Tue Jun 03, 2014 9:27 pm
by Giovanni
I took the DLL from the MinGW web site, does that DLL have a different source?

Giovanni

Re: Error while compiling

Posted: Fri Jun 13, 2014 5:27 am
by mansour
Hi Giovani,
I used the link http://www.madwizard.org/download/elect ... ista64.zip which dhruvin91 had given in his post.
Only the file date is different from the one in chibistudio and i could not trace the differences. Could it be a 32bit versus 64bit compilation difference?
I am using windows 8.1

Omar