Error while compiling

Discussions and support about ChibiStudio, the free development environment for ARM.
dhruvin91
Posts: 12
Joined: Tue Oct 01, 2013 8:50 am

Error while compiling

Postby dhruvin91 » Thu Jan 16, 2014 12:06 am

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

User avatar
Giovanni
Site Admin
Posts: 10462
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 249 times
Been thanked: 220 times
Contact:

Re: Error while compiling

Postby Giovanni » Thu Jan 16, 2014 9:32 am

Sorry, I never seen that error before. Is it one of the normal Makefile projects or a CDT project?

Giovanni

dhruvin91
Posts: 12
Joined: Tue Oct 01, 2013 8:50 am

Re: Error while compiling

Postby dhruvin91 » Thu Jan 16, 2014 4:13 pm

Its a normal makefile project.

User avatar
kreyl
Posts: 58
Joined: Sun Jan 13, 2013 11:46 pm
Been thanked: 3 times
Contact:

Re: Error while compiling

Postby kreyl » Thu Jan 23, 2014 1:31 pm

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.

dhruvin91
Posts: 12
Joined: Tue Oct 01, 2013 8:50 am

Re: Error while compiling

Postby dhruvin91 » Mon Jan 27, 2014 4:38 am

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.

User avatar
Giovanni
Site Admin
Posts: 10462
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 249 times
Been thanked: 220 times
Contact:

Re: Error while compiling

Postby Giovanni » Mon Jan 27, 2014 9:27 am

Thanks for the hint.

Giovanni

dhruvin91
Posts: 12
Joined: Tue Oct 01, 2013 8:50 am

Re: Error while compiling

Postby dhruvin91 » Mon Feb 03, 2014 2:01 am

No problem.
BTW this problem only occures on windows 8.1.

mansour
Posts: 4
Joined: Wed Jun 05, 2013 4:08 pm

Re: Error while compiling

Postby mansour » Tue Jun 03, 2014 8:04 pm

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

User avatar
Giovanni
Site Admin
Posts: 10462
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 249 times
Been thanked: 220 times
Contact:

Re: Error while compiling

Postby Giovanni » Tue Jun 03, 2014 9:27 pm

I took the DLL from the MinGW web site, does that DLL have a different source?

Giovanni

mansour
Posts: 4
Joined: Wed Jun 05, 2013 4:08 pm

Re: Error while compiling

Postby mansour » Fri Jun 13, 2014 5:27 am

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


Return to “ChibiStudio”

Who is online

Users browsing this forum: No registered users and 0 guests