openwrt安装ipk报错“incompatible with the architectures configured”
·
在高通平台上安装ipk的时候报了下面的错:
Unknown package 'php7-mod-sqlite3'.
Collected errors:
* pkg_hash_fetch_best_installation_candidate: Packages for php7-mod-sqlite3 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package php7-mod-sqlite3.
显然是架构不对,看了一眼9533的cpuinfo
cat /proc/cpuinfo
system type : Qualcomm Atheros QCA9533 ver 2 rev 0
machine : xxxxx
processor : 0
cpu model : MIPS 24Kc V7.4
BogoMIPS : 432.53
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
原来是MIPS 24Kc,ipk的包用错了php7-mod-sqlite3_7.2.16-1_mipsel_24kc.ipk,应该使用php7-mod-sqlite3_7.2.16-1_mip_24kc.ipk。妹的,尴尬。
更多推荐
已为社区贡献9条内容
所有评论(0)