Sony's Developer World forum

    • Home
    • Forum guidelines

    Not able to build application ( Spresense SDK )

    Spresense
    2
    4
    488
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • Arco
      Arco last edited by

      Hello there,

      I started a new project, wanted to build it but I am getting :

      LD: nuttx
      Generating: nuttx.spk
      /bin/sh: tools/cxd56/mkspk: cannot execute binary file
      make[1]: *** [pass2] Error 126
      make: *** [all] Error 2
      

      Do you have any idea why is this happening and how can I solve this problem ?

      I am working on MacBook M1

      Thanks

      frustrated. and sad.

      1 Reply Last reply Reply Quote
      • K
        KamilTomaszewski DeveloperWorld last edited by

        Hi @Arco

        Could you execute binary mkspk under nuttx/tools/cxd56 and tell me what output did you get?

        spresense/nuttx/tools/cxd56$ ./mkspk
        
        1 Reply Last reply Reply Quote
        • Arco
          Arco last edited by Arco

          Hello @KamilTomaszewski

          I've fixed this issue with $ make clean in nuttx/tools/cxd56

          Thanks

          frustrated. and sad.

          1 Reply Last reply Reply Quote
          • K
            KamilTomaszewski DeveloperWorld last edited by

            Hi @Arco

            I'm glad to hear that. 🙂

            1 Reply Last reply Reply Quote
            • First post
              Last post
            Developer World
            Copyright © 2021 Sony Group Corporation. All rights reserved.
            • Contact us
            • Legal