RTEMS Source Build error

DiGiorgio, Joseph jdigiorg at ball.com
Thu Jan 19 18:56:03 UTC 2017

I believe you need zlib.h not just for the cross tools you are building, but for your build system too. Maybe try doing “dpkg -l zlib1g-dev” or “dpkg -l | grep “zlib” and look for “zlib1g-dev”? If you don’t have it, but need it, the link provided by Joel will get you what you need.

- Joey D.

From: Joel Sherrill [mailto:joel at rtems.org]
Sent: Thursday, January 19, 2017 1:21 PM
To: dtitomanlio at tsd-space.it
Cc: DiGiorgio, Joseph; users at rtems.org
Subject: Re: RTEMS Source Build error

I see you are using Linux Mint 17.2.  Is this the information you were looking for?


On Thu, Jan 19, 2017 at 11:41 AM, dtitomanlio at tsd-space.it<mailto:dtitomanlio at tsd-space.it> <dtitomanlio at tsd-space.it<mailto:dtitomanlio at tsd-space.it>> wrote:
I do have zlib.h, actually there are three zlib.h files for each architecture in different folders. The point is that they are not found by the source builder, i.e. none of the folders is present in the include path


On 1/19/2017 5:54 PM, DiGiorgio, Joseph wrote:
I just went through using the “TEMS Source Builder” and once I installed all the dependencies it worked just fine. I would check to see if you have “zlib1g-dev” installed as that has zlib.h.

- Joey D.

From: users [mailto:users-bounces at rtems.org] On Behalf Of dtitomanlio at tsd-space.it<mailto:dtitomanlio at tsd-space.it>
Sent: Thursday, January 19, 2017 11:34 AM
To: users at rtems.org<mailto:users at rtems.org>
Subject: RTEMS Source Build error

I'm trying to use the RTEMS Source builder for building the tool package for SPARC and ARM architectures. In both cases I get the same error:

../../gcc-6.3.0/gcc/lto-compress.c:34:18: fatal error: zlib.h: No such file or directory
 #include <zlib.h>

the sb-check reports that "RTEMS Source Builder environment is ok"

I'm using Linux Mint 17.2 with VirtualBox on Windows10 machine

Any help is highly appreciated

Best Regards

users mailing list
users at rtems.org<mailto:users at rtems.org>

This message and any enclosures are intended only for the addressee.  Please 
notify the sender by email if you are not the intended recipient.  If you are 
not the intended recipient, you may not use, copy, disclose, or distribute this 
message or its contents or enclosures to any other person and any such actions 
may be unlawful.  Ball reserves the right to monitor and review all messages 
and enclosures sent to or from this email address.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20170119/9154cae7/attachment-0002.html>

More information about the users mailing list