Skip to main content
Visitor II
August 29, 2011
Question

.text size overflow (1581) - cosmic

  • August 29, 2011
  • 3 replies
  • 1192 views
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
    This topic has been closed for replies.

    3 replies

    Technical Moderator
    February 15, 2012
    Posted on February 15, 2012 at 17:29

    Someone can  help?

    Visitor II
    May 9, 2012
    Posted on May 09, 2012 at 15:38

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

    Visitor II
    May 29, 2012
    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&TopicsView=https%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTM8Discovery%2FAllItems%2Easpx&currentviews=0