Disclaimer: im not a linux expert and the only reason im posting is because i looked everywhere (hopefully) so please be gentle if you are going to flame me.
-Attempting to compile libubus, wpa_supplicant and hostapd for my ASUS router(Armv7 based) running Merlin firmware. -The source for the packages is from Entware.
-I'm using latest POP_OS to compile the packages (and my first time ever doing something like this).
-The problem starts below. why does it claim that libubus doesn't exist?
vi package/system/ubus/Makefile remove the .* after libubus.so
run: make menuconfig
Select libubus, wpa_supplicant and hostapd-common
run: make -j1 package/network/services/hostapd/compile V=sc
Then i get the following error:
make[2]: Entering directory '/home/xxxx/Downloads/Entware/package/system/ubus' rm -rf /home/xxxx/Downloads/Entware/build_dir/target-arm_cortex-a9_glibc-2.27_eabi/ubus-2025.05.16~88e63250/.pkgdir/libubus.installed /home/xxxx/Downloads/Entware/build_dir/target-arm_cortex-a9_glibc-2.27_eabi/ubus-2025.05.16~88e63250/.pkgdir/libubus mkdir -p /home/xxxx/Downloads/Entware/build_dir/target-arm_cortex-a9_glibc-2.27_eabi/ubus-2025.05.16~88e63250/.pkgdir/libubus install -d -m0755 /home/xxxx/Downloads/Entware/build_dir/target-arm_cortex-a9_glibc-2.27_eabi/ubus-2025.05.16~88e63250/.pkgdir/libubus/lib cp -fpR /home/xxxx/Downloads/Entware/build_dir/target-arm_cortex-a9_glibc-2.27_eabi/ubus-2025.05.16~88e63250/ipkg-install/usr/lib/libubus.so /home/xxxx/Downloads/Entware/build_dir/target-arm_cortex-a9_glibc-2.27_eabi/ubus-2025.05.16~88e63250/.pkgdir/libubus/lib/ cp: cannot stat '/home/xxxx/Downloads/Entware/build_dir/target-arm_cortex-a9_glibc-2.27_eabi/ubus-2025.05.16~88e63250/ipkg-install/usr/lib/libubus.so': No such file or directory make[2]: *** [Makefile:83: /home/xxxx/Downloads/Entware/build_dir/target-arm_cortex-a9_glibc-2.27_eabi/ubus-2025.05.16~88e63250/.pkgdir/libubus.installed] Error 1 make[2]: Leaving directory '/home/xxxx/Downloads/Entware/package/system/ubus' time: package/system/ubus/compile#0.19#0.41#0.53 ERROR: package/system/ubus failed to build. make[1]: *** [package/Makefile:189: package/system/ubus/compile] Error 1 make[1]: Leaving directory '/home/xxxx/Downloads/Entware' make: *** [/home/xxxx/Downloads/Entware/include/toplevel.mk:233: package/network/services/hostapd/compile] Error 2 