cancel
Showing results for 
Search instead for 
Did you mean: 

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

paolo2
Associate II
Posted on December 14, 2014 at 23:41

Hello Mr. Erwan

Even if y environment path variable is correct (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;), when I compile SP5Studio replies with the following error:

=====================================

23:32:43 **** Incremental Build of configuration Default for project SPC56ELxx OS-Less Test Application for DiscoveryPlus ****

make -j8 all

AllocationBase 0x0, BaseAddress 0x71590000, RegionSize 0x3A0000, State 0x10000

C:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.gnu_1.0.0.201306281422\gnutools\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

AllocationBase 0x0, BaseAddress 0x71590000, RegionSize 0x3A0000, State 0x10000

C:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.gnu_1.0.0.201306281422\gnutools\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

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

 

23:32:44 Build Finished (took 750ms)

===============================

In the attached file MyConfiguration.txt i copied my configuration details.

I have also another question:

I still have the version 3.0.0,  but when i Click on ''Install New Software'', this is the reply:

''Cannot complete the request.  See the error log for details.

''ChibiOS/RT free embedded RTOS for SPC560B/Cxx Components'' will be ignored because it is already installed.

''ChibiOS/RT free embedded RTOS for SPC560Bxx Components'' will be ignored because it is already installed.

''ChibiOS/RT free embedded RTOS for SPC560Dxx Components'' will be ignored because it is already installed.

''ChibiOS/RT free embedded RTOS for SPC560Pxx Components'' will be ignored because it is already installed.

''ChibiOS/RT free embedded RTOS for SPC563Mxx Components'' will be ignored because it is already installed.

''ChibiOS/RT free embedded RTOS for SPC564Axx Components'' will be ignored because it is already installed.

''ChibiOS/RT free embedded RTOS for SPC56E/Cxx Components'' will be ignored because it is already installed.

''ChibiOS/RT free embedded RTOS for SPC56ELxx Components'' will be ignored because it is already installed.

''ChibiOS/RT Portable Components'' will be ignored because it is already installed.

''NIL RTOS for SPC560Dxx Components'' will be ignored because it is already installed.

''SPC5-CRYPTO SPC56ECxx CSE Driver Components'' will be ignored because it is already installed.

''SPC5Studio Application Wizard'' will be ignored because it is already installed.

''SPC5Studio Feature'' will be ignored because it is already installed.

''SPC56XXX Flash driver components'' will be ignored because it is already installed.

''SPC5-HAL Portable Components'' will be ignored because it is already installed.

''SPC5-HAL SPC560BCxx Components'' will be ignored because it is already installed.

''SPC5-HAL SPC560Bxx Components'' will be ignored because it is already installed.

''SPC5-HAL SPC560Dxx Components'' will be ignored because it is already installed.

''SPC5-HAL SPC560Pxx Components'' will be ignored because it is already installed.

''SPC5-HAL SPC563Mxx Components'' will be ignored because it is already installed.

''SPC5-HAL SPC564Axx Components'' will be ignored because it is already installed.

''SPC5-HAL SPC56ECxx Components'' will be ignored because it is already installed.

''SPC5-HAL SPC56ELxx Components'' will be ignored because it is already installed.

''PinMap Wizard'' will be ignored because it is already installed.'',

and when i click on ''Check for Updates'' the reply is ''No updates were found''.

My software sites list are shown in the attachement ''swsites.png''.

What should i do?

BEst regards

Paolo MEnoni

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
4 REPLIES 4
Erwan YVIN
ST Employee
Posted on December 15, 2014 at 10:13

Hello Paolo ,

Your installation is good ;)

you have already installed the latest SPC5Studio features & plugins.

About your cygwin issue .. could you give your details environment ?

If you are on Windows 8,

Could you follow these posts ?

[DEAD LINK /public/STe2ecommunities/mcu/Lists/SPC5%20Studio/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/SPC5%20Studio/Can%27t%20compile%20on%20Windows%208.1&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000FD9491D9DABD2C41A6FBA74C0102309E&TopicsView=https%3a//my.st.com/public/STe2ecommunities/mcu/Lists/SPC5%2520Studio/AllItems.aspx&currentviews=68]https://my.st.com/public/STe2ecommunities/mcu/Lists/SPC5%20Studio/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSPC5%20Studio%2fCan%27t%20compile%20on%20Windows%208%2e1&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000FD9491D9DABD2C41A6FBA74C0102309E&TopicsView=https%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSPC5%2520Studio%2FAllItems%2Easpx&currentviews=68

   Best Regards

                               Erwan

paolo2
Associate II
Posted on December 15, 2014 at 12:51

Hello,

I have windows 7 professional, as you see opening the attached scrrenshot ''myso.png''.

Have i to follow in any case your instructions for win8?

Best regards.

Paolo Menoni

________________

Attachments :

mySO.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qXwV&d=%2Fa%2F0X0000000bou%2FYWrmTb6nNAU_2.eVmyBOvNpn113ystrT6_Zz3YHUAhs&asPdf=false
Erwan YVIN
ST Employee
Posted on December 15, 2014 at 14:08

Hello Paolo ,

Cygwin ''gnutools'' plugins  uses persistent shared memory sections.

it should compliant for Windows 7 64 Bits

2 Solutions :

1) Reboot your computer

2) a try :

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

After renaming ''msys-1.0.dll'' into msys-1.0.dll.old'' , Could you replace ''msys-1.0.dll'' by the file put in attachment.

Best regards

Erwan

Erwan YVIN
ST Employee
Posted on December 15, 2014 at 14:09

Hello Paolo ,

Cygwin ''gnutools'' plugins uses persistent shared memory sections.

it should compliant for Windows 7 64 Bits

2 Solutions :

1) Reboot your computer

2) a try :

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

After renaming ''msys-1.0.dll'' into msys-1.0.dll.old'' , Could you replace ''msys-1.0.dll'' by the file put in attachment.

Best regards

Erwan

________________

Attachments :

msys-1.0.dlltorename : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qbEb&d=%2Fa%2F0X0000000bpG%2Fp8LCOpCKYQaoCeHu9ngsFXhwoOS9akhhhXA8qZaqnuc&asPdf=false