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?

https://docs.rtems.org/branches/master/rsb/hosts.html#linux-mint<https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.rtems.org_branches_master_rsb_hosts.html-23linux-2Dmint&d=DwMFaQ&c=jF7FvYH6t0RX1HrEjVCgHQ&r=bcW4I2OeTMRR6lOqlbMy8LAX0B8qqHDKCKLLVCaH1TA&m=K3DTjC3gTeuZpqbgxpsg_DeHJ7g5-Y5ZPx-gOZNeoPs&s=Ojy7DWYFQiDr-EW6gBIdvoe3mKUmeXLK4XBwYqCwlys&e=>

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:
Hi,
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

Daniele


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

Hello,
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
Daniele


_______________________________________________
users mailing list
users at rtems.org<mailto:users at rtems.org>
http://lists.rtems.org/mailman/listinfo/users<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.rtems.org_mailman_listinfo_users&d=DwMFaQ&c=jF7FvYH6t0RX1HrEjVCgHQ&r=bcW4I2OeTMRR6lOqlbMy8LAX0B8qqHDKCKLLVCaH1TA&m=K3DTjC3gTeuZpqbgxpsg_DeHJ7g5-Y5ZPx-gOZNeoPs&s=wirfhvT1FPJLn_lDWj-rOBJG-WNFwYxgCxCYx_cEn4k&e=>




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