OpenWrt compile error

help, my dears. :anger: now i am going to compile openwrt in ubuntu 18 vmware.

this is first compile... :boom: but error.

root@openwrt-18:~/openwrt-18.06.6# make
time: target/linux/prereq#0.34#0.04#0.39
 make[1] world
 make[2] tools/compile
 make[3] -C tools/flock compile
 make[3] -C tools/sed compile
 make[3] -C tools/patch compile
 make[3] -C tools/xz compile
 make[3] -C tools/tar compile
make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
/home/kkh/openwrt-18.06.6/include/ recipe for target 'world' failed
make: *** [world] Error 1

help me.

Do not try to build as root, ever. Given that due to your previous attempts, the file access rights are messed up, I'd recommend to delete everything and to start with a fresh git clone. At no point in time do you need root, su or sudo.


I can confirm that building as root always fails, so do not do that.

1 Like

There's also an error that stops x86 from compiling on 18.06 HEAD. A fix is pending with Koen.

I use a debian9 VM for all my dev stuff and with export FORCE_UNSAFE_CONFIGURE=1 i never had any issues building as root.

Follow the error note and re-run with make V=s, post detailed error messages here.

many progress using $ permission, but error too.

so I tried make -j1 V=s. below is result.

plz, help me.

Your choice makes a lot of progress.
Please help me to the end.

Your choice makes a lot of progress.
Please help me to the end.
so sorry...

Why do you need to rebuild from source? Why not use the image builder?

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.