This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SES linker error

Hello,

I've modified(added custom libraries) an existing example project from the SDK(v 15.3), and I'm trying to build and flash it.

The project compiles fine, but throws a bunch of linker errors as shown below:

Can someone help with where to begin with resolving these errors? I'm new to firmware development.

Parents
  • After a lot of rework, I've managed to eliminate compiler and linker errors, but the Build still fails.



     Can someone explain what I might need to do?

    Thanks

Reply
  • After a lot of rework, I've managed to eliminate compiler and linker errors, but the Build still fails.



     Can someone explain what I might need to do?

    Thanks

Children
  • What you've highlighted isn't an error.

    Copy & paste the full output.

    Post as for source code, but omit step 3:

      

  • Hmmm - I received an email notification that posted a reply, but the reply is not here in the forum!

    Anyhow, the reply shows a whole load of 'multiple definition'  Linker errors - so that'll be why the build is failing.

  • sorry I was trying to edit the post, and I think it got deleted (intermittent connectivity), yes I'm looking at how to resolve 'multiple definition' errors, thanks

  • As said earlier, it looks like you may have variable definitions in your headers.

    http://c-faq.com/decl/decldef.html

  • Back on this again,

    I inspected the header files, I really could not see variable definitions, I only found variable declarations.
    Any other source of the'multiple definition' linker error?

    I also tried enabling 'allow multiple definition' in the project Linker options. The project builds successfully now, but will this approach work?