newlib fails to build

Joel Sherrill joel.sherrill at oarcorp.com
Fri Aug 29 21:55:39 UTC 2014


You are missing the zlib-devel RPM. Perhaps the check could include headers and libraries. But this looks like GCC should check and fail also.

On August 29, 2014 4:32:08 PM CDT, "Shifflett, David (CIV)" <shifflett at nps.edu> wrote:
>Having gotten CVS access,
>my build using the source builder progresses further,
>but still fails.
>
>I am running on Fedora 19.
>
>../source-builder/sb-check
>says everything is ok.
>
>../source-builder/sb-set-builder --log=l-sparc.txt
>--prefix=$HOME/development/rtems/4.11 4.11/rtems-sparc
>returns an error. Below is the end of the rsb report
>
>../../gcc-4.8.3/gcc/lto-compress.c:28:18: fatal error: zlib.h: No such
>file or directory
> #include <zlib.h>
>                  ^
>compilation terminated.
>make[2]: *** [lto-compress.o] Error 1
>make[2]: Leaving directory
>`/home/user/development/rtems/src/rtems-source-builder/rtems/build/sparc-rtems4.11-gcc-4.8.3-newlib-19-Aug-2014-1/build/gcc'
>make[1]: *** [all-gcc] Error 2
>make[1]: Leaving directory
>`/home/user/development/rtems/src/rtems-source-builder/rtems/build/sparc-rtems4.11-gcc-4.8.3-newlib-19-Aug-2014-1/build'
>make: *** [all] Error 2
>shell cmd failed: /bin/sh -ex 
>/home/user/development/rtems/src/rtems-source-builder/rtems/build/sparc-rtems4.11-gcc-4.8.3-newlib-19-Aug-2014-1/doit
>error: building sparc-rtems4.11-gcc-4.8.3-newlib-19-Aug-2014-1
>
>I did a search for zlib.h and found it at
>~/development/rtems/src/rtems-source-builder/rtems/build/sparc-rtems4.11-gcc-4.8.3-newlib-19-Aug-2014-1/gcc-4.8.3/zlib/zlib.h
>
>Any help would be appreciated,
>Thanks,
>dave
>_______________________________________________
>users mailing list
>users at rtems.org
>http://lists.rtems.org/mailman/listinfo/users




More information about the users mailing list