Hello, I was trying to build version 1.12 for my gl-ar150 with my vm. I was using Ubuntu 14.04 64 bit. I've done what is in the following link viewtopic.php?f=14&t=11883&sid=45ecc9ed ... fa1a3a6681, this viewtopic.php?f=8&t=11430&hilit=youku+yk+l1c&start=30, and this viewtopic.php?t=11793, switched the branch to 1.12, created a config file using make custom and save it to my own folder, created my own profile images, and ran 'Make ar71xx.glar150', and also I always tried to do 'make clean' but it always failed and got an error like this
renameat2.c:81:22: note: each undeclared identifier is reported only once for each function it appears in
make[8]: *** [renameat2.o] Error 1
make[8]: Leaving directory `/home/test/gargoyle/ar71xx-src/build_dir/host/patch-2.7.6/lib'
make[7]: *** [all] Error 2
make[7]: Leaving directory `/home/test/gargoyle/ar71xx-src/build_dir/host/patch-2.7.6/lib'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/test/gargoyle/ar71xx-src/build_dir/host/patch-2.7.6'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/test/gargoyle/ar71xx-src/build_dir/host/patch-2.7.6'
make[4]: *** [/home/test/gargoyle/ar71xx-src/build_dir/host/patch-2.7.6/.built] Error 2
make[4]: Leaving directory `/home/test/gargoyle/ar71xx-src/tools/patch'
time: tools/patch/compile#105.90#36.68#158.54
make[3]: *** [tools/patch/compile] Error 2
make[3]: Leaving directory `/home/test/gargoyle/ar71xx-src'
make[2]: *** [/home/test/gargoyle/ar71xx-src/staging_dir/target-mips_24kc_musl/stamp/.tools_compile_yynyyyyynyyyyynyynnyyyyyyyyyyyyyyyyyyyynyynynyyyynnyy] Error 2
make[2]: Leaving directory `/home/test/gargoyle/ar71xx-src'
make[1]: *** [world] Error 2
make[1]: Leaving directory `/home/test/gargoyle/ar71xx-src'
find: `bin/packages/mips_24kc': No such file or directory
find: cannot search `': No such file or directory
find: cannot search `': No such file or directory
find: `bin/targets/ar71xx/generic': No such file or directory
find: cannot search `': No such file or directory
find: cannot search `': No such file or directory
ls: cannot access bin/targets: No such file or directory
Did I miss something, so that it always fails and gets an error like that?
Please advise if there is a way to successfully build the image.
Thanks in advance for your help.
You didn't include enough lines in the error.
In either case, high chance that your old Ubuntu version is to blame. Move to 18.04 or 20.04 if possible.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
You didn't include enough lines in the error.
In either case, high chance that your old Ubuntu version is to blame. Move to 18.04 or 20.04 if possible.
Which lines do you mean ?. Because the error that I posted is all the last error lines after failed to build. I will try with the latest version of Ubuntu.
So you're at least 2 lines short of showing what the actual error is. You only showed the help part which reminds us that we won't see this error again for the same issue in the same file.
But there would be significantly more contextual information in the 50 to 500 lines preceding that one.
With Ubuntu 20.04, make sure you install the python-is-python3 package.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libidn2', which does not exist
WARNING: Makefile 'package/gargoyle-firewall-util/Makefile' has a dependency on 'iptables-mod-bandwidth', which does not exist
WARNING: Makefile 'package/gargoyle-firewall-util/Makefile' has a dependency on 'iptables-mod-timerange', which does not exist
WARNING: Makefile 'package/gargoyle-firewall-util/Makefile' has a dependency on 'iptables-mod-weburl', which does not exist
WARNING: Makefile 'package/gnutls/Makefile' has a dependency on 'kmod-cryptodev', which does not exist
WARNING: Makefile 'package/libiptbwctl/Makefile' has a dependency on 'iptables-mod-bandwidth', which does not exist
WARNING: Makefile 'package/qos-gargoyle/Makefile' has a dependency on 'iptables-mod-imq', which does not exist
WARNING: Makefile 'package/webmon-gargoyle/Makefile' has a dependency on 'iptables-mod-webmon', which does not exist
, this happened on the first start building the image
It looks like you have not selected all of the required iptables mods. These are all the custom modules that Gargoyle patches into the build root.
So checking a few things
1. Are you still using the Gargoyle build process or are you attempting to shortcut this?
2. Did you select the appropriate iptables modules?
You should check one of the existing config files for guidance.
If you get stuck, post your full config here and I'll try to help.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Hi Lantis,
1. Sorry if I misunderstood your question but I think yes, I still using the gargoyle process build
2. I think I already selected all appropriate iptables modules
I tried to post my full config here but can not and it said my message contains characters exceed than 60000 characters. Is there any other way to submit my full config?
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.