copperhead
Occasional Visitor
Router: Asus GT-AC2900
VM: Oracle VirtualBox 6.1.18
OS: Ubuntu 20.10 (Groovy), 64 bit
CPU: Intel Core i7-3770 CPU @ 3.40GHz × 2
A n00b Windows-4-Life user here attempting to compile the asuswrt-merlin.ng source code for the Asus GT-AC2900 router. I'm following the instructions here. The guide mentions using Ubuntu 12.04, which i tried but failed miserably, so am doing a fresh install of Ubuntu 20.10. The install went much better after adding steps to get past other compiling issues. Cuz, naturally.
After installing a fresh copy of Ubuntu 20.10 into VirtualBox 6.1.18, i allowed the OS to fully update itself and install any recommended software. I then opened Terminal to begin:
^^ Just to get it to start compiling!! RMerlin, i feel for you.
So after all that I'm still getting the following error message:
configure.ac:22: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
libtool is installed
pkg-config is installed
Thanks for any tips.
VM: Oracle VirtualBox 6.1.18
OS: Ubuntu 20.10 (Groovy), 64 bit
CPU: Intel Core i7-3770 CPU @ 3.40GHz × 2
A n00b Windows-4-Life user here attempting to compile the asuswrt-merlin.ng source code for the Asus GT-AC2900 router. I'm following the instructions here. The guide mentions using Ubuntu 12.04, which i tried but failed miserably, so am doing a fresh install of Ubuntu 20.10. The install went much better after adding steps to get past other compiling issues. Cuz, naturally.
After installing a fresh copy of Ubuntu 20.10 into VirtualBox 6.1.18, i allowed the OS to fully update itself and install any recommended software. I then opened Terminal to begin:
Code:
sudo apt update
sudo apt upgrade
sudo apt install build-essential
sudo apt install cmake
sudo apt install libgnutls28-dev
sudo apt install libtool-bin cmake libproxy-dev uuid-dev liblzo2-dev autoconf automake bash bison bzip2 diffutils file flex m4 g++ gawk groff-base libncurses-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++-multilib gitk libncurses5 mtd-utils libncurses5-dev libvorbis-dev git autopoint autogen sed build-essential intltool libelf1:i386 libglib2.0-dev xutils-dev lib32z1-dev lib32stdc++6 xsltproc gtk-doc-tools
gcc -v
cmake -version
cd ~
git clone https://github.com/RMerl/asuswrt-merlin.ng.git
git clone https://github.com/RMerl/am-toolchains.git
sudo ln -s ~/asuswrt-merlin.ng /media/ASUSWRT/asuswrt-merlin.ng
sudo ln -s ~/am-toolchains/brcm-arm-hnd /opt/toolchains
sudo ln -sf bash /bin/sh
sudo mkdir -p /media/ASUSWRT/
cd ~
wget https://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz
tar -xzvf automake-1.15.tar.gz
cd automake-1.15
./configure --prefix=/opt/aclocal-1.15
make
sudo mkdir -p /opt
sudo make install
echo "export LD_LIBRARY_PATH=$LD_LIBRARY:/opt/toolchains/crosstools-arm-gcc-5.3-linux-4.1-glibc-2.22-binutils-2.25/usr/lib" >> ~/.profile
echo "export TOOLCHAIN_BASE=/opt/toolchains" >> ~/.profile
echo "PATH=\$PATH:/opt/toolchains/crosstools-arm-gcc-5.3-linux-4.1-glibc-2.22-binutils-2.25/usr/bin" >> ~/.profile
echo "PATH=\$PATH:/opt/toolchains/crosstools-aarch64-gcc-5.3-linux-4.1-glibc-2.22-binutils-2.25/usr/bin" >> ~/.profile
echo "PATH=\$PATH:/opt/aclocal-1.15/bin" >> ~/.profile
** RESTART Ubuntu then reopen Terminal
cd ~/asuswrt-merlin.ng/release/src-rt-5.02hnd
make gt-ac2900
^^ Just to get it to start compiling!! RMerlin, i feel for you.
So after all that I'm still getting the following error message:
configure.ac:22: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
libtool is installed
pkg-config is installed
Thanks for any tips.
Last edited: