1. Environment setup
Assuming that you installed and setup GCC for ARM (Linux x86). Else, reference here.
Be sure that you installed automake, autoconf, autoreconf. Else, you need install it.
To install Automake: sudo apt-get install automake
This also will install Autoreconf and Autoconf for you.
To check version of automake: automake --version.