问题
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