Build error for make wp_76xx

Hi All,

I followed the Getting start guide. At the stage, "prepare your mangOH board for your development "
when I give the command make wp_76xx , i get the following errors . DO I miss something here ?

Please find the output below of the error

stirulaka@ubuntu:~/work/mttm/mangOH$ make red_wp76xx
make -C /home/stirulaka/work/mttm/legato_framework/legato framework_wp76xx
make[1]: Entering directory ‘/home/stirulaka/work/mttm/legato_framework/legato’
Module: WiFi
********************* VERSION ********************
Legato WiFi version: 18.05.0


Module: Dualsys
make -f Makefile.hostTools
make[2]: Entering directory ‘/home/stirulaka/work/mttm/legato_framework/legato’
Using ninja installed at: /usr/bin/ninja
export TOOLS_ARCH=x86_64 &&
framework/tools/mkTools/ninja-generator
Tools arch: x86_64
ln -sf …/build/tools/mk bin/mk
ln -sf mk bin/mkcomp
ln -sf mk bin/mkexe
ln -sf mk bin/mkapp
ln -sf mk bin/mksys
ln -sf …/framework/tools/scripts/splitdebug …/framework/tools/scripts/findtoolchain …/framework/tools/scripts/instsys …/framework/tools/scripts/settime …/framework/tools/scripts/mkinfo …/framework/tools/scripts/instlegato …/framework/tools/scripts/stoplegato …/framework/tools/scripts/cextgenerator.py …/framework/tools/scripts/settz …/framework/tools/scripts/createsdk …/framework/tools/scripts/systoimg …/framework/tools/scripts/legato-qemu …/framework/tools/scripts/checkpa …/framework/tools/scripts/legato-install …/framework/tools/scripts/update-pack …/framework/tools/scripts/security-pack …/framework/tools/scripts/instapp …/framework/tools/scripts/mklegatoimg …/framework/tools/scripts/app …/framework/tools/scripts/av-pack …/framework/tools/scripts/releaselegato …/framework/tools/scripts/sbhelper …/framework/tools/scripts/remoteDebug …/framework/tools/scripts/systocwe …/framework/tools/scripts/configlegatoenv …/framework/tools/scripts/update …/framework/tools/scripts/configtargetssh …/framework/tools/scripts/legs …/framework/tools/scripts/gettargettype …/framework/tools/scripts/update-util …/framework/tools/scripts/configToolchainDirEnvVars …/framework/tools/scripts/simu …/framework/tools/scripts/fwupdate …/framework/tools/scripts/setname …/framework/tools/scripts/mkdoc …/framework/tools/scripts/startlegato …/framework/tools/scripts/shlib …/framework/tools/scripts/mklegatotreero bin/
ln -sf /home/stirulaka/work/mttm/legato_framework/legato/framework/tools/ifgen/ifgen bin/
ln -sf /home/stirulaka/work/mttm/legato_framework/legato/3rdParty/ima-support-tools/ima-sign.sh bin/
ln -sf /home/stirulaka/work/mttm/legato_framework/legato/3rdParty/ima-support-tools/ima-gen-keys.sh bin/
make -C framework/tools/mkPatch mkPatch
make[3]: Entering directory ‘/home/stirulaka/work/mttm/legato_framework/legato/framework/tools/mkPatch’
/usr/bin/gcc -Wall -Werror -o /home/stirulaka/work/mttm/legato_framework/legato/bin/mkPatch
mkPatch.c /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato/crc.c
-I/home/stirulaka/work/mttm/legato_framework/legato/framework/include
-I/home/stirulaka/work/mttm/legato_framework/legato/3rdParty/include
make[3]: Leaving directory ‘/home/stirulaka/work/mttm/legato_framework/legato/framework/tools/mkPatch’
ninja -f /home/stirulaka/work/mttm/legato_framework/legato/build/tools/build.ninja
ninja: no work to do.
make[2]: Leaving directory ‘/home/stirulaka/work/mttm/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.framework Makefile.hostTools Makefile.targetTools Makefile 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.06.1
md5=e68f498d69a09ddd1feeecba87f6458c
make -f Makefile.framework CC=/opt/swi/y22-ext-wp76xx/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc
make[2]: Entering directory ‘/home/stirulaka/work/mttm/legato_framework/legato’
framework/liblegato/ninja-generator
ninja -f /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/build.ninja
ninja: no work to do.
/opt/swi/y22-ext-wp76xx/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/startSystem /home/stirulaka/work/mttm/legato_framework/legato/framework/daemons/linux/start/start.c
/home/stirulaka/work/mttm/legato_framework/legato/framework/daemons/linux/common/ima.c
-Wall -Werror
-I/home/stirulaka/work/mttm/legato_framework/legato/framework/include
-I/home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato
-I/home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato/linux
-I/home/stirulaka/work/mttm/legato_framework/legato/framework/daemons/linux/common
-DVERSION=“18.06.1”
-DDISABLE_SMACK=0

-Wl,–enable-new-dtags,-rpath="$ORIGIN/…/lib"
-L/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -llegato -lssl -lcrypto
mkexe -o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/supervisor -t wp76xx -w /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/supervisor -l /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/debug
/home/stirulaka/work/mttm/legato_framework/legato/framework/daemons/linux/supervisor
-i /home/stirulaka/work/mttm/legato_framework/legato/interfaces/supervisor
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato/linux
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/daemons/linux/start
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/daemons/linux/common
-s /home/stirulaka/work/mttm/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
[10/10] Linking C executable
mkexe -o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/serviceDirectory -t wp76xx -w /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/serviceDirectory -l /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/debug
/home/stirulaka/work/mttm/legato_framework/legato/framework/daemons/linux/serviceDirectory
–cflags=-I/home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato
–cflags=-I/home/stirulaka/work/mttm/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"
[4/4] Linking C executable
mkexe -o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/logCtrlDaemon -t wp76xx -w /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/logCtrlDaemon -l /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/debug
/home/stirulaka/work/mttm/legato_framework/legato/framework/daemons/linux/logDaemon
–cflags=-DNO_LOG_CONTROL
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato/linux
-i /home/stirulaka/work/mttm/legato_framework/legato/interfaces/supervisor
[5/5] Linking C executable
mkexe -o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/configTree -t wp76xx -w /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/configTree -l /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/debug
/home/stirulaka/work/mttm/legato_framework/legato/framework/daemons/linux/configTree
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato/linux
–cflags=-std=c99
[14/14] Linking C executable
mkexe -o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/watchdog -t wp76xx -w /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/watchdog -l /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/debug
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato/linux
/home/stirulaka/work/mttm/legato_framework/legato/framework/daemons/linux/watchdog/watchdogDaemon #
#–cflags=-DLEGATO_FRAMEWORK_WDOG_DISABLE
[7/7] Linking C executable
mkexe -o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/updateDaemon -t wp76xx -w /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/updateDaemon -l /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/debug
/home/stirulaka/work/mttm/legato_framework/legato/framework/daemons/linux/updateDaemon
-i /home/stirulaka/work/mttm/legato_framework/legato/interfaces/updateDaemon
-i /home/stirulaka/work/mttm/legato_framework/legato/components/appCfg
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato/linux
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/daemons/linux/common
-s /home/stirulaka/work/mttm/legato_framework/legato/components
-s /home/stirulaka/work/mttm/legato_framework/legato/framework/daemons/linux/updateDaemon

–ldflags=-L/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib
–ldflags=-lssl
–ldflags=-lcrypto
[16/16] Linking C executable
export TARGET_CC &&
mkdir -p /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson
cd /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson &&
cmake /home/stirulaka/work/mttm/legato_framework/legato/3rdParty/jansson
-DCMAKE_TOOLCHAIN_FILE=/home/stirulaka/work/mttm/legato_framework/legato/cmake/toolchain.yocto.cmake
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/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-wp76xx/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc /opt/swi/y22-ext-wp76xx/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++
Target sysroot: /opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi
C compiler: GNU
– Configuring done
– Generating done
– Build files have been written to: /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson
make -C /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson
make[3]: Entering directory ‘/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson’
/usr/bin/cmake -H/home/stirulaka/work/mttm/legato_framework/legato/3rdParty/jansson -B/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/CMakeFiles /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[4]: Entering directory ‘/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson’
make -f CMakeFiles/jansson.dir/build.make CMakeFiles/jansson.dir/depend
make[5]: Entering directory ‘/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson’
cd /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson && /usr/bin/cmake -E cmake_depends “Unix Makefiles” /home/stirulaka/work/mttm/legato_framework/legato/3rdParty/jansson /home/stirulaka/work/mttm/legato_framework/legato/3rdParty/jansson /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/CMakeFiles/jansson.dir/DependInfo.cmake --color=
make[5]: Leaving directory ‘/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson’
make -f CMakeFiles/jansson.dir/build.make CMakeFiles/jansson.dir/build
make[5]: Entering directory ‘/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson’
[ 8%] Building C object CMakeFiles/jansson.dir/src/value.c.o
/opt/swi/y22-ext-wp76xx/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/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/include -I/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/private_include -fPIC --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/value.c.o -c /home/stirulaka/work/mttm/legato_framework/legato/3rdParty/jansson/src/value.c
[ 16%] Building C object CMakeFiles/jansson.dir/src/utf.c.o
/opt/swi/y22-ext-wp76xx/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/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/include -I/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/private_include -fPIC --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/utf.c.o -c /home/stirulaka/work/mttm/legato_framework/legato/3rdParty/jansson/src/utf.c
[ 25%] Building C object CMakeFiles/jansson.dir/src/dump.c.o
/opt/swi/y22-ext-wp76xx/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/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/include -I/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/private_include -fPIC --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/dump.c.o -c /home/stirulaka/work/mttm/legato_framework/legato/3rdParty/jansson/src/dump.c
[ 33%] Building C object CMakeFiles/jansson.dir/src/error.c.o
/opt/swi/y22-ext-wp76xx/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/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/include -I/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/private_include -fPIC --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/error.c.o -c /home/stirulaka/work/mttm/legato_framework/legato/3rdParty/jansson/src/error.c
[ 41%] Building C object CMakeFiles/jansson.dir/src/strconv.c.o
/opt/swi/y22-ext-wp76xx/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/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/include -I/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/private_include -fPIC --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/strconv.c.o -c /home/stirulaka/work/mttm/legato_framework/legato/3rdParty/jansson/src/strconv.c
[ 50%] Building C object CMakeFiles/jansson.dir/src/hashtable_seed.c.o
/opt/swi/y22-ext-wp76xx/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/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/include -I/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/private_include -fPIC --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/hashtable_seed.c.o -c /home/stirulaka/work/mttm/legato_framework/legato/3rdParty/jansson/src/hashtable_seed.c
[ 58%] Building C object CMakeFiles/jansson.dir/src/hashtable.c.o
/opt/swi/y22-ext-wp76xx/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/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/include -I/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/private_include -fPIC --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/hashtable.c.o -c /home/stirulaka/work/mttm/legato_framework/legato/3rdParty/jansson/src/hashtable.c
[ 66%] Building C object CMakeFiles/jansson.dir/src/memory.c.o
/opt/swi/y22-ext-wp76xx/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/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/include -I/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/private_include -fPIC --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/memory.c.o -c /home/stirulaka/work/mttm/legato_framework/legato/3rdParty/jansson/src/memory.c
[ 75%] Building C object CMakeFiles/jansson.dir/src/strbuffer.c.o
/opt/swi/y22-ext-wp76xx/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/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/include -I/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/private_include -fPIC --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/strbuffer.c.o -c /home/stirulaka/work/mttm/legato_framework/legato/3rdParty/jansson/src/strbuffer.c
[ 83%] Building C object CMakeFiles/jansson.dir/src/pack_unpack.c.o
/opt/swi/y22-ext-wp76xx/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/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/include -I/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/private_include -fPIC --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/pack_unpack.c.o -c /home/stirulaka/work/mttm/legato_framework/legato/3rdParty/jansson/src/pack_unpack.c
[ 91%] Building C object CMakeFiles/jansson.dir/src/load.c.o
/opt/swi/y22-ext-wp76xx/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/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/include -I/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/private_include -fPIC --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -fPIC -o CMakeFiles/jansson.dir/src/load.c.o -c /home/stirulaka/work/mttm/legato_framework/legato/3rdParty/jansson/src/load.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/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson’
[100%] Built target jansson
make[4]: Leaving directory ‘/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson’
/usr/bin/cmake -E cmake_progress_start /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/CMakeFiles 0
make[3]: Leaving directory ‘/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson’
cp /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/lib/libjansson.so /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib/libjansson.so
make -f Makefile.targetTools DISABLE_SMACK=0
make[3]: Entering directory ‘/home/stirulaka/work/mttm/legato_framework/legato’
mkexe -o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/config /home/stirulaka/work/mttm/legato_framework/legato/framework/tools/target/linux/config
-i /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/libjansson/include/
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato
–ldflags=-L/home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib
–ldflags=-ljansson
-l /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -w /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/tools/config -t wp76xx -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/debug --cflags=" -O2 -fno-omit-frame-pointer"
[5/5] Linking C executable
mkexe -o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/log
/home/stirulaka/work/mttm/legato_framework/legato/framework/tools/target/linux/logTool/logTool.c
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/daemons/linux/logDaemon
-l /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -w /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/tools/log -t wp76xx -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/debug --cflags=" -O2 -fno-omit-frame-pointer"
[2/2] Linking C executable
mkexe -o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/sdir
/home/stirulaka/work/mttm/legato_framework/legato/framework/tools/target/linux/sdirTool
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato/linux
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/daemons/linux/serviceDirectory
-l /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -w /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/tools/sdir -t wp76xx -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/debug --cflags=" -O2 -fno-omit-frame-pointer"
[5/5] Linking C executable
ln -sf debugCfg /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/gdbCfg
ln -sf debugCfg /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/straceCfg
mkexe -o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/inspect
/home/stirulaka/work/mttm/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/stirulaka/work/mttm/legato_framework/legato/framework/liblegato
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato/linux
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/daemons/linux
-l /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -w /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/tools/inspect -t wp76xx -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/debug --cflags=" -O2 -fno-omit-frame-pointer"
[2/2] Linking C executable
mkexe -o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/xattr
/home/stirulaka/work/mttm/legato_framework/legato/framework/tools/target/linux/xattr/xattr.c
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato
-l /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -w /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/tools/xattr -t wp76xx -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/debug --cflags=" -O2 -fno-omit-frame-pointer"
[2/2] Linking C executable
mkexe -o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/_appStopClient
/home/stirulaka/work/mttm/legato_framework/legato/framework/tools/target/linux/appStopClient/appStopClient.c
–cflags=-DLE_RUNTIME_DIR=’"/tmp/legato/"’
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato
-l /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -w /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/tools/appStopClient -t wp76xx -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/debug --cflags=" -O2 -fno-omit-frame-pointer"
[2/2] Linking C executable
mkexe -o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/app
/home/stirulaka/work/mttm/legato_framework/legato/framework/tools/target/linux/appCtrl
-i /home/stirulaka/work/mttm/legato_framework/legato/interfaces/supervisor
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato/linux
-l /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -w /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/tools/app -t wp76xx -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/debug --cflags=" -O2 -fno-omit-frame-pointer"
[5/5] Linking C executable
mkexe -o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/update
/home/stirulaka/work/mttm/legato_framework/legato/framework/tools/target/linux/update
-l /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -w /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/tools/update -t wp76xx -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/debug --cflags=" -O2 -fno-omit-frame-pointer"
[5/5] Linking C executable
mkexe -o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin/sbtrace
/home/stirulaka/work/mttm/legato_framework/legato/framework/tools/target/linux/sbtrace
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato/linux
-l /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -w /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/tools/sbtrace -t wp76xx -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/debug --cflags=" -O2 -fno-omit-frame-pointer"
[5/5] 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/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin
mkapp /home/stirulaka/work/mttm/legato_framework/legato/apps/tools/devMode.adef
-i /home/stirulaka/work/mttm/legato_framework/legato/framework/liblegato
-o /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/tools -w /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/apps/tools/devMode -t wp76xx -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/debug --cflags=" -O2 -fno-omit-frame-pointer"
[9/9] Packaging app
make[3]: Leaving directory ‘/home/stirulaka/work/mttm/legato_framework/legato’

Computing MD5 hash for contents of framework bin and lib directories.

md5=( find /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin && \ find /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin -type f | xargs cat && \ find /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/bin -type l | xargs -r -n 1 readlink && \ find /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib && \ find /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -type f | xargs cat && \ find /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/lib -type l | xargs -r -n 1 readlink \ ) | md5sum &&
md5=${md5%% *} &&
echo “$md5” > /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/framework/md5
make[2]: Leaving directory ‘/home/stirulaka/work/mttm/legato_framework/legato’
make[1]: Leaving directory ‘/home/stirulaka/work/mttm/legato_framework/legato’
TOOLCHAIN_DIR=/opt/swi/y22-ext-wp76xx/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi
TOOLCHAIN_PREFIX=arm-poky-linux-gnueabi-
MANGOH_BOARD=RED
mksys -t wp76xx --object-dir=build/red_wp76xx --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/stirulaka/work/mttm/mangOH/mangOH.sdef:174:4: error: Module ‘spisvc’ added to the system more than once.
/home/stirulaka/work/mttm/legato_framework/legato/default.sdef:41:4: note: Previously added here.
Makefile:82: recipe for target ‘red_wp76xx’ failed
make: *** [red_wp76xx] Error 1

Thanking you all in advance

Thanks,
Siva

/home/stirulaka/work/mttm/mangOH/mangOH.sdef:174:4: error: Module ‘spisvc’ added to the system more than once

Maybe you need to comment out the spisvc in mangOH.def.

@jyijyi: Thanks for your help. Looks like after commenting out spisvc , the build is success. Below is the tail of the output

done
make[2]: Entering directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/efe6ed928d90d5604d5b56f51698f6bc/tests’
:
make[2]: Leaving directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/efe6ed928d90d5604d5b56f51698f6bc/tests’
make[2]: Entering directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/efe6ed928d90d5604d5b56f51698f6bc/doc’
make[2]: *** No rule to make target ‘html’, needed by ‘install’. Stop.
make[2]: Leaving directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/efe6ed928d90d5604d5b56f51698f6bc/doc’
make[2]: Entering directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/efe6ed928d90d5604d5b56f51698f6bc/platform-specific’
:
make[2]: Leaving directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/efe6ed928d90d5604d5b56f51698f6bc/platform-specific’
make[2]: Entering directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/efe6ed928d90d5604d5b56f51698f6bc/sha2’
test -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/3rdParty/tinydtls/include/tinydtls/sha2 || mkdir -p /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/3rdParty/tinydtls/include/tinydtls/sha2
cp sha2.h /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/3rdParty/tinydtls/include/tinydtls/sha2
make[2]: Leaving directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/efe6ed928d90d5604d5b56f51698f6bc/sha2’
make[2]: Entering directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/efe6ed928d90d5604d5b56f51698f6bc/aes’
test -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/3rdParty/tinydtls/include/tinydtls/aes || mkdir -p /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/3rdParty/tinydtls/include/tinydtls/aes
cp rijndael.h /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/3rdParty/tinydtls/include/tinydtls/aes
make[2]: Leaving directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/efe6ed928d90d5604d5b56f51698f6bc/aes’
make[2]: Entering directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/efe6ed928d90d5604d5b56f51698f6bc/ecc’
test -d /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/3rdParty/tinydtls/include/tinydtls/ecc || mkdir -p /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/3rdParty/tinydtls/include/tinydtls/ecc
cp ecc.h test_helper.h /home/stirulaka/work/mttm/legato_framework/legato/build/wp76xx/3rdParty/tinydtls/include/tinydtls/ecc
make[2]: Leaving directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/efe6ed928d90d5604d5b56f51698f6bc/ecc’
make[1]: Leaving directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/efe6ed928d90d5604d5b56f51698f6bc’
[273/978] Running external build step
make[1]: Entering directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/fa32b30a8fe4b9878e1498e131166259’
make[1]: Leaving directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/fa32b30a8fe4b9878e1498e131166259’
[277/978] Running external build step
make[1]: Entering directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/d37052700b8df754306397a1dc770bf4’
make[1]: Leaving directory ‘/home/stirulaka/work/mttm/mangOH/build/red_wp76xx/component/d37052700b8df754306397a1dc770bf4’
[978/978] Packaging system

But I am wondering how to build the spisvc without commenting. I am not sure why this kernel module build creates the failure problem

Thanks,
SIva

/home/stirulaka/work/mttm/legato_framework/legato/default.sdef:41:4: note: Previously added here

Seems already in your legato image …

The spisvc included multiple times error is a slight incompatibility problem related to a change that went into Legato 18.06.1. Basically the Legato SDEF file includes spisvc only for wp76 and mangOH includes spisvc unconditionally. The result is that it’s included once for wp85, wp750x and wp77xx and twice for wp77xx. Once Legato 18.07.0 is released, I will be removing spisvc from the mangOH SDEF.

Also, as mentioned in the other thread, this type of post is better suited for the mangOH forum

1 Like

Thanks dfrey, I will post in mangOH forum for my future posts related to mangOH

Much appreciated your responses.