Before input 'gpio readall', need install wiringPigit
download "wiringPi":git clone git://git.drogon.net/wiringPiui
enter the file of wiringPi.net
build and install: ./build blog