This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

error #10010: errors encountered during linking;

Other Parts Discussed in Thread: MSP430G2553

Hi great ti family

First of all I wish good and health days,

I really need help,the errors and warning as follows,

error #10198-D: no input section is linked in
warning #10202-D: no suitable entry-point found; setting to 0
error #10010: errors encountered during linking; "C:\Users\A\D\A\N\A\M\deneme09042021Test.out" not built
Process exited with code: 1 (error).

I am not really good at with this stuffs could you please explain briefly?

Thanks a lot.

Best regards,

  • This diagnostic ...

    error #10198-D: no input section is linked in

    ... usually means no object files are supplied as input to the linker. 

     Which TI device do you build for?  It is probably better to start with an example from software development kit for that device.

    Thanks and regards,

    -George

  • I am using msp430g2553 and also examples from software development kit for msp430 are working well.

  • Does this mean you have resolved the problem you describe in the first post?

    Thanks and regards,

    -George

  •  No , I did not solve the problem.

    Here is the some part of the logs as follows,

    <Linking>
    "C:\Users\berkant.alabas\workspace_v8\adana\lnk_msp430g2553.cmd", line 96: error #10099-D:
    program will not fit into available memory. placement with alignment fails
    for section ".text" size 0x658a . Available memory ranges:
    FLASH size: 0x3fde unused: 0x39a6 max hole: 0x39a6
    "C:\Users\berkant.alabas\workspace_v8\adana\lnk_msp430g2553.cmd", line 90: error #10099-D:
    program will not fit into available memory. run placement with alignment
    fails for section ".bss" size 0xa90 . Available memory ranges:
    RAM size: 0x200 unused: 0x0 max hole: 0x0
    "C:\Users\berkant.alabas\workspace_v8\adana\lnk_msp430g2553.cmd", line 91: error #10099-D:
    program will not fit into available memory. run placement with alignment
    fails for section ".data" size 0x22a . Available memory ranges:
    RAM size: 0x200 unused: 0x0 max hole: 0x0
    "C:\Users\berkant.alabas\workspace_v8\adana\lnk_msp430g2553.cmd", line 93: error #10099-D:
    program will not fit into available memory. run placement with alignment
    fails for section ".sysmem" size 0x200 . Available memory ranges:
    RAM size: 0x200 unused: 0x0 max hole: 0x0
    "C:\Users\berkant.alabas\workspace_v8\adana\lnk_msp430g2553.cmd", line 100: error #10099-D:
    program will not fit into available memory. run placement with alignment
    fails for section ".cio" size 0x120 . Available memory ranges:
    RAM size: 0x200 unused: 0x0 max hole: 0x0
    error #10010: errors encountered during linking;
    "C:\Users\berkant.alabas\workspace_v8\.cpptest\adana\unit-data\current_tubf
    179707\adanaTest.out" not built

    I think the problem the size of the heap and stack . Default values of the heap and stack is 80 and I need at least 1.5K heap and 4K stack then I try to change this to 1.5k and 4k but after the building I have got the same error. Do you have any idea.

    Thank you,

    Best regards,

    BA

  • It appears your program is too large for this device.  For instance ...

    "C:\Users\berkant.alabas\workspace_v8\adana\lnk_msp430g2553.cmd", line 96: error #10099-D:
    program will not fit into available memory. placement with alignment fails
    for section ".text" size 0x658a . Available memory ranges:
    FLASH size: 0x3fde unused: 0x39a6 max hole: 0x39a6

    The .text section holds all of your code, which is 0x658a bytes.  The total amount of FLASH memory is 0x3fde bytes.

    Another instance ... 

    "C:\Users\berkant.alabas\workspace_v8\adana\lnk_msp430g2553.cmd", line 90: error #10099-D:
    program will not fit into available memory. run placement with alignment
    fails for section ".bss" size 0xa90 . Available memory ranges:
    RAM size: 0x200 unused: 0x0 max hole: 0x0

    The .bss section holds global variables, which is 0xa90 bytes.  The total amount of RAM is 0x200 bytes.  It is completely used up by one or more other sections.

    Thanks and regards,

    -George

  • This means my target is not suitable .Right?

    Thanks again,

    Regards,

    -BERKANT Slight smile

  • I think you're right.  That said, I'm not an expert on choosing the best device for your application.  I recommend you start a new thread on that topic in the MSP430 device forum.

    Thanks and regards,

    -George

  • Thanks ,

    Regards,

    -Berkant