dave14305
Part of the Furniture
I don’t think it’s meant to work on 22.04, is it?Another fresh install on new VM with Ubuntu 22.04.1
I don’t think it’s meant to work on 22.04, is it?Another fresh install on new VM with Ubuntu 22.04.1
Pretty sure it was OK to compile under 22.04 - before all those location changes were introduced by Merlin.I don’t think it’s meant to work on 22.04, is it?
Doesn't work in 20.04 either ...I don’t think it’s meant to work on 22.04, is it?
Mine all start in parallel, don’t yours?No point in trying multiple compiles - it crashes out after the first fail and does not go on to do any of the others "enabled" in the settings list.
My only interest in the script was to help it keep pace with the evolving models, since Adamm had asked for volunteers and everyone else sat there with their hands in their pockets. I have no need to compile firmware that I don’t use.Over to you @dave14305 and @Adamm - when you have the spare time
make[8]: Entering directory '/home/ubuntu/amng/release/src/router/strongswan/conf'
GEN options/charon.conf
GEN options/charon-logging.conf
GEN options/charon-nm.conf
GEN options/charon-systemd.conf
/opt/toolchains/crosstools-aarch64-gcc-9.2-linux-4.19-glibc-2.30-binutils-2.32/usr/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
They may well have started in parallel - I didn't check at the time - but as soon as one of the builds failed - the script terminated back to prompt and nothing further happened after that.Mine all start in parallel, don’t yours?
I really appreciate the time you took, the 13+ script revisions and 9+pull requests you provided ... every one of them improving what was there before and advancing the point of failure to somewhere real close to the end of the compile. I'm not a coder - or I would certainly have rolled up my sleeves.My only interest in the script was to help it keep pace with the evolving models, since Adamm had asked for volunteers and everyone else sat there with their hands in their pockets.
Have you also abandoned Merlinware - gone back to stock ... or shifted away from Asus products ?I have no need to compile firmware that I don’t use.
Like I said somewhere before - it may well be the Master which is "cooked" for purposes of self-compiling.Hopefully others with more compiling experience will help. Try the autoreconf suggestion offered earlier for wget. My last rt-AC86U compile failed looking for libpython27 during strongswan build.
Interesting that it was using the HND5.04 toolchain python for an HND5.02 build.Makefile:make[8]: Entering directory '/home/ubuntu/amng/release/src/router/strongswan/conf' GEN options/charon.conf GEN options/charon-logging.conf GEN options/charon-nm.conf GEN options/charon-systemd.conf /opt/toolchains/crosstools-aarch64-gcc-9.2-linux-4.19-glibc-2.30-binutils-2.32/usr/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
automake-1.15
, libpython2.7:i386
, and autoconf-archive
. Not sure if all these are needed, so I will try again from scratch without the libpython27:i386
and see how it turns out.-j 8
in their makefiles that really grind my free 2-proc cloud VM to a halt.Done - [plus automake-1.15 and libpython2.7:i386 ... now trying a compile of RT-AC86U which you succeeded with.Installautoconf-archive
to get past the wget error.
Code:sudo apt install autoconf-archive
Only my build that includedBoth RT-AC86U and separately the RT-AX86U complied successfully.
libpython2.7:i386
was successful. Will try again without libpython2.7
but adding libpython2.7:i386
.It doesn’t get written to the config file at all. But it only matters if you build AC68U and AC68UV4. No other purpose for it. Needs to be fixed still.Item 14 under settings will not retain "Enabled" for --> Combined Images"
22.04 is not supported by the Broadcom SDK. Use 20.04 instead.Another fresh install on new VM with Ubuntu 22.04.1 - still broken.
Hopefully others with more compiling experience will help. Try the autoreconf suggestion offered earlier for wget. My last rt-AC86U compile failed looking for libpython27 during strongswan build.
sudo apt install python-is-python
I assume you meant ...Code:sudo apt install python-is-python
That's because of the switch to python3.
sudo apt install python-is-python3
No, as you don't want to make python 3 the default, as this is what is causing the problem.I assume you meant ...
root@ubuntu-dev:/var# ls -al /usr/bin/python
lrwxrwxrwx 1 root root 7 Apr 15 2020 /usr/bin/python -> python2
AiMesh central antenna diversity selection (RTCONFIG_AMAS_CENTRAL_ADS) [N/y] n
no wl (RTCONFIG_NOWL) [N/y] n
configuration for Intel EVO program certificate (RTCONFIG_INTEL_EVO) [N/y] n
sw speed led (RTCONFIG_SW_SPDLED) [N/y] n
962118G in 504 (RTCONFIG_BCM4906_504) [N/y] n
Automatically detect where the WAN port is (RTCONFIG_AUTO_WANPORT) [N/y] n
un-management-mode rtl switch's ops (RTCONFIG_RTL_UMGMT) [N/y] n
make shared-clean libdisk-clean rc-clean nvram-clean httpd-clean prebuilt-clean libbcmcrypto-clean
make[4]: Entering directory '/home/evg/amng-build/release/src/router'
"CLM In /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/../../43684/src/wl/clm/src/ NOT CREATING new clm_blob ..."
make[5]: Entering directory '/home/evg/amng-build/release/src/router/shared'
cc1: fatal error: /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/busybox/include/autoconf.h: No such file or directory
compilation terminated.
cc1: fatal error: /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/busybox/include/autoconf.h: No such file or directory
compilation terminated.
cc1: fatal error: /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/busybox/include/autoconf.h: No such file or directory
compilation terminated.
cc1: fatal error: /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/busybox/include/autoconf.h: No such file or directory
compilation terminated.
cc1: fatal error: /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/busybox/include/autoconf.h: No such file or directory
compilation terminated.
cc1: fatal error: /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/busybox/include/autoconf.h: No such file or directory
compilation terminated.
cc1: fatal error: /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/busybox/include/autoconf.h: No such file or directory
compilation terminated.
cc1: fatal error: /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/busybox/include/autoconf.h: No such file or directory
compilation terminated.
cc1: fatal error: /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/busybox/include/autoconf.h: No such file or directory
compilation terminated.
version.c:3:21: fatal error: version.h: No such file or directory
compilation terminated.
defaults.c:11:21: fatal error: version.h: No such file or directory
compilation terminated.
defaults.c:11:21: fatal error: version.h: No such file or directory
compilation terminated.
rm -f *.o *.so *.a .*.depend *.prep sysdeps/*.o sysdeps/broadcom/*.o sysdeps/ralink/*.o sysdeps/qtn/*.o
make[5]: Leaving directory '/home/evg/amng-build/release/src/router/shared'
make[5]: Entering directory '/home/evg/amng-build/release/src/router/libdisk'
rm -f *.o libdisk.so write_smb_conf test_of_var_files test_disk1 test_disk2 test_share write_webdav_conf write_webdav_conf
make[5]: Leaving directory '/home/evg/amng-build/release/src/router/libdisk'
make[5]: Entering directory '/home/evg/amng-build/release/src/router/rc'
rm -f rc *.o .*.depend *.prep libconn_diag.so
rm -f wps_pbcd
make[5]: Leaving directory '/home/evg/amng-build/release/src/router/rc'
make[5]: Entering directory '/home/evg/amng-build/release/src-rt-5.02axhnd/router-sysdep/wlan/nvram'
rm -f *.o
rm -f libnvram.so nvram nvram_shared.o main.o brcm_generic_lock.o
make[5]: Leaving directory '/home/evg/amng-build/release/src-rt-5.02axhnd/router-sysdep/wlan/nvram'
make[5]: Entering directory '/home/evg/amng-build/release/src/router/httpd'
In file included from /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/json-c/json_object.h:24:0,
from /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/json-c/linkhash.h:16,
from /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/json-c/json.h:22,
from data_arrays.c:67:
/home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/json-c/json_inttypes.h:5:25: fatal error: json_config.h: No such file or directory
compilation terminated.
In file included from web.c:126:0:
/home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/networkmap/networkmap.h:11:21: fatal error: version.h: No such file or directory
compilation terminated.
In file included from /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/json-c/json_object.h:24:0,
from ej.c:42:
/home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/json-c/json_inttypes.h:5:25: fatal error: json_config.h: No such file or directory
compilation terminated.
In file included from /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/json-c/json_object.h:24:0,
from /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/json-c/linkhash.h:16,
from /home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/json-c/json.h:22,
from cgi.c:42:
/home/evg/amng-build/release/src-rt-5.02axhnd/bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/json-c/json_inttypes.h:5:25: fatal error: json_config.h: No such file or directory
compilation terminated.
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!