Hi,
I tried to follow the raspi build guide(Configure Raspberry Pi - Legato Docs) but had build error problem.
so please let me know how to fix build error or similar experience.
Thanks in advance
Below is my build step.
- Git clone for legato
git clone GitHub - legatoproject/legato-af: Legato Application Framework
- Git clone for raspberry tools
git clone GitHub - raspberrypi/tools
- Set path for raspi tools
export RASPI_TOOLCHAIN_DIR=/home/projekct/dev/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/
export RASPI_TOOLCHAIN_PREFIX=arm-linux-gnueabihf-
- Make legato for raspbian
$make raspi
#Build error log
cp -u -P --preserve=all targetFiles/shared/bin/configEcm targetFiles/shared/bin/install-hook targetFiles/shared/bin/legato targetFiles/shared/bin/cleanSandbox targetFiles/shared/bin/procInSandbox targetFiles/shared/bin/setNet targetFiles/shared/bin/debugCfg targetFiles/shared/bin/start targetFiles/shared/bin/security-unpack targetFiles/shared/bin/saveLogs /home/projekct/dev/legato-af/build/raspi/framework/bin
make[2]: Leaving directory â/home/projekct/dev/legato-afâ
Computing MD5 hash for contents of framework bin and lib directories.
md5=( find /home/projekct/dev/legato-af/build/raspi/framework/bin && \ find /home/projekct/dev/legato-af/build/raspi/framework/bin -type f | xargs cat && \ find /home/projekct/dev/legato-af/build/raspi/framework/bin -type l | xargs -r -n 1 readlink && \ find /home/projekct/dev/legato-af/build/raspi/framework/lib && \ find /home/projekct/dev/legato-af/build/raspi/framework/lib -type f | xargs cat && \ find /home/projekct/dev/legato-af/build/raspi/framework/lib -type l | xargs -r -n 1 readlink \ ) | md5sum
&&
md5=${md5%% *} &&
echo â$md5â > /home/projekct/dev/legato-af/build/raspi/framework/md5
make[1]: Leaving directory â/home/projekct/dev/legato-afâ
rm -f system.sdef
ln -s default.sdef system.sdef
mksys -t raspi -w build/raspi/system -o build/raspi system.sdef \
** ERROR:
/home/projekct/dev/legato-af/components/airVantage/avcDaemon/Component.cdef:36:8: error: Couldnât find component â/home/projekct/dev/legato-af/platformAdaptor/at/components/le_pa_avcâ.
Makefile:383: recipe for target âsystem_raspiâ failed