Buildroot - 构建 jamvm 1.5.1 时出错

发布于 2024-12-17 00:39:40 字数 1206 浏览 4 评论 0原文

在尝试构建我的 Buildroot 环境时,我遇到了(另一个)构建错误。请注意,这个问题与(但不依赖于)我之前(已解决)的问题有关此处此处

我正在尝试在内核以及 JamVM 中包含蓝牙支持,但我已经成功构建了一个包含 Jamvm 的 Buildroot 环境,但现在由于某种原因构建失败了。

当构建过程达到:

<块引用> <块引用>

jamvm 1.5.1 配置

最终失败并出现错误:

正在检查 ecj...(已缓存)javac -Xlint:未选中、强制转换、divzero、空、最后、覆盖

正在检查 -lpthread 中的 pthread_self...是

正在检查 -lm 中的 fmod...是

正在检查 -ldl 中的 dlopen...(已缓存)是

正在检查 -lz 中的 inflate...是

正在检查 ANSI C 头文件...(已缓存)是

正在检查 sys/time.h...(已缓存)是

正在检查 unistd.h...(已缓存)是

检查 endian.h 可用性...是

检查 endian.h 是否存在...是

检查 endian.h...是

正在检查 sys/param.h...(已缓存)是

正在检查 locale.h...(已缓存)是

正在检查 zlib.h...(已缓存)否

配置:错误:zlib.h 丢失

我检查了输出位置 /output/build/zlib-1.2.3 并且我可以看到文件 zlib.h 所以我困惑为什么声称找不到它。另外,我更改了 jamvm.mk 以依赖于 zlib 并再次尝试 make (注意我没有执行“make clean”)

有人有任何想法吗?我不明白为什么 jamvm 现在无法构建,除了它一定是构建过程中的某些内容。

I've got (another) build error when trying to build my Buildroot environment. Note this question is in relation to (but not dependent on) my previous (resolved) questions here and here.

I'm trying to include Bluetooth support in the kernel as well as JamVM , but I have ALREADY succesfully built a Buildroot environment which includes Jamvm but now for some reason the build is failing.

When the build process gets to:

jamvm 1.5.1 Configuring

It eventually fails with the error:

checking for ecj... (cached) javac
-Xlint:unchecked,cast,divzero,empty,finally,overrides

checking for pthread_self in -lpthread... yes

checking for fmod in -lm... yes

checking for dlopen in -ldl... (cached) yes

checking for inflate in -lz... yes

checking for ANSI C header files... (cached) yes

checking for sys/time.h... (cached) yes

checking for unistd.h... (cached) yes

checking endian.h usability... yes

checking endian.h presence... yes

checking for endian.h... yes

checking for sys/param.h... (cached) yes

checking for locale.h... (cached) yes

checking for zlib.h... (cached) no

configure: error: zlib.h is missing

I've checked the output location /output/build/zlib-1.2.3 and I can see the file zlib.h so I'm puzzled as to why make claims to be unable to find it. Also I altered jamvm.mk to depend upon zlib and tried make again (note I did not do a 'make clean')

Anyone have any ideas? I don't understand why jamvm won't build now, other than it must be something in the build process.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南七夏 2024-12-24 00:39:40

就我而言,我将 zconf.h 头文件放入我的工具链包含文件夹中,并且 zlib 缺少配置错误消息消失了。
尝试一下。

In my case, I put zconf.h header file into my toolchain include folder and the zlib missing configuration error message is gone.
give it a try.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文