Hi, I follow Getting Started Guide for mangOH project with mangOH Yellow and WP7702 module, everything works fine until I build with “make yellow_wp77xx”. I get the following :
root@jeremy-MacBookPro:~/mangOH# make yellow_wp77xx make -C /root/legato_framework/legato framework_wp77xx make[1] : on entre dans le répertoire « /root/legato_framework/legato » Module: WiFi ********************* VERSION ******************** Legato WiFi version: 18.09.0 ************************************************** Module: Dualsys make -f Makefile.hostTools make[2] : on entre dans le répertoire « /root/legato_framework/legato » Using ninja installed at: /usr/bin/ninja ln -sf /root/legato_framework/legato/build/tools/mk /root/legato_framework/legato/bin/mk ln -sf mk /root/legato_framework/legato/bin/mkcomp ln -sf mk /root/legato_framework/legato/bin/mkexe ln -sf mk /root/legato_framework/legato/bin/mkapp ln -sf mk /root/legato_framework/legato/bin/mksys ln -sf /root/legato_framework/legato/framework/tools/scripts/splitdebug /root/legato_framework/legato/framework/tools/scripts/instsys /root/legato_framework/legato/framework/tools/scripts/settime /root/legato_framework/legato/framework/tools/scripts/mkinfo /root/legato_framework/legato/framework/tools/scripts/instlegato /root/legato_framework/legato/framework/tools/scripts/stoplegato /root/legato_framework/legato/framework/tools/scripts/cextgenerator.py /root/legato_framework/legato/framework/tools/scripts/settz /root/legato_framework/legato/framework/tools/scripts/createsdk /root/legato_framework/legato/framework/tools/scripts/systoimg /root/legato_framework/legato/framework/tools/scripts/legato-qemu /root/legato_framework/legato/framework/tools/scripts/checkpa /root/legato_framework/legato/framework/tools/scripts/legato-install /root/legato_framework/legato/framework/tools/scripts/update-pack /root/legato_framework/legato/framework/tools/scripts/security-pack /root/legato_framework/legato/framework/tools/scripts/instapp /root/legato_framework/legato/framework/tools/scripts/mklegatoimg /root/legato_framework/legato/framework/tools/scripts/app /root/legato_framework/legato/framework/tools/scripts/av-pack /root/legato_framework/legato/framework/tools/scripts/releaselegato /root/legato_framework/legato/framework/tools/scripts/findtoolchain /root/legato_framework/legato/framework/tools/scripts/remoteDebug /root/legato_framework/legato/framework/tools/scripts/mkdelta /root/legato_framework/legato/framework/tools/scripts/systocwe /root/legato_framework/legato/framework/tools/scripts/configlegatoenv /root/legato_framework/legato/framework/tools/scripts/update /root/legato_framework/legato/framework/tools/scripts/sbhelper /root/legato_framework/legato/framework/tools/scripts/configtargetssh /root/legato_framework/legato/framework/tools/scripts/legs /root/legato_framework/legato/framework/tools/scripts/gettargettype /root/legato_framework/legato/framework/tools/scripts/update-util /root/legato_framework/legato/framework/tools/scripts/configToolchainDirEnvVars /root/legato_framework/legato/framework/tools/scripts/simu /root/legato_framework/legato/framework/tools/scripts/fwupdate /root/legato_framework/legato/framework/tools/scripts/setname /root/legato_framework/legato/framework/tools/scripts/mkdoc /root/legato_framework/legato/framework/tools/scripts/startlegato /root/legato_framework/legato/framework/tools/scripts/shlib /root/legato_framework/legato/framework/tools/scripts/mklegatotreero /root/legato_framework/legato/bin/ ln -sf /root/legato_framework/legato/framework/tools/ifgen/ifgen /root/legato_framework/legato/bin/ ln -sf /root/legato_framework/legato/3rdParty/ima-support-tools/ima-sign.sh /root/legato_framework/legato/bin/ ln -sf /root/legato_framework/legato/3rdParty/ima-support-tools/ima-gen-keys.sh /root/legato_framework/legato/bin/ make -C framework/tools/patchTool/mkPatch make[3] : on entre dans le répertoire « /root/legato_framework/legato/framework/tools/patchTool/mkPatch » /usr/bin/gcc -Wall -Werror -o /root/legato_framework/legato/bin/mkPatch \ mkPatch.c /root/legato_framework/legato/framework/liblegato/crc.c \ -I/root/legato_framework/legato/framework/include \ -I/root/legato_framework/legato/3rdParty/include make[3] : on quitte le répertoire « /root/legato_framework/legato/framework/tools/patchTool/mkPatch » make -C framework/tools/patchTool/mkdiff make[3] : on entre dans le répertoire « /root/legato_framework/legato/framework/tools/patchTool/mkdiff » /usr/bin/gcc -Wall -Werror -o /root/legato_framework/legato/bin/mkdiff \ mkdiff.c /root/legato_framework/legato/framework/tools/patchTool/patch_utils.c /root/legato_framework/legato/framework/liblegato/crc.c \ -I/root/legato_framework/legato/framework/include \ -I/root/legato_framework/legato/3rdParty/include \ -I/root/legato_framework/legato/framework/tools/patchTool make[3] : on quitte le répertoire « /root/legato_framework/legato/framework/tools/patchTool/mkdiff » ninja -f /root/legato_framework/legato/build/tools/build.ninja ninja: no work to do. make[2] : on quitte le répertoire « /root/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.09.0 md5=18e1f523987f6aa8fee4a5c9116d0d0d make -f Makefile.framework CC=/opt/swi/y22-ext-wp77xx/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc make[2] : on entre dans le répertoire « /root/legato_framework/legato » ninja -f /root/legato_framework/legato/build/wp77xx/framework/build.ninja ninja: no work to do. /opt/swi/y22-ext-wp77xx/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc --sysroot=/opt/swi/y22-ext-wp77xx/sysroots/armv7a-neon-poky-linux-gnueabi -o /root/legato_framework/legato/build/wp77xx/framework/bin/startSystem /root/legato_framework/legato/framework/daemons/linux/start/start.c \ /root/legato_framework/legato/framework/daemons/linux/common/ima.c\ -Wall -Werror \ -I/root/legato_framework/legato/framework/include \ -I/root/legato_framework/legato/framework/liblegato \ -I/root/legato_framework/legato/framework/liblegato/linux \ -I/root/legato_framework/legato/framework/daemons/linux/common \ -DVERSION=\"18.09.0\" \ -DDISABLE_SMACK=0 \ \ -Wl,--enable-new-dtags,-rpath="\$ORIGIN/../lib" \ -L/root/legato_framework/legato/build/wp77xx/framework/lib -llegato -lssl -lcrypto -ldl mkexe -o /root/legato_framework/legato/build/wp77xx/framework/bin/supervisor -t wp77xx -w /root/legato_framework/legato/build/wp77xx/framework/supervisor -l /root/legato_framework/legato/build/wp77xx/framework/lib -d /root/legato_framework/legato/build/wp77xx/debug \ /root/legato_framework/legato/framework/daemons/linux/supervisor \ -i /root/legato_framework/legato/interfaces/supervisor \ -i /root/legato_framework/legato/framework/liblegato \ -i /root/legato_framework/legato/framework/liblegato/linux \ -i /root/legato_framework/legato/framework/daemons/linux/start \ -i /root/legato_framework/legato/framework/daemons/linux/common \ -s /root/legato_framework/legato/framework/daemons/linux/supervisor \ --cflags=-DDISABLE_SMACK=0 \ --cflags=-DDISABLE_SMACK_ONLYCAP=1 \ \ --cflags=-DNO_LOG_CONTROL \ --cflags=-DLEGATO_FRAMEWORK_NICE_LEVEL=-19 \ --ldflags=-lssl \ --ldflags=-lcrypto ninja: no work to do. mkexe -o /root/legato_framework/legato/build/wp77xx/framework/bin/serviceDirectory -t wp77xx -w /root/legato_framework/legato/build/wp77xx/framework/serviceDirectory -l /root/legato_framework/legato/build/wp77xx/framework/lib -d /root/legato_framework/legato/build/wp77xx/debug \ /root/legato_framework/legato/framework/daemons/linux/serviceDirectory \ --cflags=-I/root/legato_framework/legato/framework/liblegato \ --cflags=-I/root/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" ninja: no work to do. mkexe -o /root/legato_framework/legato/build/wp77xx/framework/bin/logCtrlDaemon -t wp77xx -w /root/legato_framework/legato/build/wp77xx/framework/logCtrlDaemon -l /root/legato_framework/legato/build/wp77xx/framework/lib -d /root/legato_framework/legato/build/wp77xx/debug \ /root/legato_framework/legato/framework/daemons/linux/logDaemon \ --cflags=-DNO_LOG_CONTROL \ -i /root/legato_framework/legato/framework/liblegato \ -i /root/legato_framework/legato/framework/liblegato/linux \ -i /root/legato_framework/legato/interfaces/supervisor ninja: no work to do. mkexe -o /root/legato_framework/legato/build/wp77xx/framework/bin/configTree -t wp77xx -w /root/legato_framework/legato/build/wp77xx/framework/configTree -l /root/legato_framework/legato/build/wp77xx/framework/lib -d /root/legato_framework/legato/build/wp77xx/debug \ /root/legato_framework/legato/framework/daemons/linux/configTree \ -i /root/legato_framework/legato/framework/liblegato \ -i /root/legato_framework/legato/framework/liblegato/linux \ --cflags=-std=c99 ninja: no work to do. mkexe -o /root/legato_framework/legato/build/wp77xx/framework/bin/watchdog -t wp77xx -w /root/legato_framework/legato/build/wp77xx/framework/watchdog -l /root/legato_framework/legato/build/wp77xx/framework/lib -d /root/legato_framework/legato/build/wp77xx/debug \ -i /root/legato_framework/legato/framework/liblegato \ -i /root/legato_framework/legato/framework/liblegato/linux \ /root/legato_framework/legato/framework/daemons/linux/watchdog/watchdogDaemon #\ #--cflags=-DLEGATO_FRAMEWORK_WDOG_DISABLE ninja: no work to do. mkexe -o /root/legato_framework/legato/build/wp77xx/framework/bin/updateDaemon -t wp77xx -w /root/legato_framework/legato/build/wp77xx/framework/updateDaemon -l /root/legato_framework/legato/build/wp77xx/framework/lib -d /root/legato_framework/legato/build/wp77xx/debug \ /root/legato_framework/legato/framework/daemons/linux/updateDaemon \ -i /root/legato_framework/legato/interfaces/updateDaemon \ -i /root/legato_framework/legato/components/appCfg \ -i /root/legato_framework/legato/framework/liblegato \ -i /root/legato_framework/legato/framework/liblegato/linux \ -i /root/legato_framework/legato/framework/daemons/linux/common \ -s /root/legato_framework/legato/components \ -s /root/legato_framework/legato/framework/daemons/linux/updateDaemon \ \ --ldflags=-L/root/legato_framework/legato/build/wp77xx/framework/lib \ --ldflags=-lssl \ --ldflags=-lcrypto ninja: no work to do. export TARGET_CC && \ mkdir -p /root/legato_framework/legato/build/wp77xx/framework/libjansson cd /root/legato_framework/legato/build/wp77xx/framework/libjansson && \ cmake /root/legato_framework/legato/3rdParty/jansson \ -DCMAKE_TOOLCHAIN_FILE=/root/legato_framework/legato/cmake/toolchain.yocto.cmake \ -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/root/legato_framework/legato/build/wp77xx/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-wp77xx/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc /opt/swi/y22-ext-wp77xx/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ Target sysroot: /opt/swi/y22-ext-wp77xx/sysroots/armv7a-neon-poky-linux-gnueabi C compiler: GNU -- Configuring done -- Generating done -- Build files have been written to: /root/legato_framework/legato/build/wp77xx/framework/libjansson make -C /root/legato_framework/legato/build/wp77xx/framework/libjansson make[3] : on entre dans le répertoire « /root/legato_framework/legato/build/wp77xx/framework/libjansson » /usr/bin/cmake -H/root/legato_framework/legato/3rdParty/jansson -B/root/legato_framework/legato/build/wp77xx/framework/libjansson --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /root/legato_framework/legato/build/wp77xx/framework/libjansson/CMakeFiles /root/legato_framework/legato/build/wp77xx/framework/libjansson/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[4] : on entre dans le répertoire « /root/legato_framework/legato/build/wp77xx/framework/libjansson » make -f CMakeFiles/jansson.dir/build.make CMakeFiles/jansson.dir/depend make[5] : on entre dans le répertoire « /root/legato_framework/legato/build/wp77xx/framework/libjansson » cd /root/legato_framework/legato/build/wp77xx/framework/libjansson && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/legato_framework/legato/3rdParty/jansson /root/legato_framework/legato/3rdParty/jansson /root/legato_framework/legato/build/wp77xx/framework/libjansson /root/legato_framework/legato/build/wp77xx/framework/libjansson /root/legato_framework/legato/build/wp77xx/framework/libjansson/CMakeFiles/jansson.dir/DependInfo.cmake --color= make[5] : on quitte le répertoire « /root/legato_framework/legato/build/wp77xx/framework/libjansson » make -f CMakeFiles/jansson.dir/build.make CMakeFiles/jansson.dir/build make[5] : on entre dans le répertoire « /root/legato_framework/legato/build/wp77xx/framework/libjansson » make[5]: rien à faire pour « CMakeFiles/jansson.dir/build ». make[5] : on quitte le répertoire « /root/legato_framework/legato/build/wp77xx/framework/libjansson » [100%] Built target jansson make[4] : on quitte le répertoire « /root/legato_framework/legato/build/wp77xx/framework/libjansson » /usr/bin/cmake -E cmake_progress_start /root/legato_framework/legato/build/wp77xx/framework/libjansson/CMakeFiles 0 make[3] : on quitte le répertoire « /root/legato_framework/legato/build/wp77xx/framework/libjansson » cp /root/legato_framework/legato/build/wp77xx/framework/libjansson/lib/libjansson.so /root/legato_framework/legato/build/wp77xx/framework/lib/libjansson.so make -f Makefile.targetTools DISABLE_SMACK=0 make[3] : on entre dans le répertoire « /root/legato_framework/legato » mkexe -o /root/legato_framework/legato/build/wp77xx/framework/bin/config /root/legato_framework/legato/framework/tools/target/linux/config \ -i /root/legato_framework/legato/build/wp77xx/framework/libjansson/include/ \ -i /root/legato_framework/legato/framework/liblegato \ --ldflags=-L/root/legato_framework/legato/build/wp77xx/framework/lib \ --ldflags=-ljansson \ -l /root/legato_framework/legato/build/wp77xx/framework/lib -w /root/legato_framework/legato/build/wp77xx/framework/tools/config -t wp77xx -d /root/legato_framework/legato/build/wp77xx/debug --cflags=" -O2 -fno-omit-frame-pointer" ninja: no work to do. mkexe -o /root/legato_framework/legato/build/wp77xx/framework/bin/log \ /root/legato_framework/legato/framework/tools/target/linux/logTool/logTool.c \ -i /root/legato_framework/legato/framework/liblegato \ -i /root/legato_framework/legato/framework/daemons/linux/logDaemon \ -l /root/legato_framework/legato/build/wp77xx/framework/lib -w /root/legato_framework/legato/build/wp77xx/framework/tools/log -t wp77xx -d /root/legato_framework/legato/build/wp77xx/debug --cflags=" -O2 -fno-omit-frame-pointer" ninja: no work to do. mkexe -o /root/legato_framework/legato/build/wp77xx/framework/bin/sdir \ /root/legato_framework/legato/framework/tools/target/linux/sdirTool \ -i /root/legato_framework/legato/framework/liblegato \ -i /root/legato_framework/legato/framework/liblegato/linux \ -i /root/legato_framework/legato/framework/daemons/linux/serviceDirectory \ -l /root/legato_framework/legato/build/wp77xx/framework/lib -w /root/legato_framework/legato/build/wp77xx/framework/tools/sdir -t wp77xx -d /root/legato_framework/legato/build/wp77xx/debug --cflags=" -O2 -fno-omit-frame-pointer" ninja: no work to do. ln -sf debugCfg /root/legato_framework/legato/build/wp77xx/framework/bin/gdbCfg ln -sf debugCfg /root/legato_framework/legato/build/wp77xx/framework/bin/straceCfg mkexe -o /root/legato_framework/legato/build/wp77xx/framework/bin/inspect \ /root/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 /root/legato_framework/legato/framework/liblegato \ -i /root/legato_framework/legato/framework/liblegato/linux \ -i /root/legato_framework/legato/framework/daemons/linux \ -l /root/legato_framework/legato/build/wp77xx/framework/lib -w /root/legato_framework/legato/build/wp77xx/framework/tools/inspect -t wp77xx -d /root/legato_framework/legato/build/wp77xx/debug --cflags=" -O2 -fno-omit-frame-pointer" ninja: no work to do. mkexe -o /root/legato_framework/legato/build/wp77xx/framework/bin/xattr \ /root/legato_framework/legato/framework/tools/target/linux/xattr/xattr.c \ -i /root/legato_framework/legato/framework/liblegato \ -l /root/legato_framework/legato/build/wp77xx/framework/lib -w /root/legato_framework/legato/build/wp77xx/framework/tools/xattr -t wp77xx -d /root/legato_framework/legato/build/wp77xx/debug --cflags=" -O2 -fno-omit-frame-pointer" ninja: no work to do. mkexe -o /root/legato_framework/legato/build/wp77xx/framework/bin/_appStopClient \ /root/legato_framework/legato/framework/tools/target/linux/appStopClient/appStopClient.c \ --cflags=-DLE_RUNTIME_DIR='"/tmp/legato/"' \ -i /root/legato_framework/legato/framework/liblegato \ -l /root/legato_framework/legato/build/wp77xx/framework/lib -w /root/legato_framework/legato/build/wp77xx/framework/tools/appStopClient -t wp77xx -d /root/legato_framework/legato/build/wp77xx/debug --cflags=" -O2 -fno-omit-frame-pointer" ninja: no work to do. mkexe -o /root/legato_framework/legato/build/wp77xx/framework/bin/app \ /root/legato_framework/legato/framework/tools/target/linux/appCtrl \ -i /root/legato_framework/legato/interfaces/supervisor \ -i /root/legato_framework/legato/framework/liblegato \ -i /root/legato_framework/legato/framework/liblegato/linux \ -l /root/legato_framework/legato/build/wp77xx/framework/lib -w /root/legato_framework/legato/build/wp77xx/framework/tools/app -t wp77xx -d /root/legato_framework/legato/build/wp77xx/debug --cflags=" -O2 -fno-omit-frame-pointer" ninja: no work to do. mkexe -o /root/legato_framework/legato/build/wp77xx/framework/bin/update \ /root/legato_framework/legato/framework/tools/target/linux/update \ -l /root/legato_framework/legato/build/wp77xx/framework/lib -w /root/legato_framework/legato/build/wp77xx/framework/tools/update -t wp77xx -d /root/legato_framework/legato/build/wp77xx/debug --cflags=" -O2 -fno-omit-frame-pointer" ninja: no work to do. mkexe -o /root/legato_framework/legato/build/wp77xx/framework/bin/sbtrace \ /root/legato_framework/legato/framework/tools/target/linux/sbtrace \ -i /root/legato_framework/legato/framework/liblegato/linux \ -l /root/legato_framework/legato/build/wp77xx/framework/lib -w /root/legato_framework/legato/build/wp77xx/framework/tools/sbtrace -t wp77xx -d /root/legato_framework/legato/build/wp77xx/debug --cflags=" -O2 -fno-omit-frame-pointer" ninja: no work to do. 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 /root/legato_framework/legato/build/wp77xx/framework/bin mkapp /root/legato_framework/legato/apps/tools/devMode.adef \ -i /root/legato_framework/legato/framework/liblegato \ -o /root/legato_framework/legato/build/wp77xx/tools -w /root/legato_framework/legato/build/wp77xx/apps/tools/devMode -t wp77xx -d /root/legato_framework/legato/build/wp77xx/debug --cflags=" -O2 -fno-omit-frame-pointer" [4/4] Packaging app make[3] : on quitte le répertoire « /root/legato_framework/legato » # Computing MD5 hash for contents of framework bin and lib directories. md5=` ( find /root/legato_framework/legato/build/wp77xx/framework/bin && \ find /root/legato_framework/legato/build/wp77xx/framework/bin -type f | xargs cat && \ find /root/legato_framework/legato/build/wp77xx/framework/bin -type l | xargs -r -n 1 readlink && \ find /root/legato_framework/legato/build/wp77xx/framework/lib && \ find /root/legato_framework/legato/build/wp77xx/framework/lib -type f | xargs cat && \ find /root/legato_framework/legato/build/wp77xx/framework/lib -type l | xargs -r -n 1 readlink \ ) | md5sum` && \ md5=${md5%% *} && \ echo "$md5" > /root/legato_framework/legato/build/wp77xx/framework/md5 make[2] : on quitte le répertoire « /root/legato_framework/legato » make[1] : on quitte le répertoire « /root/legato_framework/legato » if [ ! -d /root/mangOH/build/yellow_wp77xx/modules/cypwifi ] ; then mkdir -p /root/mangOH/build/yellow_wp77xx/modules/cypwifi ; cp -pr /root/mangOH/linux_kernel_modules/cypwifi /root/mangOH/build/yellow_wp77xx/modules/ ; /root/mangOH/build/yellow_wp77xx/modules/cypwifi/build.sh yellow_wp77xx clean; else /root/mangOH/build/yellow_wp77xx/modules/cypwifi/build.sh yellow_wp77xx modules; fi /root/mangOH/build/yellow_wp77xx/modules/cypwifi/build.sh: 35: [: modules: unexpected operator make[1] : on entre dans le répertoire « /root/mangOH/build/yellow_wp77xx/modules/cypwifi » Building modules, stage 2. MODPOST 0 modules make[1] : on quitte le répertoire « /root/mangOH/build/yellow_wp77xx/modules/cypwifi » TOOLCHAIN_DIR=/opt/swi/y22-ext-wp77xx/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi \ TOOLCHAIN_PREFIX=arm-poky-linux-gnueabi- \ MANGOH_BOARD=yellow \ mksys -t wp77xx --object-dir=build/yellow_wp77xx --output-dir=build/update_files/yellow mangOH.sdef ** Warning: Ignoring empty app specification ** Warning: Ignoring empty app specification ** Warning: Ignoring empty app specification ** ERROR: /root/mangOH/linux_kernel_modules/cypwifi/cypwifi.mdef:1:0: error: Module file '/root/mangOH/build/yellow_wp77xx/modules/cypwifi/compat/compat.ko' does not exist. Makefile:138: recipe for target 'yellow_wp77xx' failed make: *** [yellow_wp77xx] Error 1
When I get a bit into this cypwifi and try to build with make, I get this error :
> root@jeremy-MacBookPro:~/mangOH/build/yellow_wp77xx/modules/cypwifi# make
> Generating local configuration database from kernel ... done.
> make[5]: « conf » est à jour.
> .config:1002:warning: symbol value 'm' invalid for CRYPTO_RNG
> .config:1011:warning: symbol value 'm' invalid for CRYPTO_SEQIV
> .config:1013:warning: symbol value 'm' invalid for CRYPTO_CTR
> *
> * Restart config...
> *
> *
> * Wireless LAN
> *
> Wireless LAN (WLAN) [Y/n/?] y
> mac80211-based legacy WDS support (WIRELESS_WDS) [N/y/?] n
> Broadcom devices (WLAN_VENDOR_BROADCOM) [Y/n/?] y
> Broadcom FullMAC WLAN driver (BRCMFMAC) [M/n/?] m
> SDIO bus interface support for FullMAC driver (BRCMFMAC_SDIO) [Y/n/?] y
> USB bus interface support for FullMAC driver (BRCMFMAC_USB) [Y/n/?] y
> PCIE bus interface support for FullMAC driver (BRCMFMAC_PCIE) [N/y/?] (NEW) y
> Broadcom device tracing (BRCM_TRACING) [N/y/?] n
> Broadcom driver debug functions (BRCMDBG) [N/y/?] n
> #
> # configuration written to .config
> #
> Building backport-include/backport/autoconf.h ... done.
> CC [M] /root/mangOH/build/yellow_wp77xx/modules/cypwifi/compat/main.o
> LD [M] /root/mangOH/build/yellow_wp77xx/modules/cypwifi/compat/compat.o
> CC [M] /root/mangOH/build/yellow_wp77xx/modules/cypwifi/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.o
> /root/mangOH/build/yellow_wp77xx/modules/cypwifi/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: In function ‘brcmf_init_escan’:
> /root/mangOH/build/yellow_wp77xx/modules/cypwifi/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:3274:2: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration]
> init_timer(&cfg->escan_timeout);
> ^~~~~~~~~~
> init_timers
> /root/mangOH/build/yellow_wp77xx/modules/cypwifi/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:3275:20: error: ‘struct timer_list’ has no member named ‘data’
> cfg->escan_timeout.data = (unsigned long) cfg;
> ^
> /root/mangOH/build/yellow_wp77xx/modules/cypwifi/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:3276:30: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
> cfg->escan_timeout.function = brcmf_escan_timeout;
> ^
> cc1: some warnings being treated as errors
> scripts/Makefile.build:332: recipe for target '/root/mangOH/build/yellow_wp77xx/modules/cypwifi/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.o' failed
> make[9]: *** [/root/mangOH/build/yellow_wp77xx/modules/cypwifi/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.o] Error 1
> scripts/Makefile.build:606: recipe for target '/root/mangOH/build/yellow_wp77xx/modules/cypwifi/drivers/net/wireless/broadcom/brcm80211/brcmfmac' failed
> make[8]: *** [/root/mangOH/build/yellow_wp77xx/modules/cypwifi/drivers/net/wireless/broadcom/brcm80211/brcmfmac] Error 2
> scripts/Makefile.build:606: recipe for target '/root/mangOH/build/yellow_wp77xx/modules/cypwifi/drivers/net/wireless/broadcom/brcm80211' failed
> make[7]: *** [/root/mangOH/build/yellow_wp77xx/modules/cypwifi/drivers/net/wireless/broadcom/brcm80211] Error 2
> scripts/Makefile.build:606: recipe for target '/root/mangOH/build/yellow_wp77xx/modules/cypwifi/drivers/net/wireless/broadcom' failed
> make[6]: *** [/root/mangOH/build/yellow_wp77xx/modules/cypwifi/drivers/net/wireless/broadcom] Error 2
> scripts/Makefile.build:606: recipe for target '/root/mangOH/build/yellow_wp77xx/modules/cypwifi/drivers/net/wireless' failed
> make[5]: *** [/root/mangOH/build/yellow_wp77xx/modules/cypwifi/drivers/net/wireless] Error 2
> Makefile:1552: recipe for target '_module_/root/mangOH/build/yellow_wp77xx/modules/cypwifi' failed
> make[4]: *** [_module_/root/mangOH/build/yellow_wp77xx/modules/cypwifi] Error 2
> Makefile.build:6: recipe for target 'modules' failed
> make[3]: *** [modules] Error 2
> Makefile.real:88: recipe for target 'modules' failed
> make[2]: *** [modules] Error 2
> Makefile:40: recipe for target 'modules' failed
> make[1]: *** [modules] Error 2
> Makefile:30: recipe for target 'default' failed
> make: *** [default] Error 2
Can somebody help on this topic ? I do not understand why the Cypress / broadcom drivers are bugged…
I am on Unbuntu 18 running on MacBook Pro from 2013.
Thanks in advance.
Jeremy