[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - ebsp-hello project error [New 15.04 Image]

ebsp-hello project error [New 15.04 Image]

Discussion about Parallella (and Epiphany) Software Development

Moderators: amylaar, jeremybennett, simoncook

ebsp-hello project error [New 15.04 Image]

Postby prasadp4009 » Wed Apr 13, 2016 9:11 am

Hi Everyone,

I just downloaded the new 15.04 image released yesterday. I am trying to build the ebsp-hello project but got some error, can you guide me

Error:

parallella@parallella:~/Parallella/parallella-examples/ebsp-hello/epiphany-bsp$ make
CC src/host_bsp.c
CC src/host_bsp_memory.c
CC src/host_bsp_buffer.c
CC src/host_bsp_mp.c
CC src/host_bsp_utility.c
ar: creating lib/libhost-bsp.a
CC src/e_bsp.c
src/e_bsp.c: In function ‘bsp_begin’:
src/e_bsp.c:62:43: warning: passing argument 2 of ‘e_barrier_init’ from incompatible pointer type [-Wincompatible-pointer-types]
e_barrier_init(coredata.sync_barrier, coredata.sync_barrier_tgt);
^
In file included from /opt/adapteva/esdk.2016.3/tools/e-gnu.armv7l/epiphany-elf/include/e-lib.h:36:0,
from ./include/e_bsp_private.h:28,
from src/e_bsp.c:23:
/opt/adapteva/esdk.2016.3/tools/e-gnu.armv7l/epiphany-elf/include/e_mutex.h:46:6: note: expected ‘volatile e_barrier_t ** {aka volatile char **}’ but argument is of type ‘e_barrier_t ** {aka char **}’
void e_barrier_init(volatile e_barrier_t bar_array[], volatile e_barrier_t *tgt_bar_array[]);
^
src/e_bsp.c:133:46: warning: passing argument 2 of ‘e_barrier’ from incompatible pointer type [-Wincompatible-pointer-types]
e_barrier(coredata.sync_barrier, coredata.sync_barrier_tgt);
^
In file included from /opt/adapteva/esdk.2016.3/tools/e-gnu.armv7l/epiphany-elf/include/e-lib.h:36:0,
from ./include/e_bsp_private.h:28,
from src/e_bsp.c:23:
/opt/adapteva/esdk.2016.3/tools/e-gnu.armv7l/epiphany-elf/include/e_mutex.h:47:6: note: expected ‘volatile e_barrier_t ** {aka volatile char **}’ but argument is of type ‘e_barrier_t ** {aka char **}’
void e_barrier(volatile e_barrier_t *bar_array, volatile e_barrier_t *tgt_bar_array[]);
^
src/e_bsp.c: In function ‘bsp_sync’:
src/e_bsp.c:162:42: warning: passing argument 2 of ‘e_barrier’ from incompatible pointer type [-Wincompatible-pointer-types]
e_barrier(coredata.sync_barrier, coredata.sync_barrier_tgt);
^
In file included from /opt/adapteva/esdk.2016.3/tools/e-gnu.armv7l/epiphany-elf/include/e-lib.h:36:0,
from ./include/e_bsp_private.h:28,
from src/e_bsp.c:23:
/opt/adapteva/esdk.2016.3/tools/e-gnu.armv7l/epiphany-elf/include/e_mutex.h:47:6: note: expected ‘volatile e_barrier_t ** {aka volatile char **}’ but argument is of type ‘e_barrier_t ** {aka char **}’
void e_barrier(volatile e_barrier_t *bar_array, volatile e_barrier_t *tgt_bar_array[]);
^
src/e_bsp.c:195:38: warning: passing argument 2 of ‘e_barrier’ from incompatible pointer type [-Wincompatible-pointer-types]
e_barrier(coredata.sync_barrier, coredata.sync_barrier_tgt);
^
In file included from /opt/adapteva/esdk.2016.3/tools/e-gnu.armv7l/epiphany-elf/include/e-lib.h:36:0,
from ./include/e_bsp_private.h:28,
from src/e_bsp.c:23:
/opt/adapteva/esdk.2016.3/tools/e-gnu.armv7l/epiphany-elf/include/e_mutex.h:47:6: note: expected ‘volatile e_barrier_t ** {aka volatile char **}’ but argument is of type ‘e_barrier_t ** {aka char **}’
void e_barrier(volatile e_barrier_t *bar_array, volatile e_barrier_t *tgt_bar_array[]);
^
src/e_bsp.c: In function ‘ebsp_barrier’:
src/e_bsp.c:199:38: warning: passing argument 2 of ‘e_barrier’ from incompatible pointer type [-Wincompatible-pointer-types]
e_barrier(coredata.sync_barrier, coredata.sync_barrier_tgt);
^
In file included from /opt/adapteva/esdk.2016.3/tools/e-gnu.armv7l/epiphany-elf/include/e-lib.h:36:0,
from ./include/e_bsp_private.h:28,
from src/e_bsp.c:23:
/opt/adapteva/esdk.2016.3/tools/e-gnu.armv7l/epiphany-elf/include/e_mutex.h:47:6: note: expected ‘volatile e_barrier_t ** {aka volatile char **}’ but argument is of type ‘e_barrier_t ** {aka char **}’
void e_barrier(volatile e_barrier_t *bar_array, volatile e_barrier_t *tgt_bar_array[]);
^
src/e_bsp.c: At top level:
src/e_bsp.c:214:33: error: interrupt handlers cannot have arguments
void __attribute__((interrupt)) _int_isr(int unusedargument) {
^
compilation terminated due to -Wfatal-errors.
Makefile:71: recipe for target 'bin/e/e_bsp.o' failed
make: *** [bin/e/e_bsp.o] Error 1
prasadp4009
 
Posts: 1
Joined: Sat Nov 22, 2014 6:43 pm

Re: ebsp-hello project error [New 15.04 Image]

Postby sebraa » Wed Apr 13, 2016 2:13 pm

sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm

Re: ebsp-hello project error [New 15.04 Image]

Postby jwbuurlage » Tue Apr 19, 2016 10:45 pm

Hi,

I am one of the developers of Epiphany BSP. We have not yet updated our library to support the new SDK version (2016.03 but we are planning to release an update soon. I will also make sure this example gets updated.

Jan-Willem
Last edited by jwbuurlage on Sun May 01, 2016 2:40 pm, edited 1 time in total.
User avatar
jwbuurlage
 
Posts: 13
Joined: Sun Oct 26, 2014 11:41 am
Location: Utrecht, The Netherlands

Re: ebsp-hello project error [New 15.04 Image]

Postby jwbuurlage » Sat Apr 30, 2016 2:25 pm

Hi, we just released a new version. The example should now also work with the new release, sorry for the inconvenience.
User avatar
jwbuurlage
 
Posts: 13
Joined: Sun Oct 26, 2014 11:41 am
Location: Utrecht, The Netherlands


Return to Programming Q & A

Who is online

Users browsing this forum: No registered users and 14 guests

cron