添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

SNBForums Code of Conduct

SNBForums is a community for everyone , no matter what their level of experience.

Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

The rules are simple: Be patient, be nice, be helpful or be gone!

I'm trying to compile merlin.ng from source (so I can enable some extra services)
I've followed the instructions (which allowed me to build for a rt-ac68u no problem)
However, it breaks very early on with:
make[4]: Entering directory '/home/jyavenard/asuswrt-merlin.ng/release/src-rt-5.02hnd/kernel/linux-4.1'
make[5]: '../../.config' is up to date.
scripts/kconfig/conf --olddefconfig Kconfig
../../bcmdrivers/Kconfig.autogen:2: syntax error
Kconfig.bcm:1336: missing end statement for this entry
Kconfig:15: missing end statement for this entry
../../bcmdrivers/Kconfig.autogen:1: invalid statement
Kconfig.bcm:1338: unexpected end statement
Kconfig:20: unexpected end statement
scripts/kconfig/Makefile:84: recipe for target 'olddefconfig' failed
make[5]: *** [olddefconfig] Error 1
Makefile:565: recipe for target 'oldnoconfig' failed
make[4]: *** [oldnoconfig] Error 2
make[4]: Leaving directory '/home/jyavenard/asuswrt-merlin.ng/release/src-rt-5.02hnd/kernel/linux-4.1'
make.hndrt:332: recipe for target 'prek' failed
make[3]: *** [prek] Error 2
make[3]: Leaving directory '/home/jyavenard/asuswrt-merlin.ng/release/src-rt-5.02hnd'
Makefile:4065: recipe for target 'setprofile' failed
make[2]: *** [setprofile] Error 2
make[2]: Leaving directory '/home/jyavenard/asuswrt-merlin.ng/release/src-rt-5.02hnd'
Makefile:3899: recipe for target 'bin' failed
make[1]: *** [bin] Error 2
make[1]: Leaving directory '/home/jyavenard/asuswrt-merlin.ng/release/src-rt-5.02hnd'
Makefile:4048: recipe for target 'rt-ac86u' failed
make: *** [rt-ac86u] Error 2
any ideas?
thanks I'm trying to compile merlin.ng from source (so I can enable some extra services)
I've followed the instructions (which allowed me to build for a rt-ac68u no problem)
However, it breaks very early on with:
make[4]: Entering directory '/home/jyavenard/asuswrt-merlin.ng/release/src-rt-5.02hnd/kernel/linux-4.1'
make[5]: '../../.config' is up to date.
scripts/kconfig/conf --olddefconfig Kconfig
../../bcmdrivers/Kconfig.autogen:2: syntax error
Kconfig.bcm:1336: missing end statement for this entry
Kconfig:15: missing end statement for this entry
../../bcmdrivers/Kconfig.autogen:1: invalid statement
Kconfig.bcm:1338: unexpected end statement
Kconfig:20: unexpected end statement
scripts/kconfig/Makefile:84: recipe for target 'olddefconfig' failed
make[5]: *** [olddefconfig] Error 1
Makefile:565: recipe for target 'oldnoconfig' failed
make[4]: *** [oldnoconfig] Error 2
make[4]: Leaving directory '/home/jyavenard/asuswrt-merlin.ng/release/src-rt-5.02hnd/kernel/linux-4.1'
make.hndrt:332: recipe for target 'prek' failed
make[3]: *** [prek] Error 2
make[3]: Leaving directory '/home/jyavenard/asuswrt-merlin.ng/release/src-rt-5.02hnd'
Makefile:4065: recipe for target 'setprofile' failed
make[2]: *** [setprofile] Error 2
make[2]: Leaving directory '/home/jyavenard/asuswrt-merlin.ng/release/src-rt-5.02hnd'
Makefile:3899: recipe for target 'bin' failed
make[1]: *** [bin] Error 2
make[1]: Leaving directory '/home/jyavenard/asuswrt-merlin.ng/release/src-rt-5.02hnd'
Makefile:4048: recipe for target 'rt-ac86u' failed
make: *** [rt-ac86u] Error 2
any ideas?
thanks I updated the wiki instructions not long back with how I got it to build on Ubuntu and what you have to add/change.
https://github.com/RMerl/asuswrt-merlin/wiki/Compile-Firmware-from-source-using-Ubuntu I updated the wiki instructions not long back with how I got it to build on Ubuntu and what you have to add/change.
https://github.com/RMerl/asuswrt-merlin/wiki/Compile-Firmware-from-source-using-Ubuntu yes this is the guide I've been following.
Anyhow, it's just master/HEAD that fails to compile. tag 382.2* builds fine...
I haven't looked in details on what's needed to fix it...
Asuswrt-Merlin: Customized firmware for Asus routers
Github: github.com/RMerl - Mastodon: @[email protected] - Bluesky: @asuswrt-merlin.net - Libera: #asuswrt
See the sticky post for more info.
Change link /bin/sh to point to the bash shell, not dash .
Always compile from a fresh backup copy of the source code. Do not type anywhere make clean . Do not try to compile a different target after successfully compiling another one. That's what I figured and I didn't do make clean, and also changed sh to link to bash.
this didn't help.
Looks like something wasn't checked-in in the tree to me...
Edit: It's building fine after the today's pull rm -f 9a7ccd464cb535a1b39cc3e34421bc5b4ceb25f4.tar.gz wget https://github.com/RMerl/asuswrt-merlin.ng/archive/9a7ccd464cb535a1b39cc3e34421bc5b4ceb25f4.tar.gz tar xzvf 9a7ccd464cb535a1b39cc3e34421bc5b4ceb25f4.tar.gz rm -rf asuswrt-merlin.ng mv asuswrt-merlin.ng-master asuswrt-merlin.ng rm -rf ~/asuswrt-merlin.ng/release/src-rt-5.02hnd/bcmdrivers/broadcom/net/wl/impl51/main/src/toolchains ln -s ~/am-toolchains/brcm-arm-hnd ~/asuswrt-merlin.ng/release/src-rt-5.02hnd/bcmdrivers/broadcom/net/wl/impl51/main/src/toolchains rm -rf ~/asuswrt-merlin.ng/release/src-rt-6.x.4708/toolchains ln -s ~/am-toolchains/brcm-arm-sdk ~/asuswrt-merlin.ng/release/src-rt-6.x.4708/toolchains sudo rm -f /bin/sh && sudo ln -s bash /bin/sh export LD_LIBRARY_PATH=/opt/toolchains/crosstools-arm-gcc-5.3-linux-4.1-glibc-2.22-binutils-2.25/usr/lib export TOOLCHAIN_BASE=/opt/toolchains echo $PATH | grep -qF /opt/toolchains/crosstools-arm-gcc-5.3-linux-4.1-glibc-2.22-binutils-2.25/usr/bin || export PATH=$PATH:/opt/toolchains/crosstools-arm-gcc-5.3-linux-4.1-glibc-2.22-binutils-2.25/usr/bin echo $PATH | grep -qF /opt/toolchains/crosstools-aarch64-gcc-5.3-linux-4.1-glibc-2.22-binutils-2.25/usr/bin || export PATH=$PATH:/opt/toolchains/crosstools-aarch64-gcc-5.3-linux-4.1-glibc-2.22-binutils-2.25/usr/bin cd ~/asuswrt-merlin.ng/release/src-rt-5.02hnd make rt-ac86u

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts , Ranker and plenty more!

This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies. Accept Learn more…