Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We will get the following RdkWanManager rdk-wanmanager compilation errors While bitbake bitbaking the target image,


Code Block
languagebash
themeDJango
titlerdk-wanmanager Compilation Errors
collapsetrue
../../../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);
         ^~~~~~~~~~~


Code Block
languagebash
themeDJango
titlerdk-wanmanager compilation Fix
$ cd ~/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/rdk-wanmanager/1.99+gitAUTOINC+b6db33d891-r0/git/source
$ git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/RdkWanManager refs/changes/00/58500/2 && git cherry-pick FETCH_HEAD

$ bitbake rdk-wanmanager -c compile -f
$ bitbake  rdk-generic-broadband-image

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.


Errors and Challenges in yocto

...