Hi Prashant,
It seems that you are missing essential utilities, please install them:
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo \
build-essential chrpath libsdl1.2-dev xterm curl
Also, this is a very good training that you can follow if you have any more questions about Yocto Yocto Training - HOME.
Best Regards,
Isaí