<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">- Joey D.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Joel Sherrill [mailto:joel@rtems.org]
<br>
<b>Sent:</b> Thursday, January 19, 2017 1:21 PM<br>
<b>To:</b> dtitomanlio@tsd-space.it<br>
<b>Cc:</b> DiGiorgio, Joseph; users@rtems.org<br>
<b>Subject:</b> Re: RTEMS Source Build error<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">I see you are using Linux Mint 17.2.  Is this the information you were looking for?<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="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=">https://docs.rtems.org/branches/master/rsb/hosts.html#linux-mint</a><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Thu, Jan 19, 2017 at 11:41 AM, <a href="mailto:dtitomanlio@tsd-space.it">
dtitomanlio@tsd-space.it</a> <<a href="mailto:dtitomanlio@tsd-space.it" target="_blank">dtitomanlio@tsd-space.it</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">Hi,<br>
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<br>
<br>
Daniele<br>
<br>
<br>
On 1/19/2017 5:54 PM, DiGiorgio, Joseph wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">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 “</span>zlib1g-dev” installed as that has zlib.h.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">- Joey D.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> users [<a href="mailto:users-bounces@rtems.org" target="_blank">mailto:users-bounces@rtems.org</a>]
<b>On Behalf Of </b><a href="mailto:dtitomanlio@tsd-space.it" target="_blank">dtitomanlio@tsd-space.it</a><br>
<b>Sent:</b> Thursday, January 19, 2017 11:34 AM<br>
<b>To:</b> <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<b>Subject:</b> RTEMS Source Build error</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">Hello, <br>
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:
<br>
<br>
../../gcc-6.3.0/gcc/lto-compress.c:34:18: fatal error: zlib.h: No such file or directory
<br>
 #include <zlib.h> <br>
<br>
the sb-check reports that "RTEMS Source Builder environment is ok" <br>
<br>
I'm using Linux Mint 17.2 with VirtualBox on Windows10 machine <br>
<br>
Any help is highly appreciated <br>
<br>
Best Regards <br>
Daniele <o:p></o:p></p>
</div>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="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=" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>

<DIV>
<BR>
<BR>
This message and any enclosures are intended only for the addressee.  Please <BR>
notify the sender by email if you are not the intended recipient.  If you are <BR>
not the intended recipient, you may not use, copy, disclose, or distribute this <BR>
message or its contents or enclosures to any other person and any such actions <BR>
may be unlawful.  Ball reserves the right to monitor and review all messages <BR>
and enclosures sent to or from this email address.<BR>
</DIV></body>
</html>