What's new

Compiling firmware from sources

Do a make openvpn-clean first, it should generate the missing configure script then.
 
Turns out this is more complicated than anything, so I reverted the change. Remove the entire openvpn directory, then checkout a clean copy of it. After that you can do a "git pull" to get the pregenerated versions of the various Makefile.in.
 
I'm getting these errors when compiling firmware from source.

Code:
cd libxml2 && \
	CC=mipsel-uclibc-gcc AR=mipsel-uclibc-ar RANLIB=mipsel-uclibc-ranlib LD=mipsel-uclibc-ld CFLAGS="-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -DDEBUG_NOISY -DDEBUG_RCTEST -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32r2 -mips32r2 -DRTCONFIG_NVRAM_64K  -DLINUX_KERNEL_VERSION=132630" \
	././configure --host=mipsel-linux --build=x86_64-linux-gnu --prefix=/usr --without-python --disable-dependency-tracking
configure: WARNING: unrecognized options: --disable-dependency-tracking
././configure: line 2244: syntax error near unexpected token `config.h'
././configure: line 2244: `AM_CONFIG_HEADER(config.h)'
make[3]: *** [libxml2/stamp-h1] Error 2
make[3]: Leaving directory `/home/pieter-jan/asuswrt-merlin/release/src/router'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/pieter-jan/asuswrt-merlin/release/src-rt-6.x'
make[1]: *** [bin] Error 2
make[1]: Leaving directory `/home/pieter-jan/asuswrt-merlin/release/src-rt-6.x'
make: *** [rt-ac66u] Error 2
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Members online

Back
Top