Take a look at this link https://communities.intel.com/thread/51115 . Also, regarding the sed error take a look at the proper syntax of the command http://stackoverflow.com/questions/19071804/sed-cant-find-label-for-jump-to-omcat-users-d .
Let me know if you find this helpful.
I saw the link before, and I also checked the syntax of sed. I posted the error because I don't know which file causes the error, I have checked many scripts in the build but I couldn't find the cause.
Ok. I commented out the line
#eval sed -i $sed_expr $status_file
in the file
and it compiled successfully.