Problems building framework for WP8548 on xenial

Hi, I am trying to install the legato framework on xenial. I have a MangOH Red board with WP8548 module.

I have installed the toolchain and repo for 16.10.4 per the instructions here:

Things go wrong when I try to prepare the toolchain:

ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- make scripts
/opt/swi/y17-ext-16104/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc: 1: /opt/swi/y17-ext-16104/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc: Syntax error: “(” unexpected

Can anyone please point out the mistake for me? - Thanks!

Hi @nicbkw,

Please follow the steps given in the below link and let us know the behavior.

And also please try to install the tool chain and don’t Run Kernel Build Scripts and cross compiling.
Simply give make wp85 in the legato directory.

Please let us know the results.

Best Regards,