coduin / epiphany-bsp

BSP implementation for the Parallella; the world's smallest supercomputer
https://jwbuurlage.github.io/epiphany-bsp/
GNU General Public License v3.0
27 stars 14 forks source link

Undefined Reference to 'bsp_begin()' #35

Closed naeemb123 closed 7 years ago

naeemb123 commented 7 years ago

Hi,

I am trying to play with the bsp example on here, but when I try compile the program, it gives me this error 'undefined reference to 'bsp_begin()' and also to all the other bsp calls in ecore._bsp.c file.

first of all Im not sure if this is the issue. but I have to run the make command with a sudo or else I get permission denied from the parallella. But I use '$ sudo -E ... make ' and a bunch of other arguments to make sure the environment variables are not different.

As far as I know, it compiles the host and e_core successfully but just throws the error that there are undefined references to bsp functions.

Why might this be? I am trying to run the example hello world program in parallel. Please help!

Thanks