[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 - Trouble compiling an example

Trouble compiling an example

Forum for anything not suitable for the other forums.

Trouble compiling an example

Postby louloizides » Sat Apr 04, 2015 1:31 am

louloizides
 
Posts: 26
Joined: Fri Mar 20, 2015 11:53 am

Re: Trouble compiling an example

Postby louloizides » Sat Apr 04, 2015 7:30 pm

Ok, solved this one on my own. Since I'm creating a lot of posts in the forum but not solving much I figure I should add the solution... solving my own problem counts, right? :D

Here are the solutions:

host_multi.c:(.text+0xfc): undefined reference to `e_load_group'
Solution was found here: http://forums.parallella.org/viewtopic. ... 62&p=12959
GCC needed to link to both e-hal and e-loader in the newer SDK version. So in build_multi.sh add -le-loader to the gcc line as such:
COMMAND="gcc ${DEFINE_FLAG} src/host_multi.c -o Debug/host_multi.elf -I ${EINCS} -L ${ELIBS} -le-hal -le-loader"

host_multi.c:(.text+0xea): undefined reference to `e_reset_core'
Solution was found here:http://parallella.org/forums/viewtopic.php?f=48&t=1029
e_reset_core was replaced with e_reset_group in the latest SDK
So replace the loop of e_reset_core calls with one call to e_reset_group in host_multi.c:
e_reset_group(&dev);
//for ( i=0 ; i < group_rows_num; i++ ) {
// for ( j=0 ; j < group_cols_num ; j++ ) {
// e_reset_core(&dev, i, j);
// }
//}
louloizides
 
Posts: 26
Joined: Fri Mar 20, 2015 11:53 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 6 guests

cron