This page describes the list of build errors while integrating the RdkWanManager component in yocto build environment
Please refer the below link for host environment set-up & flashing procedure for yocto build ,
RPI 3B/3B+ Model Reference Platform
To build, follow below instructions
$ mkdir <workspace dir> $ cd <workspace dir> $ repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-extsrc.xml $ repo sync -j`nproc` --no-clone-bundle |
$ cd ~/rdkb/components/opensource/ccsp/CcspEthAgent $ git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspEthAgent refs/changes/98/58898/2 && git cherry-pick FETCH_HEAD $ cd ~/rdkb/components/generic/json-rpc $ git fetch https://code.rdkcentral.com/r/rdkb/components/generic/json-rpc refs/changes/91/58891/1 && git cherry-pick FETCH_HEAD $ cd ~/rdk/components/generic/rdk_logger $ git fetch https://code.rdkcentral.com/r/rdk/components/generic/rdk_logger refs/changes/85/58885/1 && git cherry-pick FETCH_HEAD |
Note : The above bug fixes changes are temporary given as instructions. This is not required once the change is gets merged into the appropriate repo.
$ MACHINE=raspberrypi-rdk-broadband source meta-cmf-raspberrypi/setup-environment $ bitbake rdk-generic-broadband-image |
We will get the following RdkWanManager compilation errors While bitbake the target image,
../../../git/source/WanManager/wanmgr_interface_sm.c:720:62: error: macro "LOG_CONSOLE" passed 3 arguments, but takes just 0 LOG_CONSOLE("%s Wan_init_complete:%d\n",buffer,uptime); ^ ../../../git/source/WanManager/wanmgr_interface_sm.c:720:9: error: 'LOG_CONSOLE' undeclared (first use in this function) LOG_CONSOLE("%s Wan_init_complete:%d\n",buffer,uptime); ^~~~~~~~~~~ |
S.No | Recipe | Layer | Error/Warning | Root Cause | Action |
---|---|---|---|---|---|
1 | |||||
2 |