I ran into this error and fixed it by removing the include directive for error.h:
/drivers/common/dpaax/compat.h:37:10: fatal error: error.h: No such file or directory Not sure if this change was missing or if there is some other way the build should be configured.