<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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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-AU" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I’ve given up on Cerbero for Linux builds after Nicolas Dufresne said (in this message https://lists.freedesktop.org/archives/gstreamer-devel/2018-May/067778.html) that the GStreamer project delegates
 packaging for Linux builds to the various distributions and that Cerbero is really for non-Linux systems.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I’ve now written my own script to build GStreamer as a standard autoconf project that uses pkg-config.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I’ve yet to extend this for cross compilation.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> gstreamer-devel <gstreamer-devel-bounces@lists.freedesktop.org>
<b>On Behalf Of </b>Vincenzo Bono<br>
<b>Sent:</b> Wednesday, 27 June 2018 3:53 AM<br>
<b>To:</b> gstreamer-devel@lists.freedesktop.org<br>
<b>Subject:</b> Re: Failure to cross compile GStreamer v1.14 with config/cross-lin-arm.cbc<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I had the same issue with GStreamer v1.15, while building direclty on my Raspberry.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Looking inside the openssl.recipe, under your cerbero/recipes, I’ve found that a define was added form ARMv7 for the Android platform, but not for Linux in general.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Adding a "or self.config.target_platform == Platform.LINUX” in the related check, inside the configure(self) function fixed the build for me:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">def configure(self):<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:18.0pt;text-indent:-18.0pt;font-stretch: normal">
 <o:p></o:p></p>
<div style="margin-left:18.0pt;font-stretch: normal">
<p class="MsoNormal" style="text-indent:-18.0pt">    …<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:18.0pt;text-indent:-18.0pt;font-stretch: normal">
 <o:p></o:p></p>
<div style="margin-left:18.0pt;font-stretch: normal">
<p class="MsoNormal" style="text-indent:-18.0pt">    if self.config.target_platform == Platform.ANDROID or self.config.target_platform == Platform.LINUX:<o:p></o:p></p>
</div>
<div style="margin-left:18.0pt;font-stretch: normal">
<p class="MsoNormal" style="text-indent:-18.0pt">        if self.config.target_arch == Architecture.ARMv7:<o:p></o:p></p>
</div>
<div style="margin-left:18.0pt;font-stretch: normal">
<p class="MsoNormal" style="text-indent:-18.0pt">            # Openssl can't seem to figure this out anymore<o:p></o:p></p>
</div>
<div style="margin-left:18.0pt;font-stretch: normal">
<p class="MsoNormal" style="text-indent:-18.0pt">            config_sh += ' -D__ARM_MAX_ARCH__=7 '<o:p></o:p></p>
</div>
<p class="MsoNormal" style="font-stretch: normal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">Vince<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>