cancel
Showing results for 
Search instead for 
Did you mean: 

.text size overflow (1581) - cosmic

scott239955_stm1
Associate
Posted on August 29, 2011 at 15:26

Hi Everybody,

I have some problem with my linker, and I don't know how to fix it. Can somebody help?? I'm new to this.

Running Linker

clnk -l''C:\Program Files (x86)\STMicroelectronics\STM8S_StdPeriph_Lib_V2.0.0\Libraries\STM8S_StdPeriph_Driver\src''  -o debug\stm8s103.sm8 -l''..\..\..\..\..\program files\cosmic\cxstm8_16k\lib'' -l''..\..\..\..\..\..\program files (x86)\cosmic\cxstm8_16k\lib'' -mdebug\stm8s103.map debug\stm8s103.lkf 

&sharperror clnk debug\stm8s103.lkf:1 segment .text size overflow (1581)

 The command: ''clnk -l''C:\Program Files (x86)\STMicroelectronics\STM8S_StdPeriph_Lib_V2.0.0\Libraries\STM8S_StdPeriph_Driver\src''  -o debug\stm8s103.sm8 -l''..\..\..\..\..\program files\cosmic\cxstm8_16k\lib'' -l''..\..\..\..\..\..\program files (x86)\cosmic\cxstm8_16k\lib'' -mdebug\stm8s103.map debug\stm8s103.lkf '' has failed, the returned value is: 1

exit code=1.

stm8s103.elf - 2 error(s), 0 warning(s)

All fixed now, silly me. :D

#size-overflow
3 REPLIES 3
PeppeST
ST Employee
Posted on February 15, 2012 at 17:29

Someone can  help?

bspeers
Associate
Posted on May 09, 2012 at 15:38

I'm having the same problem. What exactly did you do to correct it.

pedro23
Senior
Posted on May 29, 2012 at 18:15

Read my message, the problem is cosmic compiler

[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM8Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM8Discovery/Cosmic or the worse compilatorlinker ever programmed&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580004008F0975979A844820611B699DF2ED1&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM8Discovery/AllItems.aspx&currentviews=0] https://my.st.com/public/STe2ecommunities/mcu/Lists/STM8Discovery/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSTM8Discovery%2fCosmic%20or%20the%20worse%20compilatorlinker%20ever%20programmed&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580004008F0975979A844820611B699DF2ED1...