I am trying to build CUPS for ipq806x/generic Cisco Meraki MR42 but I am having issues. Has anyone managed to do this recently? I am on OpenWrt 23.05.4 r24012-d8dd03c46f. Every guide I have tried has ended up, for some reason, building for the wrong architecture. I do select the MR42 in make menuconfig
but still seems to build for the wrong architecture. Right now I am trying this and will see where I get to.
Would appreciate some help with this!
brada4
July 28, 2024, 4:20am
2
Install prebuilt package?
What particular issues on what host system in which build method you are having?
CUPS isn't prebuilt anymore for OpenWRT. I'm using an x86 system to build.
ubuntu@ubuntu:~/openwrt$ make package/cups/compile
WARNING: Makefile 'package/feeds/telephony/freeswitch/Makefile' has a dependency on 'libpcre', which does not exist
make[2]: Entering directory '/home/ubuntu/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/ubuntu/openwrt/scripts/config'
make[1] package/cups/compile
make[2] -C package/libs/toolchain compile
make[2] -C feeds/packages/libs/libjpeg-turbo compile
make[2] -C package/libs/zlib compile
make[2] -C feeds/packages/libs/libpng compile
make[2] -C package/libs/libusb compile
make[2] -C feeds/packages/libs/libcups compile
make[2] -C feeds/cups/cups compile
ubuntu@ubuntu:~/openwrt$ find ./ -name \*ipk
./bin/packages/arm_cortex-a15_neon-vfpv4/packages/libjpeg-turbo_3.0.3-r1_arm_cortex-a15_neon-vfpv4.ipk
./bin/packages/arm_cortex-a15_neon-vfpv4/packages/libcups_2.3.0-r2_arm_cortex-a15_neon-vfpv4.ipk
./bin/packages/arm_cortex-a15_neon-vfpv4/packages/libpng_1.6.43-r1_arm_cortex-a15_neon-vfpv4.ipk
./bin/packages/arm_cortex-a15_neon-vfpv4/cups/cups_2.3.0-r2_arm_cortex-a15_neon-vfpv4.ipk
./bin/packages/arm_cortex-a15_neon-vfpv4/base/zlib_1.3.1-r1_arm_cortex-a15_neon-vfpv4.ipk
./bin/packages/arm_cortex-a15_neon-vfpv4/base/libusb-1.0-0_1.0.26-r3_arm_cortex-a15_neon-vfpv4.ipk
./bin/targets/ipq806x/generic/packages/librt_1.2.5-r4_arm_cortex-a15_neon-vfpv4.ipk
./bin/targets/ipq806x/generic/packages/libstdcpp6_13.3.0-r4_arm_cortex-a15_neon-vfpv4.ipk
./bin/targets/ipq806x/generic/packages/libatomic1_13.3.0-r4_arm_cortex-a15_neon-vfpv4.ipk
./bin/targets/ipq806x/generic/packages/libc_1.2.5-r4_arm_cortex-a15_neon-vfpv4.ipk
./bin/targets/ipq806x/generic/packages/libgcc1_13.3.0-r4_arm_cortex-a15_neon-vfpv4.ipk
./bin/targets/ipq806x/generic/packages/libpthread_1.2.5-r4_arm_cortex-a15_neon-vfpv4.ipk
Why is it building for arm_cortex-a15_neon-vfpv4 and not ipq806x?
How did you select your target device in make nconfig/menuconfig
?