This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

including .a static file problem, does not compile

Hey,

I tried including a .a static library file and it fails to compile it

Any ideas on how to properly do it?

Thanks!

Parents
  • Hi,

    solved it by changing the File Type for the .a file

    But it still will not compile because of alot of the following errors ..

    .\_build\nrf52832_xxaa.axf: Error: L6242E: Cannot link object kb.o as its attributes are incompatible with the image attributes.
    ... wchart-16 clashes with wchart-32.
    .\_build\nrf52832_xxaa.axf: Error: L6242E: Cannot link object rb.o as its attributes are incompatible with the image attributes.
    ... wchart-16 clashes with wchart-32.
    .\_build\nrf52832_xxaa.axf: Error: L6242E: Cannot link object boosted_tree_ensemble.o as its attributes are incompatible with the image attributes.
    ... wchart-16 clashes with wchart-32.
    .\_build\nrf52832_xxaa.axf: Error: L6242E: Cannot link object sorted_copy.o as its attributes are incompatible with the image attributes.

    any Idea?

    Thanks

Reply
  • Hi,

    solved it by changing the File Type for the .a file

    But it still will not compile because of alot of the following errors ..

    .\_build\nrf52832_xxaa.axf: Error: L6242E: Cannot link object kb.o as its attributes are incompatible with the image attributes.
    ... wchart-16 clashes with wchart-32.
    .\_build\nrf52832_xxaa.axf: Error: L6242E: Cannot link object rb.o as its attributes are incompatible with the image attributes.
    ... wchart-16 clashes with wchart-32.
    .\_build\nrf52832_xxaa.axf: Error: L6242E: Cannot link object boosted_tree_ensemble.o as its attributes are incompatible with the image attributes.
    ... wchart-16 clashes with wchart-32.
    .\_build\nrf52832_xxaa.axf: Error: L6242E: Cannot link object sorted_copy.o as its attributes are incompatible with the image attributes.

    any Idea?

    Thanks

Children