How are you trying to run it? Are you doing ./hellomraa.c? Because that's not the correct way. You need to run this line in the Edison terminal "g++ -lmraa hellomraa.c -o hellomraa" This way you compile your hellomraa.c file and you a hellomraa object file is created. Now the only thing you need to do is ./hellomraa
Something else, how did you get the hellomraa.c? Did you just flash a new image to your Edison and tried to execute hellomraa.c straight away? You may need the rest of the dependencies
I'm facing the issue when I try to compile the program.
I tried to run gcc -c to make sure that the compiler can actually compile the code and that DOES work.
However, the linker is where I'm facing this issue. My guess is that the linker cannot find the library. But I do not know how to solve the problem.
And I'm not sure what you mean by 'rest of the dependencies'. Are you talking about the mraa library itself?