3 Replies Latest reply on Sep 19, 2016 4:35 PM by Aravind_Sridhar

    Intel Edison MRAA problem

    Aravind_Sridhar

      I'm new to the Intel Edison board and I'm trying to run the m raa library on it. I installed the package using opkg install. I made sure that the package is actually installed by running

      opkg list|grep mraa and confirmed that it is actually installed.

      However, when I try to run the hellomraa.c program, I get the following linker error.

       

      /tmp/ccehsgj5.o: In function `main':

      hellomraa.c:(.text+0x12): undefined reference to `mraa_get_platform_name'

      hellomraa.c:(.text+0x1a): undefined reference to `mraa_get_version'

      hellomraa.c:(.text+0x38): undefined reference to `mraa_deinit'

      collect2: error: ld returned 1 exit status

       

      I'm stuck and not really sure what to do about it.

       

      Thanks in advance,

      Aravind