cancel
Showing results for 
Search instead for 
Did you mean: 

fatal error: opening dependency file

mthaller9
Associate
Posted on September 13, 2014 at 20:39

Hi,

I have tried to

compile

an example

with the

SPC5Studio

Wizard

and

get the following

error

s:

20:36:34 **** Incremental Build of configuration Default for project ChibiOS-RT SPC56ELxx Test Application for DiscoveryPlus ****

make -j4 all

      0 [main] sh 1656 sync_with_child: child 3980(0x188) died before initialization with status code 0xC0000142

     14 [main] sh 1656 sync_with_child: *** child state waiting for longjmp

/bin/sh: fork: Resource temporarily unavailable

Compiling boot.s

Compiling crt0.s

Compiling ivor.s

Compiling vectors.s

C:/SPC5Studio/eclipse/plugins/com.st.tools.spc5.components.platform.spc56elxx_1.0.0.201409031447/component/lib/src/boot.s:26:0: fatal error: opening dependency file .dep/boot.o.d: No such file or directory

compilation terminated.

make: *** [build/obj/boot.o] Error 1

make: *** Waiting for unfinished jobs....

C:/SPC5Studio/eclipse/plugins/com.st.tools.spc5.components.platform.spc56elxx_1.0.0.201409031447/component/lib/src/crt0.s:1:0: fatal error: opening dependency file .dep/crt0.o.d: No such file or directory

C:/SPC5Studio/eclipse/plugins/org.chibios.spc5.components.kernel.port.gcc.spc56elxx_2.6.4.201409031447/component/lib/src/ivor.s:42:0: fatal error: opening dependency file .dep/ivor.o.d: No such file or directory

compilation terminated.

C:/SPC5Studio/eclipse/plugins/org.chibios.spc5.components.kernel.port.gcc.spc56elxx_2.6.4.201409031447/component/lib/src/vectors.s:1:0: fatal error: opening dependency file .dep/vectors.o.d: No such file or directory

compilation terminated.

compilation terminated.

make: *** [build/obj/ivor.o] Error 1

make: *** [build/obj/crt0.o] Error 1

make: *** [build/obj/vectors.o] Error 1

20:36:35 Build Finished (took 810ms)

The files are avaliabe in the directories.

OS: Windows 8.1, 64bit

very frustrating ;(

2 REPLIES 2
mthaller9
Associate
Posted on September 14, 2014 at 22:24

Update:

if i set the enviroment variables to ''replace native enviroment with specific one'' i get the follingwing error:

bash.exe: warning: could not find /tmp, please create!

Compiling boot.s

C:/SPC5Studio/eclipse/plugins/com.st.tools.spc5.components.platform.spc56elxx_1.0.0.201409031447/component/lib/src/boot.s:1:0: internal compiler error: initialising license system No license for product (-1) (Product: ppc-free-gcc, Version: 2013.01)

I also add the RLM_LICENSE (C:\SPC5Studio\licenses\) variable to the Enviroment settings

Erwan YVIN
ST Employee
Posted on September 15, 2014 at 11:35

Hello Virus2k,

Normally , you should have ''Append Variables to native environment'' not replace ''replace native enviroment with specific one''.

your environment variables should have :

==> RLM_LICENSE should contain c:\SPC5Studio\licences

Do you update your environment variables ?

do you copy the file ''licence.lic'' in c:\SPC5Studio\licences ?

licence.lic is linked to your MAC address

==> the PATH is selected by CDT Environment in SPC5STudio by default

Your first issue is a make error ..

make -j4 all 

      0 [main] sh 1656 sync_with_child: child 3980(0x188) died before initialization with status code 0xC0000142

     14 [main] sh 1656 sync_with_child: *** child state waiting for longjmp

/bin/sh: fork: Resource temporarily unavailable

if you click , 

on ''replace native enviroment with specific one'' (not recommended because with bad settings we can use an other make (cygwin for example) not compliant with our env)

You should use the make inside SPC5Studio not the cygwin make.

c:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.gnu_1.0.0.201306281422\gnutools\

for the compiler :

c:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.hightec_1.0.0.201306281422\hightec\bin\

Anyway , We are checking if there is a side effect on Windows 8.1.

   Best Regards

         Erwan