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。妹的,尷尬。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章