我使用beagleboard-xm,并使用buildroot创建rootfs,添加opkg包。现在,我想在angstrom中添加一些包,所以我在/etc/opkg/base-feed.conf中添加opkg更新源…
src/gz base http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/
" opkg update "命令报告许多错误信息"没有有效的体系结构,忽略。"
[root@beagleboard-xm ~]# opkg-cl update
Downloading http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base//Packages.gz.
Collected errors:
* pkg_hash_add_from_file: Package a52dec-doc version 0.7.4-r4.7 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package a52dec version 0.7.4-r4.7 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package abiword-dev version 2.8.6-r7.17 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package abiword-doc version 2.8.6-r7.17 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package abiword-meta version 2.8.6-r7.17 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package abiword-plugin-applix version 2.8.6-r7.17 has no valid architecture, ignoring.
......
然后我手动下载软件包,并将其解压为此链接,并复制到beagleboard-xm。运行时报告" No such file or directory "
[root@beagleboard-xm ~]# fbi
-bash: /usr/bin/fbi: No such file or directory
但是在这个链接中,opkg可以安装自己的build ipk包。ipk控制文件是否有差异?
为什么程序可以正常运行,但不能运行在构建根系统?
我明白了。当我添加"/etc/opkg/arch.conf"时,看起来没问题。
将来自一个发行版(Angstrom)的二进制文件与另一个发行版(Buildroot)的二进制文件混合在一起,可能会遇到许多ABI兼容性问题。你想做的事情没有多大意义:如果你想使用Angstrom包,使用Angstrom,而不是builroot。