Problem with RTEMS Tools and Kernel installation

吃可爱长大的小学妹 提交于 2020-08-10 19:15:55

问题


I'm installing RTEMS in Ubuntu 19.10. In the last step of https://docs.rtems.org/releases/rtems-docs-4.11.3/user/installation/index.html#rtems-tools-and-kernel (../source-builder/sb-set-builder --prefix=/opt/rtems/4.11 4.11/rtems-i386) it shows next error message (I've deleted the first part of the report because it 's impossible to post more than 30000 characteres):

[..]
../../gcc-4.9.3/gcc/lto-compress.c:28:10: fatal error: zlib.h: No such file or directory
   28 | #include <zlib.h>
      |          ^~~~~~~~
compilation terminated.
make[2]: Leaving directory '/home/user/development/rtems/releases/rtems-source-builder-4.11.0/rtems/build/i386-rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-linux-gnu-1/build/gcc'
make[2]: *** [Makefile:1058: lto-compress.o] Error 1
make[1]: *** [Makefile:3975: all-gcc] Error 2
make: *** [Makefile:863: all] Error 2
make[1]: Leaving directory '/home/user/development/rtems/releases/rtems-source-builder-4.11.0/rtems/build/i386-rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-linux-gnu-1/build'
shell cmd failed: /bin/sh -ex  /home/user/development/rtems/releases/rtems-source-builder-4.11.0/rtems/build/i386-rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-linux-gnu-1/doit
error: building i386-rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-linux-gnu-1

For more information see: How to configure RTEMS in Eclipse? Thanks, Ana

来源:https://stackoverflow.com/questions/61452913/problem-with-rtems-tools-and-kernel-installation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!