What's new

380_66 compile error ubuntu LTS 16.04 for RT-AC68u

  • 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!

dede

New Around Here
Hello,

I try to build the Asus merlin on Ubuntu LTS under virtual boxe .
I follow all the wiki (https://github.com/RMerl/asuswrt-merlin/wiki/Compile-Firmware-from-source-using-Ubuntu), check the debian wiki too, perform the modifications indicated at the end of the wiki, cross around the web, add several packages... but nothing, download again (and again, and again... the git directory). But Nothing. I always have the ****** following error (I spent more than 2 weeks on it..).

So, hope you can help me.. else... I will take a revenge on my ice cream !!

make[5]: 'include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
Kernel: arch/arm/boot/Image is ready
SHIPPED arch/arm/boot/compressed/mpcore_cache.S
SHIPPED arch/arm/boot/compressed/lib1funcs.S
AS arch/arm/boot/compressed/mpcore_cache.o
AS arch/arm/boot/compressed/lib1funcs.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
make[4]: Leaving directory '/home/dede/asuswrt-merlin/release/src-rt-6.x.4708/linux/linux-2.6.36'
make[4]: Entering directory '/home/dede/asuswrt-merlin/release/src-rt-6.x.4708/linux/linux-2.6.36'
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[5]: 'include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
LD [M] drivers/net/ctf/ctf.o
LD [M] drivers/net/wl/wl.o
Building modules, stage 2.
MODPOST 143 modules
WARNING: could not find drivers/net/ctf/../../../../../../src-rt-6.x.4708/router/ctf_arm//linux/.ctf.o.cmd for drivers/net/ctf/../../../../../../src-rt-6.x.4708/router/ctf_arm//linux/ctf.o
WARNING: could not find drivers/net/emf/../../../../../../src-rt-6.x.4708/router/emf_arm/.emf.o.cmd for drivers/net/emf/../../../../../../src-rt-6.x.4708/router/emf_arm/emf.o
WARNING: could not find drivers/net/igs/../../../../../../src-rt-6.x.4708/router/emf_arm/.igs.o.cmd for drivers/net/igs/../../../../../../src-rt-6.x.4708/router/emf_arm/igs.o
WARNING: could not find drivers/net/wl/../../../../../../src-rt-6.x.4708/wl/linux/.wl_apsta.o.cmd for drivers/net/wl/../../../../../../src-rt-6.x.4708/wl/linux/wl_apsta.o
LD [M] drivers/net/ctf/ctf.ko
LD [M] drivers/net/wl/wl.ko
make[4]: Leaving directory '/home/dede/asuswrt-merlin/release/src-rt-6.x.4708/linux/linux-2.6.36'
# Preserve the debug versions of these and strip for release
make[3]: Leaving directory '/home/dede/asuswrt-merlin/release/src/router'
Makefile:202: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/dede/asuswrt-merlin/release/src-rt-6.x.4708'
Makefile:2821: recipe for target 'bin' failed
make[1]: *** [bin] Error 2
make[1]: Leaving directory '/home/dede/asuswrt-merlin/release/src-rt-6.x.4708'
Makefile:2891: recipe for target 'rt-ac68u' failed
make: *** [rt-ac68u] Error 2

I start from an ubuntu LTS from scratch, so there is nothing more than the required packages indicated in the wiki.

Many thanks from the Japan
 
Thanks

Think that it was due to the absence of the automake1.11....
Because I performed all the procedure before
 
Grrrrrrrrrrrrrrrrrrrmppph
In fact, it does not compile again:

../librpc/ndr/ndr_spoolss_buf.o: In function `ndr_push_spoolss_PrinterInfo2':
ndr_spoolss_buf.c:(.text.ndr_push_spoolss_PrinterInfo2+0x448): undefined reference to `ndr_push_spoolss_DeviceMode'
ndr_spoolss_buf.c:(.text.ndr_push_spoolss_PrinterInfo2+0x708): undefined reference to `ndr_push_spoolss_PrinterAttributes'
ndr_spoolss_buf.c:(.text.ndr_push_spoolss_PrinterInfo2+0x780): undefined reference to `ndr_push_spoolss_PrinterStatus'
collect2: ld returned 1 exit status
Makefile:2654: recipe for target 'bin/libsmbclient.so.0' failed
make[5]: *** [bin/libsmbclient.so.0] Error 1
make[5]: *** Waiting for unfinished jobs....
bin/libtdb.a(transaction.o): In function `tdb_transaction_commit':
transaction.c:(.text.tdb_transaction_commit+0x144): warning: the use of OBSOLESCENT `utime' is discouraged, use `utimes'
./../lib/replace/replace.o: In function `rep_mkstemp':
replace.c:(.text.rep_mkstemp+0x4): warning: the use of `mktemp' is dangerous, better use `mkstemp'
modules/vfs_default.o: In function `vfswrap_ntimes':
vfs_default.c:(.text.vfswrap_ntimes+0x180): warning: the use of OBSOLESCENT `utime' is discouraged, use `utimes'
./../lib/replace/replace.o: In function `rep_mkstemp':
replace.c:(.text.rep_mkstemp+0x4): warning: the use of `mktemp' is dangerous, better use `mkstemp'
make[5]: Leaving directory '/home/dede/asuswrt-merlin/release/src/router/samba36/source3'
Makefile:31: recipe for target 'apps' failed
make[4]: *** [apps] Error 2
make[4]: Leaving directory '/home/dede/asuswrt-merlin/release/src/router/samba36'
Makefile:2370: recipe for target 'samba36' failed
make[3]: *** [samba36] Error 2
make[3]: Leaving directory '/home/dede/asuswrt-merlin/release/src/router'
Makefile:202: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/dede/asuswrt-merlin/release/src-rt-6.x.4708'
Makefile:2821: recipe for target 'bin' failed
make[1]: *** [bin] Error 2
make[1]: Leaving directory '/home/dede/asuswrt-merlin/release/src-rt-6.x.4708'
Makefile:2891: recipe for target 'rt-ac68u' failed
make: *** [rt-ac68u] Error 2
 
Welcome to my world. And be glad you don't also have to deal with the issues in Asus's own GPL archives, such as missing or mismatched binary blobs...
 
It's.... boring
Don't understand how some people with the same configuration can build and not me...
so, they reinstall (again) my virtual box and do it from scratch again...

And this time, it seems goood :)
Thanks guy
 
Last edited:

Similar threads

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!

Staff online

Top