Table of Contents
This is a common part for both La Fonera and Netgear WGT634U.
Install required packages on your system:
gcc, binutils, patch, bzip2, flex, bison, make, gettext, pkg-config, unzip, libz-dev and libc.
In Debian/Ubuntu Linux, for example, do like this:
# apt-get install gcc binutils-dev patch bzip2 libbz2-dev flex bison make gettext pkg-config unzip zlib1g-dev libc6-dev
If you are using bash, make sure that your shell option does not include the noclobber option. First check if noclobber is included in your shell option.
$ set | grep -i noclobber SHELLOPTS=braceexpand:emacs:hashall:histexpand:interactive-comments:monitor:noclobber:notify
Like this case, if you have that option, you must remove set -o noclobber in your $HOME/.bashrc file. Otherwise you might encounter a lot of errors while building OpenWRT, like "cannot overwrite existing files".
Checkout and build the openWRT sources following this manual: http://wiki.openwrt.org/OpenWrtDocs/BuildingKamikazeHowTo It is not much different for each version, no matter the 7.09 release or the svn devel tree.