Debian MIPS,有没有 ELF 32-bit LSB executable 版……

2014-12-28 17:22:07 +08:00
 extreme

在MT7620A上安装chroot版的Debian,但最后出现无法执行mount的提示:
W: Failure trying to run: chroot /root/sdhc mount -t proc proc /proc
W: See /root/sdhc/debootstrap/debootstrap.log for details
用file对比了下文件:
root@OpenWrt:~/sdhc# file /usr/bin/mount
/usr/bin/mount: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1, dynamically linked (uses shared libs), corrupted section header size
root@OpenWrt:~/sdhc# file bin/mount
bin/mount: setuid ELF 32-bit MSB executable, MIPS, MIPS-II version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=cc4ee3da10f449fdffb58a479e25af5841d485e7, stripped

一个LSB,一个MSB,恐怕问题是出在这里吧?
除了自己编译,有没有更好的解决方案?

1023 次点击
所在节点    OpenWrt
2 条回复
LazyZhu
2014-12-28 17:31:48 +08:00
MT7620A是小端, 用 debian mipsel
extreme
2014-12-29 13:02:26 +08:00
@LazyZhu 原来如此,我以为都是mips,非常感谢。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/157352

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX