Build error imx-gst1.0-plugin
Sathishkumar Duraisamy <[email protected]> Tue, 13 May 2025 17:06:24 +0530
| Newsgroups | org.yoctoproject.lists.meta-freescale |
|---|---|
| Message-ID | <CAHebdzQun7AOd_yjf4CXzS8AmSQnwSChi7mM9ai-o4mzABFkWg@mail.gmail.com> |
--00000000000057fc5a063502d8ab Content-Type: text/plain; charset="UTF-8" Dear Max, Otavio, All, Again similar C23 issue seen in imx-gst1.0-plugin. I have solved locally using -std=gnu18 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=c23' 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 --00000000000057fc5a063502d8ab Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <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: 'bool' cannot be d= efined via 'typedef' </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: 'bool' is a keyword with '-std=3Dc23' 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" data-smartmail=3D"gmail_signature"><div dir=3D"ltr">Regards,<= div>Sathishkumar D</div></div></div></div> --00000000000057fc5a063502d8ab--