What OS do you use to build with? I shut down my build server around a year ago, and trying to compile from source on any fresh ubuntu image (12.04 > 16.04) seems to be a nightmare of endless errors
try this ' o' (for ubuntu 16.04 64bit)
dpkg --add-architecture i386
apt-get update
apt-get install git autoconf automake bash bison bzip2 diffutils file flex \
m4 g++ gawk groff-base libncurses5-dev libtool libslang2 make patch perl \
pkg-config shtool subversion tar texinfo zlib1g zlib1g-dev git-core gettext \
libexpat1-dev libssl-dev cvs gperf unzip python libxml-parser-perl gcc-multilib \
gconf-editor libxml2-dev g++-4.7 g++-multilib gitk libncurses5 mtd-utils \
libstdc++6-4.7-dev libvorbis-dev g++-4.7-multilib autopoint xutils-dev \
autogen sed build-essential intltool libelf1:i386 libglib2.0-dev lib32z1-dev \
lib32stdc++6 libproxy-dev libltdl-dev
cd /root
git clone https://github.com/RMerl/asuswrt-merlin.git
cd asuswrt-merlin/
git tag -l
git checkout 380.67-beta3
ln -s ~/asuswrt-merlin/tools/brcm /opt/brcm
ln -s ~/asuswrt-merlin/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3 /opt/brcm-arm
export PATH=$PATH:/opt/brcm/hndtools-mipsel-linux/bin:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/brcm-arm/bin
sudo mkdir -p /media/ASUSWRT/
sudo ln -s ~/asuswrt-merlin /media/ASUSWRT/asuswrt-merlin
cp /usr/include/proxy.h ~/asuswrt-merlin/release/src/router/neon/
cd ~/asuswrt-merlin/release/src/router/libdaemon
aclocal
cd ~/asuswrt-merlin/release/src/router/libxml2
sed -i s/AM_C_PROTOTYPES/#AM_C_PROTOTYPES/g ~/asuswrt-merlin/release/src/router/libxml2/configure.in
aclocal
cd ~/asuswrt-merlin/release/src-rt-6.x.4708/
make rt-ac68u
Last edited: