i.MX Yocto Project: What Can I Do if I Run Into a Compilation Error?

Document created by Leonardo Sandoval Gonzalez Employee on Feb 8, 2013Last modified by Leonardo Sandoval Gonzalez Employee on Jun 12, 2013
Version 7Show Document
  • View in full screen mode

1. When reusing the build directory, sometimes compilation errors are seen; to overcome these, a fast solution is to clean the Share State Cache of the particular recipe/package

$ bitbake <name of the recipe> -c cleansstate


2. Re-run the recipe

$ bitbake <name of the recipe>


3. Re-run the bitbake command you were running, before getting into trouble. For example:

$ bitbake fsl-image-gui


In case the problem persists, please send the log into the mailing list or check if this issue has been reported previously.