Buildroot - 构建 jamvm 1.5.1 时出错
在尝试构建我的 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,overrideschecking 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
就我而言,我将
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.