6 Replies Latest reply on Jun 25, 2019 11:58 AM by GrCa_1363456

    Quicksilver IoT kit - make issue

    fawa_4292571

      Hi Everyone,

       

      This is a repeating question changing from time to time depending on the board... etc

       

      I've got a Quicksilver board and followed the steps to test it with ARROWConnect

      Did not change anything, fully followed the simple steps...

       

      But there is standart error:

       

      make.exe[1]: *** No rule to make target 'apps/ArrowConnect/../../../libraries/acn-sdk-c/src/ntp/client.c', needed by 'build/ArrowConnect-Quicksilver_EVL/Modules/apps/ArrowConnect/../../../libraries/acn-sdk-c/src/ntp/client.o'.  Stop.

       

      Can you please guide me what to check to troubleshoot...

       

      Previous make instruction from the quick start works fine:

      snip.ota2_extract-Quicksilver_EVL

        • 1. Re: Quicksilver IoT kit - make issue
          BiCo_3773821

          Hi - This is usually caused by a bad make instruction - even though it may seem correct.  A space in the make instruction, wrong path name, an invisible character (usually when copying from a .pdf or other source) or a typo will all cause this error.

           

          I have also seen this error when connecting the board to the computer through a USB hub or in some systems if the USB cable is too long.

           

          Also check to make sure the board is configured correctly in the USB and serial ports on your system.

           

          If none of these fix your problem, please send your make target instruction for me to take a look at.

           

          Bill

          2 of 2 people found this helpful
          • 2. Re: Quicksilver IoT kit - make issue
            MiRo_263836

            That error points to the acn-sdk library can't be found.  Your library directory should look like this

             

            2 of 2 people found this helpful
            • 3. Re: Quicksilver IoT kit - make issue
              GrCa_1363456

              Eugked,

               

              I've run into issues when using the relative links of ../../../

               

              I know that means a directory step up for every ../, then a directory step down for every name such as libraries, acn-sdk-c, src and so on.

               

              Two ways to fix this:

              1) Move your project up or down under the apps folder.

              2) Add or remove ../ sections in the relative links.

               

              Here's how I have my structure:

               

              43xxx_Wi-Fi

                   apps

                        ArrowConnect

                             ArrowConnect.c

                             ArrowConnect.mk

                   libraries

                        acn-sdk-c

               

              Within ArrowConnect.mk, there's a command to set the relative location to the root directory:

                   SDK_ROOT = ../../libraries/acn-sdk-c

              Decoding that line:

                   The first ../ goes up to the apps level

                   The second ../ goes up to the 43xxx_Wi-Fi level

                   From there, the libraries brings it down into the libraries directory

                   The final acn-sdk-c sets the root into the Arrow Connect - Software Development Kit (acn-sdk-c) directory.

               

              If Arrow Connect is one more level down, then the SDK_ROOT line should also have one more ../

               

              43xxx_Wi-Fi

                   apps

                        Quicksilver

                             ArrowConnect

                                  ArrowConnect.c

                                  ArrowConnect.mk

                   libraries

                        acn-sdk-c

               

              Then the command in ArrowConnect.mk should be:

                   SDK_ROOT = ../../,,/libraries/acn-sdk-c

               

              Hope this helps.

              Greg

              2 of 2 people found this helpful
              • 4. Re: Quicksilver IoT kit - make issue
                fawa_4292571

                Hi All,

                Hi Greg,

                 

                Followed the instructions and changed to

                SDK_ROOT = ../../libraries/acn-sdk-c

                 

                 

                The error was settled.

                 

                But it gave me the next one:

                 

                make.exe[1]: *** No rule to make target 'apps/ArrowConnect/../../libraries/acn-sdk-c/include/data/property_base.h', needed by 'build/ArrowConnect-Quicksilver_EVL/Modules/apps/ArrowConnect/./acn_config.o'.  Stop.

                 

                 

                I checked the libraries and there is no such file property_base.h

                 

                My folders config is below:

                 

                • 5. Re: Quicksilver IoT kit - make issue
                  GrCa_1363456

                  There are issues with multiple versions of acn-sdk-c libraries on github. We'll try to clean that up.

                   

                  The version of acn-sdk-c @ https:   //github.com/arrow-acs/acn-sdk-c has property_base.h under include/data.

                   

                  The version of acn-sdk-c @ https:  //github.com/arrow-acs/acn-sdk-c/tree/b6f2a6c72c36f6b8d6fdea31099218ed6faef90c does NOT have property_base.h.

                   

                  Greg

                  • 6. Re: Quicksilver IoT kit - make issue
                    GrCa_1363456

                    Eugked,

                     

                    I apologize for the delay. We're putting together some rules to manage the documents we share on GitHub. Since we have not been able to fix or upload a working version of the acn-sdk-c tree, I have posted a working version here.