I am trying to compile asuswrt on ubuntu 12.10
By following the procedure written in README.TXT
1. prepare environment
Install these packages (I used synaptic: "sudo synaptic")
libncurses5
libncurses5-dev
m4
bison
gawk
flex
libstdc++6-4.4-dev
g++-4.4
g++
git
gitk
zlib1g-dev
I have installed all these components, no problem so far.
2. prepare source to, ex, $HOME/asuswrt
cd $HOME
tar xvfz [tar file]
I have done that.
3. setup development system
ln -s $HOME/asuswrt/tools/brcm /opt/brcm
export PATH=$PATH:/opt/brcm/hndtools-mipsel-linux/bin:/opt/brcm/hndtools-mipsel-uclibc/bin
ln -s $HOME/asuswrt/tools/buildroot-gcc342 /opt/buildroot-gcc342
I get an error saying permission denied when doing this: ln -s $HOME/asuswrt/tools/brcm /opt/brcm
So I copied $HOME/asuswrt/tools/brcm to /opt/brcm
I have added those 2 paths to PATH.
And I don't see "buildroot-gcc342" in folder tools, so I did not do anything for this line.
4. build firmware, ex, rt-n16
cd release/src-rt/
make rt-n16
I replace rt-n16 with rt-n66, and got this error
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
make[1]: Entering directory `/home/ubuntu/Documents/asuswrt/release/src-rt'
bin is not a valid target!
make[1]: *** [bin] Error 1
make[1]: Leaving directory `/home/ubuntu/Documents/asuswrt/release/src-rt'
make: *** [rt-n66] Error 2
Can anyone guide me through this? What have I done wrong? Thank you
By following the procedure written in README.TXT
1. prepare environment
Install these packages (I used synaptic: "sudo synaptic")
libncurses5
libncurses5-dev
m4
bison
gawk
flex
libstdc++6-4.4-dev
g++-4.4
g++
git
gitk
zlib1g-dev
I have installed all these components, no problem so far.
2. prepare source to, ex, $HOME/asuswrt
cd $HOME
tar xvfz [tar file]
I have done that.
3. setup development system
ln -s $HOME/asuswrt/tools/brcm /opt/brcm
export PATH=$PATH:/opt/brcm/hndtools-mipsel-linux/bin:/opt/brcm/hndtools-mipsel-uclibc/bin
ln -s $HOME/asuswrt/tools/buildroot-gcc342 /opt/buildroot-gcc342
I get an error saying permission denied when doing this: ln -s $HOME/asuswrt/tools/brcm /opt/brcm
So I copied $HOME/asuswrt/tools/brcm to /opt/brcm
I have added those 2 paths to PATH.
And I don't see "buildroot-gcc342" in folder tools, so I did not do anything for this line.
4. build firmware, ex, rt-n16
cd release/src-rt/
make rt-n16
I replace rt-n16 with rt-n66, and got this error
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
make[1]: Entering directory `/home/ubuntu/Documents/asuswrt/release/src-rt'
bin is not a valid target!
make[1]: *** [bin] Error 1
make[1]: Leaving directory `/home/ubuntu/Documents/asuswrt/release/src-rt'
make: *** [rt-n66] Error 2
Can anyone guide me through this? What have I done wrong? Thank you