如何在 i386 FreeBSD 上构建 libunwind?
libunwind 在 FreeBSD 8.1 amd64 上作为软件包 (pkg_add -r libunwind) 提供。
它在 FreeBSD 8.1 i386 上不可用。
当我从 http://www.nongnu.org/libunwind/ 下载时,我无法构建它。
错误是 在 ptrace/_UPT_elf.c:4 包含的文件中: ../include/libunwind_i.h:65:5: 错误:#error 主机字节顺序未知。 * 错误代码 1
这似乎是 ./configure 错误。有没有办法在配置时强制这些信息?
libunwind is available as a package (pkg_add -r libunwind) on FreeBSD 8.1 amd64.
It is not available that way on FreeBSD 8.1 i386.
When I download from http://www.nongnu.org/libunwind/ I cannot build it.
The error is
In file included from ptrace/_UPT_elf.c:4:
../include/libunwind_i.h:65:5: error: #error Host has unknown byte-order.
* Error code 1
This appears to be a ./configure error. Is there a way to force this information at configuration time?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据此页面: http://www.freshports.org/devel/libunwind/
libunwind 适用于 i386,并已于 8 月 12 日修复。
如果该包不可用,您可以从 ports 构建它。
According to this page: http://www.freshports.org/devel/libunwind/
libunwind is available for i386 and has been fixed on August the 12th.
If the package is not available, you can then probably build it from ports.