Re: [meta-freescale] Build error imx-gst1.0-plugin

Otavio Salvador <[email protected]> Tue, 13 May 2025 11:00:13 -0300
Newsgroups org.yoctoproject.lists.meta-freescale
Message-ID <CAP9ODKqaorj=PtwCYTjSHk8+odkgPf8hSsQMH3Tzz8CnM6PP-g@mail.gmail.com>
--000000000000a8de0c063504da85
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

It would be great if you could help us with those fixes and reporting
issues using GitHub so we have all that conversation in a single place.
Would you mind doing that?

Em ter., 13 de mai. de 2025 =C3=A0s 08:36, Sathishkumar D via
lists.yoctoproject.org <[email protected]=
rg>
escreveu:

> Dear Max, Otavio, All,
>
> Again similar C23 issue seen in imx-gst1.0-plugin. I have solved
> locally using -std=3Dgnu18 to cflags.
>
> |
> /home/sathishkumar/yoctospace/verdin-next/build/tmp/work/armv8a-mx8mp-tdx=
-linux/imx-gst1.0-plugin/4.9.2+git/recipe-sysroot/usr/include/imx/linux/ipu=
.h:32:23:
> error: 'bool' cannot be defined via 'typedef'
> |    32 | typedef unsigned char bool;
> |       |                       ^~~~
> |
> /home/sathishkumar/yoctospace/verdin-next/build/tmp/work/armv8a-mx8mp-tdx=
-linux/imx-gst1.0-plugin/4.9.2+git/recipe-sysroot/usr/include/imx/linux/ipu=
.h:32:23:
> note: 'bool' is a keyword with '-std=3Dc23' onwards
>
> The ipu.h header file comes from linux-imx-headers which is a linux
> header file.
>
> Apart from this error, I don't see any other issues from other recipes
> files at least in my build. I am able to build the image.
>
> --
> Regards,
> Sathishkumar D
>
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
> Links: You receive all messages sent to this group.
> View/Reply Online (#24964):
> https://lists.yoctoproject.org/g/meta-freescale/message/24964
> Mute This Topic: https://lists.yoctoproject.org/mt/113087994/3617537
> Group Owner: [email protected]
> Unsubscribe: https://lists.yoctoproject.org/g/meta-freescale/unsub [
> [email protected]]
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
>
>

--=20
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854

--000000000000a8de0c063504da85
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">It would be great if you could help us with those fixes an=
d reporting issues using GitHub so we have all that conversation in a singl=
e place. Would you mind doing that?</div><br><div class=3D"gmail_quote gmai=
l_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">Em ter., 13 de mai=
. de 2025 =C3=A0s 08:36, Sathishkumar D via <a href=3D"http://lists.yoctopr=
oject.org">lists.yoctoproject.org</a> &lt;sathishkumar.d.cbe=3D<a href=3D"m=
ailto:[email protected]">[email protected]</a=
>&gt; escreveu:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
<div dir=3D"ltr"><div>Dear Max, Otavio, All,</div><div><br></div><div><span=
 style=3D"color:rgb(0,0,0)"><font face=3D"arial, sans-serif">Again similar =
C23 issue seen in imx-gst1.0-plugin. I have solved locally=C2=A0using -std=
=3Dgnu18 to cflags.=C2=A0</font></span><br></div><div><span style=3D"color:=
rgb(0,0,0)"><font face=3D"arial, sans-serif"><br></font></span></div><div><=
span style=3D"color:rgb(0,0,0)">| /home/sathishkumar/yoctospace/verdin-next=
/build/tmp/work/armv8a-mx8mp-tdx-linux/imx-gst1.0-plugin/4.9.2+git/recipe-s=
ysroot/usr/include/imx/linux/ipu.h:32:23: error: &#39;bool&#39; cannot be d=
efined via &#39;typedef&#39;
</span><br>| =C2=A0=C2=A0=C2=A032 | typedef unsigned char bool;
<br>| =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0^~~~
<br>| /home/sathishkumar/yoctospace/verdin-next/build/tmp/work/armv8a-mx8mp=
-tdx-linux/imx-gst1.0-plugin/4.9.2+git/recipe-sysroot/usr/include/imx/linux=
/ipu.h:32:23: note: &#39;bool&#39; is a keyword with &#39;-std=3Dc23&#39; o=
nwards<span style=3D"color:rgb(0,0,0)"><font face=3D"arial, sans-serif"></f=
ont></span></div><div><span style=3D"color:rgb(0,0,0)"><font face=3D"arial,=
 sans-serif"><br></font></span></div><div><font face=3D"arial, sans-serif">=
<span style=3D"color:rgb(0,0,0)">The ipu.h header file comes from=C2=A0</sp=
an><span style=3D"color:rgb(0,0,0)">linux-imx-headers which is a linux head=
er file.=C2=A0</span></font></div><div><br></div><div><font face=3D"arial, =
sans-serif"><span style=3D"color:rgb(0,0,0)">Apart from this error, I don&#=
39;t see any other issues from other recipes files at least in my build. I =
am able to build the image.=C2=A0</span></font></div><div><br></div><span c=
lass=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gma=
il_signature"><div dir=3D"ltr">Regards,<div>Sathishkumar D</div></div></div=
></div>
<br>
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-<br>
Links: You receive all messages sent to this group.<br>
View/Reply Online (#24964): <a href=3D"https://lists.yoctoproject.org/g/met=
a-freescale/message/24964" rel=3D"noreferrer" target=3D"_blank">https://lis=
ts.yoctoproject.org/g/meta-freescale/message/24964</a><br>
Mute This Topic: <a href=3D"https://lists.yoctoproject.org/mt/113087994/361=
7537" rel=3D"noreferrer" target=3D"_blank">https://lists.yoctoproject.org/m=
t/113087994/3617537</a><br>
Group Owner: <a href=3D"mailto:meta-freescale%[email protected]=
g" target=3D"_blank">[email protected]</a><br>
Unsubscribe: <a href=3D"https://lists.yoctoproject.org/g/meta-freescale/uns=
ub" rel=3D"noreferrer" target=3D"_blank">https://lists.yoctoproject.org/g/m=
eta-freescale/unsub</a> [<a href=3D"mailto:[email protected]" targe=
t=3D"_blank">[email protected]</a>]<br>
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-<br>
<br>
</blockquote></div><div><br clear=3D"all"></div><div><br></div><span class=
=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_s=
ignature"><div dir=3D"ltr">Otavio Salvador =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 O.S. Sys=
tems<br><a href=3D"http://www.ossystems.com.br" target=3D"_blank">http://ww=
w.ossystems.com.br</a> =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"http://code.os=
systems.com.br" target=3D"_blank">http://code.ossystems.com.br</a><br>Mobil=
e: +55 (53) 9 9981-7854</div></div>

--000000000000a8de0c063504da85--