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.