cancel
Showing results for 
Search instead for 
Did you mean: 

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

aurelien23
Senior
Posted on July 07, 2014 at 17:51

Hi,

I hope this error is common for Eclipse users...

Directly after installing SPC5 Studio V3 and setting up the one-year licence, I'm able to get all SPC56EL60L5 examples from the SPC5 Studio Wizard working (on the board, CAN not in loop mode, ADC...). But it seems that I click somewhere I should not because it always ends after some time (PC reboot, app restart...) with the below compiler errors. My target is SPC56EL60L5. I also noticed that the Wizard is not available anymore (File->New and toolbars).

It sometimes compiles again after reboot, or combinaison of clear project/generate/build... I can't get it...

The make command in a DOS window returned the error ''libintl3.dll is missing'' so I installed it. Now the command ''make --version'' gives:

GNU Make 3.81

Copyright (C) 2006 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.

There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

PARTICULAR PURPOSE.

This program built for i386-pc-mingw32

Is it correct? mingw32??? is it coming from the dll I found?

This is the SPC5 Studio output console (same for my projet and all Wizard examples...). The object files are effectively not generated (build/obj folder empty). Any help is welcome.

14:12:13 **** Build of configuration Default for project TRUNK ****

make -j4 all

Compiling boot.s

Compiling crt0.s

process_begin: CreateProcess(NULL, ppc-vle-gcc -x assembler-with-cpp -c -mcpu=e200zx -meabi -msdata=none -mnew-mnemonics -mregnames -mvle -Wa,-amhls=build/lst/boot.lst -DPPC_USE_VLE=1 -MD -MP -MF .dep/boot.o.d -I. -IC:/SPC5Studio/eclipse/plugins/org.chibios.spc5.components.spc5hal_1.0.0.201405131114/component/lib/include -IC:/SPC5Studio/eclipse/plugins/org.chibios.spc5.components.hal.platform.spc56elxx_1.0.0.201405131114/component/lib/include -IC:/SPC5Studio/eclipse/plugins/org.chibios.spc5.components.osal.spc56elxx_1.0.0.201405131114/component/lib/include -I./components/spc56elxx_platform_component/cfg -I./components/portable_spc5_hal_component/cfg -I./components/spc56elxx_hal_board_initialization_component/cfg -I./components/spc56elxx_hal_drivers_component/cfg -I./components/spc56elxx_osal_component/cfg -I./components C:/SPC5Studio/eclipse/plugins/com.st.tools.spc5.components.platform.spc56elxx_1.0.0.201405131114/component/lib/src/boot.s -o build/obj/boot.o, ...) failed.

make (e=2): Le fichier spécifié est introuvable.

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

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

process_begin: CreateProcess(NULL, ppc-vle-gcc -x assembler-with-cpp -c -mcpu=e200zx -meabi -msdata=none -mnew-mnemonics -mregnames -mvle -Wa,-amhls=build/lst/crt0.lst -DPPC_USE_VLE=1 -MD -MP -MF .dep/crt0.o.d -I. -IC:/SPC5Studio/eclipse/plugins/org.chibios.spc5.components.spc5hal_1.0.0.201405131114/component/lib/include -IC:/SPC5Studio/eclipse/plugins/org.chibios.spc5.components.hal.platform.spc56elxx_1.0.0.201405131114/component/lib/include -IC:/SPC5Studio/eclipse/plugins/org.chibios.spc5.components.osal.spc56elxx_1.0.0.201405131114/component/lib/include -I./components/spc56elxx_platform_component/cfg -I./components/portable_spc5_hal_component/cfg -I./components/spc56elxx_hal_board_initialization_component/cfg -I./components/spc56elxx_hal_drivers_component/cfg -I./components/spc56elxx_osal_component/cfg -I./components C:/SPC5Studio/eclipse/plugins/com.st.tools.spc5.components.platform.spc56elxx_1.0.0.201405131114/component/lib/src/crt0.s -o build/obj/crt0.o, ...) failed.

Compiling ivor.s

Compiling vectors.s

make (e=2): Le fichier spécifié est introuvable.

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

process_begin: CreateProcess(NULL, ppc-vle-gcc -x assembler-with-cpp -c -mcpu=e200zx -meabi -msdata=none -mnew-mnemonics -mregnames -mvle -Wa,-amhls=build/lst/ivor.lst -DPPC_USE_VLE=1 -MD -MP -MF .dep/ivor.o.d -I. -IC:/SPC5Studio/eclipse/plugins/org.chibios.spc5.components.spc5hal_1.0.0.201405131114/component/lib/include -IC:/SPC5Studio/eclipse/plugins/org.chibios.spc5.components.hal.platform.spc56elxx_1.0.0.201405131114/component/lib/include -IC:/SPC5Studio/eclipse/plugins/org.chibios.spc5.components.osal.spc56elxx_1.0.0.201405131114/component/lib/include -I./components/spc56elxx_platform_component/cfg -I./components/portable_spc5_hal_component/cfg -I./components/spc56elxx_hal_board_initialization_component/cfg -I./components/spc56elxx_hal_drivers_component/cfg -I./components/spc56elxx_osal_component/cfg -I./components C:/SPC5Studio/eclipse/plugins/org.chibios.spc5.components.osal.spc56elxx_1.0.0.201405131114/component/lib/src/ivor.s -o build/obj/ivor.o, ...) failed.

make (e=2): Le fichier spécifié est introuvable.

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

process_begin: CreateProcess(NULL, ppc-vle-gcc -x assembler-with-cpp -c -mcpu=e200zx -meabi -msdata=none -mnew-mnemonics -mregnames -mvle -Wa,-amhls=build/lst/vectors.lst -DPPC_USE_VLE=1 -MD -MP -MF .dep/vectors.o.d -I. -IC:/SPC5Studio/eclipse/plugins/org.chibios.spc5.components.spc5hal_1.0.0.201405131114/component/lib/include -IC:/SPC5Studio/eclipse/plugins/org.chibios.spc5.components.hal.platform.spc56elxx_1.0.0.201405131114/component/lib/include -IC:/SPC5Studio/eclipse/plugins/org.chibios.spc5.components.osal.spc56elxx_1.0.0.201405131114/component/lib/include -I./components/spc56elxx_platform_component/cfg -I./components/portable_spc5_hal_component/cfg -I./components/spc56elxx_hal_board_initialization_component/cfg -I./components/spc56elxx_hal_drivers_component/cfg -I./components/spc56elxx_osal_component/cfg -I./components C:/SPC5Studio/eclipse/plugins/org.chibios.spc5.components.osal.spc56elxx_1.0.0.201405131114/component/lib/src/vectors.s -o build/obj/vectors.o, ...) failed.

make (e=2): Le fichier spécifié est introuvable.

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

14:12:17 Build Finished (took 3s.541ms)

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
7 REPLIES 7
Erwan YVIN
ST Employee
Posted on July 07, 2014 at 18:33

Hello Aurelien ,

Warning , The CMD MS-DOS can access to another make (Cygwin or Others IDEs) ..

SPC5Studio has its own make.

For your information , the gnu make is present is in this following directory :

c:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.gnu_1.0.0.201306281422\gnutools\libiconv-2.dll

c:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.gnu_1.0.0.201306281422\gnutools\libintl-8.dll

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

our version is below :

$ ./make.exe --version

GNU Make 3.82

Built for i386-pc-mingw32

Copyright (C) 2010  Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

According to your logs , the problem is not linked to the Make but the compiler which not find the file boot.s and crt0.s

If the Activity wizard is not present anymore… maybe, you have left the Perspective SPC5Studio.

First , You can Open the perspective SPC5Studio by using the menu Windows

è

Open Perspective

è

Other (SPC5Studio)

You should notice the activity wizard on the right :

From this point :

STEP1 : clean your project and

remove manually the Components directory

(if still exist)

STEP2:  Generate your project after selecting configuration.xml

STEP3 : Compile the project

if the problem persists, you can try in switching the workspace ..

If the problem persists , could you give us your installation details ?

Help

è

About SPC5Studio

è

Installation Details

   Best regards

                     Erwan

aurelien23
Senior
Posted on July 08, 2014 at 13:45

No changes, even tried to switch workspace. It still compiles sometimes after restart or reboot, but not systematically after cleaning/deleting comp/generating.

Please find my installation details attached.

________________

Attachments :

install_details.txt : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I09g&d=%2Fa%2F0X0000000baQ%2FPKRqyj3kkoioFtz49M5dEHYhQO9Vutrl_W0hXfO9C4c&asPdf=false
Erwan YVIN
ST Employee
Posted on July 08, 2014 at 15:10

Hello , 

Sorry for the issue ,

1) Could you check if the *.s  files (crt0.s and boot.s) are well present in the directory 

C:/SPC5Studio/eclipse/plugins/com.st.tools.spc5.components.platform.spc56elxx_1.0.0.201405131114/component/lib/src/ ??

2) Normally , there are some updates available for all the SPC5Studio components you can update it by using ''check update''

    Warning : if your company has a proxy , do not forget to set the proxy in Windows ==> Preferences ==> Network connections (HTTP and HPPTS only)

When the problem occured :

3) Could you check your Path in Environment (C/C++ ==> Build ==> Envirronment) 

    Select Path and check the variables ..

    You should have C:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.hightec_1.0.0.201306281422\hightec\ppc-ht-eabi\bin;C:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.hightec_1.0.0.201306281422\hightec\bin;C:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.gnu_1.0.0.201306281422\gnutools;

you should not use some others make.exe

    Best Regards

                Erwan

Erwan YVIN
ST Employee
Posted on July 08, 2014 at 16:48

Re ,

I am checking your Installation details

You have your own gnu make in Java Path

C:\litronic\tools\gnu_make\bin

in SPC5Studio 3.0.3.xxxxxxxx. We have upgraded to prevent from some conflicts with others installed gnu make

I advice you to update SPC5Studio by using the official update site ..

(See the screenshot in attachment)

Best Regards

Erwan

________________

Attachments :

2014-07-08_164116.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qWUQ&d=%2Fa%2F0X0000000boK%2FdPBrTd0K0PU3jJY2f6btI3WQXlUKHjggneWUHNF7zaI&asPdf=false
aurelien23
Senior
Posted on July 09, 2014 at 17:38

1) Yes the files are there

2) Even with proxy configured, the check update take a while (1h) to finally say that no connection were found. Is there another way to update the modules?

3) In Environment no Path variable was set, so I added one and since then it seems to compile correctly all the time!

Conclusion: system Path must be modified during installation or the project has to define its own Path.

Thank you for the fast support!
Erwan YVIN
ST Employee
Posted on July 10, 2014 at 09:58

Hello Aurelien ,

About your update issue,

it is not your fault

A lot of proxy do not support SOCKS via ECLIPSE

Set just HTTP and HTTPS proxy in manual

Do not set the SOCKS Proxy. (let BLANK in SOCKS configuration)

(Cf attachment)

Let me know if it solves the problem.

Some minor issues are corrected via update site.

Best regards

Erwan

________________

Attachments :

2014-07-10_095433.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qWGZ&d=%2Fa%2F0X0000000bo8%2FbF_72etjzv1.MqIaHppJlIGmjqtfZ_MOAk1ejNsnyko&asPdf=false
aurelien23
Senior
Posted on July 10, 2014 at 11:54

Hello,

I forgot to specify the domain name before my user name. Now it connects, display all updates, I accept but I'm getting read errors. Please see the file attached.

________________

Attachments :

An_error_occurred_while_collecting_items_to_be_installed.txt : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qUoT&d=%2Fa%2F0X0000000bnn%2F_UfdPjDBkZMmceLpOtCKzh4rGHZO9Ya7t.tc2QcXq90&asPdf=false