Make red_wp85 returns an error when setting up mangOH platform

Hi all,

I am new to the mangOH platform and trying to set it up using the provided guidelines. However when I try to run the make red_wp85 command I get an error rearding a missing file. Any ideas on how to fix this?

Thank you
V

mangoh@mangoh-vm:~/mangOH$ make red_wp85
make -C /home/mangoh/legato_framework/legato framework_wp85
make[1]: Entering directory '/home/mangoh/legato_framework/legato'
Module: WiFi
********************* VERSION ********************
Legato WiFi version: 18.08.0-1-g0866e9e
**************************************************
Module: Dualsys
make -f Makefile.hostTools
make[2]: Entering directory '/home/mangoh/legato_framework/legato'
Using ninja installed at: /usr/bin/ninja
ln -sf /home/mangoh/legato_framework/legato/build/tools/mk /home/mangoh/legato_framework/legato/bin/mk
ln -sf mk /home/mangoh/legato_framework/legato/bin/mkcomp
ln -sf mk /home/mangoh/legato_framework/legato/bin/mkexe
ln -sf mk /home/mangoh/legato_framework/legato/bin/mkapp
ln -sf mk /home/mangoh/legato_framework/legato/bin/mksys
ln -sf /home/mangoh/legato_framework/legato/framework/tools/scripts/splitdebug /home/mangoh/legato_framework/legato/framework/tools/scripts/instsys /home/mangoh/legato_framework/legato/framework/tools/scripts/settime /home/mangoh/legato_framework/legato/framework/tools/scripts/mkinfo /home/mangoh/legato_framework/legato/framework/tools/scripts/legato-qemu /home/mangoh/legato_framework/legato/framework/tools/scripts/stoplegato /home/mangoh/legato_framework/legato/framework/tools/scripts/cextgenerator.py /home/mangoh/legato_framework/legato/framework/tools/scripts/settz /home/mangoh/legato_framework/legato/framework/tools/scripts/createsdk /home/mangoh/legato_framework/legato/framework/tools/scripts/systoimg /home/mangoh/legato_framework/legato/framework/tools/scripts/findtoolchain /home/mangoh/legato_framework/legato/framework/tools/scripts/instlegato /home/mangoh/legato_framework/legato/framework/tools/scripts/checkpa /home/mangoh/legato_framework/legato/framework/tools/scripts/legato-install /home/mangoh/legato_framework/legato/framework/tools/scripts/update-pack /home/mangoh/legato_framework/legato/framework/tools/scripts/security-pack /home/mangoh/legato_framework/legato/framework/tools/scripts/instapp /home/mangoh/legato_framework/legato/framework/tools/scripts/mklegatoimg /home/mangoh/legato_framework/legato/framework/tools/scripts/app /home/mangoh/legato_framework/legato/framework/tools/scripts/av-pack /home/mangoh/legato_framework/legato/framework/tools/scripts/releaselegato /home/mangoh/legato_framework/legato/framework/tools/scripts/sbhelper /home/mangoh/legato_framework/legato/framework/tools/scripts/remoteDebug /home/mangoh/legato_framework/legato/framework/tools/scripts/systocwe /home/mangoh/legato_framework/legato/framework/tools/scripts/configlegatoenv /home/mangoh/legato_framework/legato/framework/tools/scripts/update /home/mangoh/legato_framework/legato/framework/tools/scripts/configtargetssh /home/mangoh/legato_framework/legato/framework/tools/scripts/legs /home/mangoh/legato_framework/legato/framework/tools/scripts/gettargettype /home/mangoh/legato_framework/legato/framework/tools/scripts/update-util /home/mangoh/legato_framework/legato/framework/tools/scripts/configToolchainDirEnvVars /home/mangoh/legato_framework/legato/framework/tools/scripts/simu /home/mangoh/legato_framework/legato/framework/tools/scripts/fwupdate /home/mangoh/legato_framework/legato/framework/tools/scripts/setname /home/mangoh/legato_framework/legato/framework/tools/scripts/mkdoc /home/mangoh/legato_framework/legato/framework/tools/scripts/startlegato /home/mangoh/legato_framework/legato/framework/tools/scripts/shlib /home/mangoh/legato_framework/legato/framework/tools/scripts/mklegatotreero /home/mangoh/legato_framework/legato/bin/
ln -sf /home/mangoh/legato_framework/legato/framework/tools/ifgen/ifgen /home/mangoh/legato_framework/legato/bin/
ln -sf /home/mangoh/legato_framework/legato/3rdParty/ima-support-tools/ima-sign.sh /home/mangoh/legato_framework/legato/bin/
ln -sf /home/mangoh/legato_framework/legato/3rdParty/ima-support-tools/ima-gen-keys.sh /home/mangoh/legato_framework/legato/bin/
make -C framework/tools/mkPatch
make[3]: Entering directory '/home/mangoh/legato_framework/legato/framework/tools/mkPatch'
/usr/bin/gcc -Wall -Werror -o /home/mangoh/legato_framework/legato/bin/mkPatch \
    mkPatch.c /home/mangoh/legato_framework/legato/framework/liblegato/crc.c \
    -I/home/mangoh/legato_framework/legato/framework/include \
    -I/home/mangoh/legato_framework/legato/3rdParty/include
make[3]: Leaving directory '/home/mangoh/legato_framework/legato/framework/tools/mkPatch'
ninja  -f /home/mangoh/legato_framework/legato/build/tools/build.ninja
ninja: no work to do.
make[2]: Leaving directory '/home/mangoh/legato_framework/legato'
# Generate an MD5 hash of everything in the source directories.
find framework components interfaces platformAdaptor modules apps/platformServices  apps/tools targetFiles Makefile Makefile.framework Makefile.hostTools Makefile.targetTools targetDefs CMakeLists.txt -type f | grep -v ".git" | sort | while read filePath ; \
do \
  echo "$filePath" && \
  cat "$filePath" ; \
done | md5sum | awk '{ print $1 }' > sources.md5
version=18.08.0-2-g2fa11477
md5=e596fd55f5782a7598c539b5e9fbb55f
make -f Makefile.framework CC=/opt/swi/y22-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc
make[2]: Entering directory '/home/mangoh/legato_framework/legato'
ninja  -f /home/mangoh/legato_framework/legato/build/wp85/framework/build.ninja
ninja: no work to do.
/opt/swi/y22-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc --sysroot=/opt/swi/y22-ext-SWI9X15Y_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi -o /home/mangoh/legato_framework/legato/build/wp85/framework/bin/startSystem /home/mangoh/legato_framework/legato/framework/daemons/linux/start/start.c \
    /home/mangoh/legato_framework/legato/framework/daemons/linux/common/ima.c\
	-Wall -Werror \
	-I/home/mangoh/legato_framework/legato/framework/include \
	-I/home/mangoh/legato_framework/legato/framework/liblegato \
	-I/home/mangoh/legato_framework/legato/framework/liblegato/linux \
	-I/home/mangoh/legato_framework/legato/framework/daemons/linux/common \
	-DVERSION=\"18.08.0-2-g2fa11477\" \
	-DDISABLE_SMACK=0 \
	 \
	-Wl,--enable-new-dtags,-rpath="\$ORIGIN/../lib" \
	-L/home/mangoh/legato_framework/legato/build/wp85/framework/lib -llegato -lssl -lcrypto -ldl
mkexe  -o /home/mangoh/legato_framework/legato/build/wp85/framework/bin/supervisor -t wp85 -w /home/mangoh/legato_framework/legato/build/wp85/framework/supervisor -l /home/mangoh/legato_framework/legato/build/wp85/framework/lib -d /home/mangoh/legato_framework/legato/build/wp85/debug \
	/home/mangoh/legato_framework/legato/framework/daemons/linux/supervisor \
	-i /home/mangoh/legato_framework/legato/interfaces/supervisor \
	-i /home/mangoh/legato_framework/legato/framework/liblegato \
	-i /home/mangoh/legato_framework/legato/framework/liblegato/linux \
	-i /home/mangoh/legato_framework/legato/framework/daemons/linux/start \
	-i /home/mangoh/legato_framework/legato/framework/daemons/linux/common \
	-s /home/mangoh/legato_framework/legato/framework/daemons/linux/supervisor \
	--cflags=-DDISABLE_SMACK=0 \
	 \
	--cflags=-DNO_LOG_CONTROL \
	--cflags=-DLEGATO_FRAMEWORK_NICE_LEVEL=-19 \
	--ldflags=-lssl \
	--ldflags=-lcrypto
[28/28] Linking C executable
mkexe  -o /home/mangoh/legato_framework/legato/build/wp85/framework/bin/serviceDirectory -t wp85 -w /home/mangoh/legato_framework/legato/build/wp85/framework/serviceDirectory -l /home/mangoh/legato_framework/legato/build/wp85/framework/lib -d /home/mangoh/legato_framework/legato/build/wp85/debug \
	/home/mangoh/legato_framework/legato/framework/daemons/linux/serviceDirectory \
	--cflags=-I/home/mangoh/legato_framework/legato/framework/liblegato \
	--cflags=-I/home/mangoh/legato_framework/legato/framework/liblegato/linux \
	--cflags=-DNO_LOG_CONTROL \
	--cflags=-DLE_RUNTIME_DIR="/tmp/legato//" \
	--cflags=-DLE_SVCDIR_SERVER_SOCKET_NAME="/tmp/legato/serviceDirectoryServer" \
	--cflags=-DLE_SVCDIR_CLIENT_SOCKET_NAME="/tmp/legato/serviceDirectoryClient"
[5/5] Linking C executable
mkexe  -o /home/mangoh/legato_framework/legato/build/wp85/framework/bin/logCtrlDaemon -t wp85 -w /home/mangoh/legato_framework/legato/build/wp85/framework/logCtrlDaemon -l /home/mangoh/legato_framework/legato/build/wp85/framework/lib -d /home/mangoh/legato_framework/legato/build/wp85/debug \
	/home/mangoh/legato_framework/legato/framework/daemons/linux/logDaemon \
	--cflags=-DNO_LOG_CONTROL \
	-i /home/mangoh/legato_framework/legato/framework/liblegato \
	-i /home/mangoh/legato_framework/legato/framework/liblegato/linux \
	-i /home/mangoh/legato_framework/legato/interfaces/supervisor
[8/8] Linking C executable
mkexe  -o /home/mangoh/legato_framework/legato/build/wp85/framework/bin/configTree -t wp85 -w /home/mangoh/legato_framework/legato/build/wp85/framework/configTree -l /home/mangoh/legato_framework/legato/build/wp85/framework/lib -d /home/mangoh/legato_framework/legato/build/wp85/debug \
	/home/mangoh/legato_framework/legato/framework/daemons/linux/configTree \
	-i /home/mangoh/legato_framework/legato/framework/liblegato \
	-i /home/mangoh/legato_framework/legato/framework/liblegato/linux \
	--cflags=-std=c99
[19/19] Linking C executable
mkexe  -o /home/mangoh/legato_framework/legato/build/wp85/framework/bin/watchdog -t wp85 -w /home/mangoh/legato_framework/legato/build/wp85/framework/watchdog -l /home/mangoh/legato_framework/legato/build/wp85/framework/lib -d /home/mangoh/legato_framework/legato/build/wp85/debug \
	-i /home/mangoh/legato_framework/legato/framework/liblegato \
	-i /home/mangoh/legato_framework/legato/framework/liblegato/linux \
	/home/mangoh/legato_framework/legato/framework/daemons/linux/watchdog/watchdogDaemon #\
	#--cflags=-DLEGATO_FRAMEWORK_WDOG_DISABLE
[17/17] Linking C executable
mkexe  -o /home/mangoh/legato_framework/legato/build/wp85/framework/bin/updateDaemon -t wp85 -w /home/mangoh/legato_framework/legato/build/wp85/framework/updateDaemon -l /home/mangoh/legato_framework/legato/build/wp85/framework/lib -d /home/mangoh/legato_framework/legato/build/wp85/debug \
	/home/mangoh/legato_framework/legato/framework/daemons/linux/updateDaemon \
	-i /home/mangoh/legato_framework/legato/interfaces/updateDaemon \
	-i /home/mangoh/legato_framework/legato/components/appCfg \
	-i /home/mangoh/legato_framework/legato/framework/liblegato \
	-i /home/mangoh/legato_framework/legato/framework/liblegato/linux \
	-i /home/mangoh/legato_framework/legato/framework/daemons/linux/common \
	-s /home/mangoh/legato_framework/legato/components \
	-s /home/mangoh/legato_framework/legato/framework/daemons/linux/updateDaemon \
	 \
	--ldflags=-L/home/mangoh/legato_framework/legato/build/wp85/framework/lib \
	--ldflags=-lssl \
	--ldflags=-lcrypto
[28/28] Linking C executable
export TARGET_CC && \
	mkdir -p /home/mangoh/legato_framework/legato/build/wp85/framework/libjansson
cd /home/mangoh/legato_framework/legato/build/wp85/framework/libjansson && \
	cmake /home/mangoh/legato_framework/legato/3rdParty/jansson \
		-DCMAKE_TOOLCHAIN_FILE=/home/mangoh/legato_framework/legato/cmake/toolchain.yocto.cmake \
		-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/mangoh/legato_framework/legato/build/wp85/framework/lib \
		-DBUILD_SHARED_LIBS=ON \
		-DJANSSON_WITHOUT_TESTS=ON \
		-DJANSSON_EXAMPLES=OFF \
		-DJANSSON_BUILD_DOCS=OFF \
		-DUSE_CLANG=0
Re-run cmake no build system arguments
Target compilers: /opt/swi/y22-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc /opt/swi/y22-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++
Target sysroot: /opt/swi/y22-ext-SWI9X15Y_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi
C compiler: GNU
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mangoh/legato_framework/legato/build/wp85/framework/libjansson
make -C /home/mangoh/legato_framework/legato/build/wp85/framework/libjansson
make[3]: Entering directory '/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson'
/usr/bin/cmake -H/home/mangoh/legato_framework/legato/3rdParty/jansson -B/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/CMakeFiles /home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[4]: Entering directory '/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson'
make -f CMakeFiles/jansson.dir/build.make CMakeFiles/jansson.dir/depend
make[5]: Entering directory '/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson'
cd /home/mangoh/legato_framework/legato/build/wp85/framework/libjansson && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/mangoh/legato_framework/legato/3rdParty/jansson /home/mangoh/legato_framework/legato/3rdParty/jansson /home/mangoh/legato_framework/legato/build/wp85/framework/libjansson /home/mangoh/legato_framework/legato/build/wp85/framework/libjansson /home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/CMakeFiles/jansson.dir/DependInfo.cmake --color=
make[5]: Leaving directory '/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson'
make -f CMakeFiles/jansson.dir/build.make CMakeFiles/jansson.dir/build
make[5]: Entering directory '/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson'
[  8%] Building C object CMakeFiles/jansson.dir/src/dump.c.o
/opt/swi/y22-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -DHAVE_CONFIG_H -DJANSSON_USING_CMAKE -Djansson_EXPORTS -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/include -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/private_include  -fPIC   --sysroot=/opt/swi/y22-ext-SWI9X15Y_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/dump.c.o   -c /home/mangoh/legato_framework/legato/3rdParty/jansson/src/dump.c
[ 16%] Building C object CMakeFiles/jansson.dir/src/error.c.o
/opt/swi/y22-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -DHAVE_CONFIG_H -DJANSSON_USING_CMAKE -Djansson_EXPORTS -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/include -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/private_include  -fPIC   --sysroot=/opt/swi/y22-ext-SWI9X15Y_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/error.c.o   -c /home/mangoh/legato_framework/legato/3rdParty/jansson/src/error.c
[ 25%] Building C object CMakeFiles/jansson.dir/src/hashtable.c.o
/opt/swi/y22-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -DHAVE_CONFIG_H -DJANSSON_USING_CMAKE -Djansson_EXPORTS -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/include -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/private_include  -fPIC   --sysroot=/opt/swi/y22-ext-SWI9X15Y_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/hashtable.c.o   -c /home/mangoh/legato_framework/legato/3rdParty/jansson/src/hashtable.c
[ 33%] Building C object CMakeFiles/jansson.dir/src/hashtable_seed.c.o
/opt/swi/y22-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -DHAVE_CONFIG_H -DJANSSON_USING_CMAKE -Djansson_EXPORTS -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/include -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/private_include  -fPIC   --sysroot=/opt/swi/y22-ext-SWI9X15Y_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/hashtable_seed.c.o   -c /home/mangoh/legato_framework/legato/3rdParty/jansson/src/hashtable_seed.c
[ 41%] Building C object CMakeFiles/jansson.dir/src/load.c.o
/opt/swi/y22-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -DHAVE_CONFIG_H -DJANSSON_USING_CMAKE -Djansson_EXPORTS -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/include -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/private_include  -fPIC   --sysroot=/opt/swi/y22-ext-SWI9X15Y_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/load.c.o   -c /home/mangoh/legato_framework/legato/3rdParty/jansson/src/load.c
[ 50%] Building C object CMakeFiles/jansson.dir/src/memory.c.o
/opt/swi/y22-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -DHAVE_CONFIG_H -DJANSSON_USING_CMAKE -Djansson_EXPORTS -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/include -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/private_include  -fPIC   --sysroot=/opt/swi/y22-ext-SWI9X15Y_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/memory.c.o   -c /home/mangoh/legato_framework/legato/3rdParty/jansson/src/memory.c
[ 58%] Building C object CMakeFiles/jansson.dir/src/pack_unpack.c.o
/opt/swi/y22-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -DHAVE_CONFIG_H -DJANSSON_USING_CMAKE -Djansson_EXPORTS -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/include -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/private_include  -fPIC   --sysroot=/opt/swi/y22-ext-SWI9X15Y_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/pack_unpack.c.o   -c /home/mangoh/legato_framework/legato/3rdParty/jansson/src/pack_unpack.c
[ 66%] Building C object CMakeFiles/jansson.dir/src/strbuffer.c.o
/opt/swi/y22-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -DHAVE_CONFIG_H -DJANSSON_USING_CMAKE -Djansson_EXPORTS -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/include -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/private_include  -fPIC   --sysroot=/opt/swi/y22-ext-SWI9X15Y_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/strbuffer.c.o   -c /home/mangoh/legato_framework/legato/3rdParty/jansson/src/strbuffer.c
[ 75%] Building C object CMakeFiles/jansson.dir/src/strconv.c.o
/opt/swi/y22-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -DHAVE_CONFIG_H -DJANSSON_USING_CMAKE -Djansson_EXPORTS -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/include -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/private_include  -fPIC   --sysroot=/opt/swi/y22-ext-SWI9X15Y_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/strconv.c.o   -c /home/mangoh/legato_framework/legato/3rdParty/jansson/src/strconv.c
[ 83%] Building C object CMakeFiles/jansson.dir/src/utf.c.o
/opt/swi/y22-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -DHAVE_CONFIG_H -DJANSSON_USING_CMAKE -Djansson_EXPORTS -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/include -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/private_include  -fPIC   --sysroot=/opt/swi/y22-ext-SWI9X15Y_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/utf.c.o   -c /home/mangoh/legato_framework/legato/3rdParty/jansson/src/utf.c
[ 91%] Building C object CMakeFiles/jansson.dir/src/value.c.o
/opt/swi/y22-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -DHAVE_CONFIG_H -DJANSSON_USING_CMAKE -Djansson_EXPORTS -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/include -I/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/private_include  -fPIC   --sysroot=/opt/swi/y22-ext-SWI9X15Y_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/value.c.o   -c /home/mangoh/legato_framework/legato/3rdParty/jansson/src/value.c
[100%] Linking C shared library lib/libjansson.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/jansson.dir/link.txt --verbose=0
make[5]: Leaving directory '/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson'
[100%] Built target jansson
make[4]: Leaving directory '/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson'
/usr/bin/cmake -E cmake_progress_start /home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/CMakeFiles 0
make[3]: Leaving directory '/home/mangoh/legato_framework/legato/build/wp85/framework/libjansson'
cp /home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/lib/libjansson.so /home/mangoh/legato_framework/legato/build/wp85/framework/lib/libjansson.so
make -f Makefile.targetTools DISABLE_SMACK=0
make[3]: Entering directory '/home/mangoh/legato_framework/legato'
mkexe -o /home/mangoh/legato_framework/legato/build/wp85/framework/bin/config /home/mangoh/legato_framework/legato/framework/tools/target/linux/config \
		-i /home/mangoh/legato_framework/legato/build/wp85/framework/libjansson/include/ \
		-i /home/mangoh/legato_framework/legato/framework/liblegato \
		--ldflags=-L/home/mangoh/legato_framework/legato/build/wp85/framework/lib \
		--ldflags=-ljansson \
		 -l /home/mangoh/legato_framework/legato/build/wp85/framework/lib -w /home/mangoh/legato_framework/legato/build/wp85/framework/tools/config -t wp85 -d /home/mangoh/legato_framework/legato/build/wp85/debug --cflags=" -O2 -fno-omit-frame-pointer"
[7/7] Linking C executable
mkexe -o /home/mangoh/legato_framework/legato/build/wp85/framework/bin/log \
		/home/mangoh/legato_framework/legato/framework/tools/target/linux/logTool/logTool.c \
		-i /home/mangoh/legato_framework/legato/framework/liblegato \
		-i /home/mangoh/legato_framework/legato/framework/daemons/linux/logDaemon \
		 -l /home/mangoh/legato_framework/legato/build/wp85/framework/lib -w /home/mangoh/legato_framework/legato/build/wp85/framework/tools/log -t wp85 -d /home/mangoh/legato_framework/legato/build/wp85/debug --cflags=" -O2 -fno-omit-frame-pointer"
[3/3] Linking C executable
mkexe -o /home/mangoh/legato_framework/legato/build/wp85/framework/bin/sdir \
		/home/mangoh/legato_framework/legato/framework/tools/target/linux/sdirTool \
		-i /home/mangoh/legato_framework/legato/framework/liblegato \
		-i /home/mangoh/legato_framework/legato/framework/liblegato/linux \
		-i /home/mangoh/legato_framework/legato/framework/daemons/linux/serviceDirectory \
		 -l /home/mangoh/legato_framework/legato/build/wp85/framework/lib -w /home/mangoh/legato_framework/legato/build/wp85/framework/tools/sdir -t wp85 -d /home/mangoh/legato_framework/legato/build/wp85/debug --cflags=" -O2 -fno-omit-frame-pointer"
[6/6] Linking C executable
ln -sf debugCfg /home/mangoh/legato_framework/legato/build/wp85/framework/bin/gdbCfg
ln -sf debugCfg /home/mangoh/legato_framework/legato/build/wp85/framework/bin/straceCfg
mkexe -o /home/mangoh/legato_framework/legato/build/wp85/framework/bin/inspect \
		/home/mangoh/legato_framework/legato/framework/tools/target/linux/inspect/inspect.c \
		--cflags=-DLE_SVCDIR_SERVER_SOCKET_NAME="/tmp/legato/serviceDirectoryServer" \
		--cflags=-DLE_SVCDIR_CLIENT_SOCKET_NAME="/tmp/legato/serviceDirectoryClient" \
		-i /home/mangoh/legato_framework/legato/framework/liblegato \
		-i /home/mangoh/legato_framework/legato/framework/liblegato/linux \
		-i /home/mangoh/legato_framework/legato/framework/daemons/linux \
		 -l /home/mangoh/legato_framework/legato/build/wp85/framework/lib -w /home/mangoh/legato_framework/legato/build/wp85/framework/tools/inspect -t wp85 -d /home/mangoh/legato_framework/legato/build/wp85/debug --cflags=" -O2 -fno-omit-frame-pointer"
[3/3] Linking C executable
mkexe -o /home/mangoh/legato_framework/legato/build/wp85/framework/bin/xattr \
		/home/mangoh/legato_framework/legato/framework/tools/target/linux/xattr/xattr.c \
		-i /home/mangoh/legato_framework/legato/framework/liblegato \
		 -l /home/mangoh/legato_framework/legato/build/wp85/framework/lib -w /home/mangoh/legato_framework/legato/build/wp85/framework/tools/xattr -t wp85 -d /home/mangoh/legato_framework/legato/build/wp85/debug --cflags=" -O2 -fno-omit-frame-pointer"
[3/3] Linking C executable
mkexe -o /home/mangoh/legato_framework/legato/build/wp85/framework/bin/_appStopClient \
		/home/mangoh/legato_framework/legato/framework/tools/target/linux/appStopClient/appStopClient.c \
		--cflags=-DLE_RUNTIME_DIR='"/tmp/legato/"' \
		-i /home/mangoh/legato_framework/legato/framework/liblegato \
		 -l /home/mangoh/legato_framework/legato/build/wp85/framework/lib -w /home/mangoh/legato_framework/legato/build/wp85/framework/tools/appStopClient -t wp85 -d /home/mangoh/legato_framework/legato/build/wp85/debug --cflags=" -O2 -fno-omit-frame-pointer"
[3/3] Linking C executable
mkexe -o /home/mangoh/legato_framework/legato/build/wp85/framework/bin/app \
		/home/mangoh/legato_framework/legato/framework/tools/target/linux/appCtrl \
		-i /home/mangoh/legato_framework/legato/interfaces/supervisor \
		-i /home/mangoh/legato_framework/legato/framework/liblegato \
		-i /home/mangoh/legato_framework/legato/framework/liblegato/linux \
		 -l /home/mangoh/legato_framework/legato/build/wp85/framework/lib -w /home/mangoh/legato_framework/legato/build/wp85/framework/tools/app -t wp85 -d /home/mangoh/legato_framework/legato/build/wp85/debug --cflags=" -O2 -fno-omit-frame-pointer"
[10/10] Linking C executable
mkexe -o /home/mangoh/legato_framework/legato/build/wp85/framework/bin/update \
		/home/mangoh/legato_framework/legato/framework/tools/target/linux/update \
		 -l /home/mangoh/legato_framework/legato/build/wp85/framework/lib -w /home/mangoh/legato_framework/legato/build/wp85/framework/tools/update -t wp85 -d /home/mangoh/legato_framework/legato/build/wp85/debug --cflags=" -O2 -fno-omit-frame-pointer"
[8/8] Linking C executable
mkexe -o /home/mangoh/legato_framework/legato/build/wp85/framework/bin/sbtrace \
		/home/mangoh/legato_framework/legato/framework/tools/target/linux/sbtrace \
		-i /home/mangoh/legato_framework/legato/framework/liblegato/linux \
		 -l /home/mangoh/legato_framework/legato/build/wp85/framework/lib -w /home/mangoh/legato_framework/legato/build/wp85/framework/tools/sbtrace -t wp85 -d /home/mangoh/legato_framework/legato/build/wp85/debug --cflags=" -O2 -fno-omit-frame-pointer"
[6/6] Linking C executable
cp -u -P --preserve=all framework/tools/target/linux/bin/configEcm framework/tools/target/linux/bin/install-hook framework/tools/target/linux/bin/legato framework/tools/target/linux/bin/setNet framework/tools/target/linux/bin/debugCfg framework/tools/target/linux/bin/start framework/tools/target/linux/bin/security-unpack framework/tools/target/linux/bin/saveLogs framework/tools/target/linux/bin/pss /home/mangoh/legato_framework/legato/build/wp85/framework/bin
mkapp /home/mangoh/legato_framework/legato/apps/tools/devMode.adef \
		-i /home/mangoh/legato_framework/legato/framework/liblegato \
		 -o /home/mangoh/legato_framework/legato/build/wp85/tools -w /home/mangoh/legato_framework/legato/build/wp85/apps/tools/devMode -t wp85 -d /home/mangoh/legato_framework/legato/build/wp85/debug --cflags=" -O2 -fno-omit-frame-pointer"
[17/17] Packaging app
make[3]: Leaving directory '/home/mangoh/legato_framework/legato'
# Computing MD5 hash for contents of framework bin and lib directories.
md5=` ( find /home/mangoh/legato_framework/legato/build/wp85/framework/bin && \
		find /home/mangoh/legato_framework/legato/build/wp85/framework/bin -type f | xargs cat && \
		find /home/mangoh/legato_framework/legato/build/wp85/framework/bin -type l | xargs -r -n 1 readlink && \
		find /home/mangoh/legato_framework/legato/build/wp85/framework/lib && \
		find /home/mangoh/legato_framework/legato/build/wp85/framework/lib -type f | xargs cat && \
		find /home/mangoh/legato_framework/legato/build/wp85/framework/lib -type l | xargs -r -n 1 readlink \
	  ) | md5sum` && \
md5=${md5%% *} && \
echo "$md5" > /home/mangoh/legato_framework/legato/build/wp85/framework/md5
make[2]: Leaving directory '/home/mangoh/legato_framework/legato'
make[1]: Leaving directory '/home/mangoh/legato_framework/legato'
TOOLCHAIN_DIR=/opt/swi/y22-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi \
TOOLCHAIN_PREFIX=arm-poky-linux-gnueabi- \
MANGOH_BOARD=RED \
mksys -t wp85 --object-dir=build/red_wp85 --output-dir=build/update_files/red mangOH.sdef
** Warning: Ignoring empty app specification
** Warning: Ignoring empty app specification
** Warning: Ignoring empty app specification
** ERROR:
/home/mangoh/mangOH/apps/BatteryService/batteryComponent/Component.cdef:17:17: error: Couldn't find file 'io.api'.
Makefile:70: recipe for target 'red_wp85' failed
make: *** [red_wp85] Error 1
mangoh@mangoh-vm:~/mangOH$ 

Hi @vtel,

Can you please share the steps, which you following for building.
And also please let us know in which legato version you need to build the mangoh for wp85.

Regards,
Bharath

I was having the same issue. I resolved it somewhat. You can join the discussion here.

Hi @vtel
did you solve your issue following suggestion from the previous post?
best regards,