Re: [meta-freescale] Build fail due to imx-vpu-hantro_1.36.0
Otavio Salvador <[email protected]> Mon, 12 May 2025 10:14:09 -0300
| Newsgroups | org.yoctoproject.lists.meta-freescale |
|---|---|
| Message-ID | <CAP9ODKozZnzY7yFf9ojewo1YY2yR6t-Qnwc6KqFX45-HSO77+Q@mail.gmail.com> |
--0000000000001c2b5c0634f01809 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you for reporting this. This is indeed broken, and there is a pull request in the GitHub project. Take a look at this until it is properly merged. Em sex., 9 de mai. de 2025 =C3=A0s 05:28, Sathishkumar D via lists.yoctoproject.org <[email protected]= rg> escreveu: > Dear All, > > I am getting a build error with imx-vpu-hantro-1.36.0. I checked the > sources in devshell. I see "extern" function prototypes are mismatching. = Do > we require a patch or am I missing something?. > > decoder_sw/software/test/common/md5_sink.c:68:3: error: too many > arguments to function 'MD5Init'; expected 0, have 1 > 68 | MD5Init(&inst->ctx); > | ^~~~~~~ ~~~~~~~~~~ > In file included from decoder_sw/software/test/common/md5_sink.c:43: > ./decoder_sw/software/test/common/swhw/md5.h:79:13: note: declared here > 79 | extern void MD5Init(); > | ^~~~~~~ > decoder_sw/software/test/common/md5_sink.c: In function 'Md5sinkClose': > decoder_sw/software/test/common/md5_sink.c:77:5: error: too many > arguments to function 'MD5Final'; expected 0, have 2 > 77 | MD5Final(digest, &md5sink->ctx); > | ^~~~~~~~ ~~~~~~ > > 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 (#24956): > https://lists.yoctoproject.org/g/meta-freescale/message/24956 > Mute This Topic: https://lists.yoctoproject.org/mt/112895226/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 --0000000000001c2b5c0634f01809 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Thank you for reporting this.</div><div><br></div>Thi= s is indeed broken, and there is a pull request in the GitHub project. Take= a look at this until it is properly merged.</div><br><div class=3D"gmail_q= uote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">Em sex., = 9 de mai. de 2025 =C3=A0s 05:28, Sathishkumar D via <a href=3D"http://lists= .yoctoproject.org">lists.yoctoproject.org</a> <sathishkumar.d.cbe=3D<a h= ref=3D"mailto:[email protected]">[email protected]= t.org</a>> 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-le= ft:1ex"><div dir=3D"ltr">Dear All,<div><br></div><div>I am getting a build = error with imx-vpu-hantro-1.36.0. I checked the sources in devshell. I see = "extern" function=C2=A0prototypes are mismatching. Do we require = a patch or am I missing something?.=C2=A0</div><div><br></div><div><span st= yle=3D"font-family:monospace"><span style=3D"font-weight:bold;color:rgb(0,0= ,0)">decoder_sw/software/test/common/md5_sink.c:68:3:</span><span style=3D"= color:rgb(0,0,0)"> </span><span style=3D"font-weight:bold;color:rgb(255,84,= 84)">error: </span><span style=3D"color:rgb(0,0,0)">too many arguments to f= unction '</span><span style=3D"font-weight:bold;color:rgb(0,0,0)">MD5In= it</span><span style=3D"color:rgb(0,0,0)">'; expected 0, have 1 </span><br> =C2=A0=C2=A068 | =C2=A0=C2=A0<span style=3D"font-weight:bold;co= lor:rgb(255,84,84)">MD5Init</span><span style=3D"color:rgb(0,0,0)">(</span>= <span style=3D"color:rgb(24,178,24)">&inst->ctx</span><span style=3D= "color:rgb(0,0,0)">); </span><br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| =C2=A0=C2=A0<span style=3D"font= -weight:bold;color:rgb(255,84,84)">^~~~~~~</span><span style=3D"color:rgb(0= ,0,0)"> </span><span style=3D"color:rgb(24,178,24)">~~~~~~~~~~</span><span = style=3D"color:rgb(0,0,0)"> </span><br>In file included from <span style=3D"font-weight:bold;color:rgb(= 0,0,0)">decoder_sw/software/test/common/md5_sink.c:43</span><span style=3D"= color:rgb(0,0,0)">: </span><br><span style=3D"font-weight:bold;color:rgb(0,0,0)">./decoder_sw/s= oftware/test/common/swhw/md5.h:79:13:</span><span style=3D"color:rgb(0,0,0)= "> </span><span style=3D"font-weight:bold;color:rgb(84,255,255)">note: </sp= an><span style=3D"color:rgb(0,0,0)">declared here </span><br> =C2=A0=C2=A079 | extern void <span style=3D"font-weight:bold;co= lor:rgb(84,255,255)">MD5Init</span><span style=3D"color:rgb(0,0,0)">(); </span><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<span style=3D"font-weight:bold;c= olor:rgb(84,255,255)">^~~~~~~</span><span style=3D"color:rgb(0,0,0)"> </span><br><span style=3D"font-weight:bold;color:rgb(0,0,0)">decoder_sw/sof= tware/test/common/md5_sink.c:</span><span style=3D"color:rgb(0,0,0)"> In fu= nction '</span><span style=3D"font-weight:bold;color:rgb(0,0,0)">Md5sin= kClose</span><span style=3D"color:rgb(0,0,0)">': </span><br><span style=3D"font-weight:bold;color:rgb(0,0,0)">decoder_sw/sof= tware/test/common/md5_sink.c:77:5:</span><span style=3D"color:rgb(0,0,0)"> = </span><span style=3D"font-weight:bold;color:rgb(255,84,84)">error: </span>= <span style=3D"color:rgb(0,0,0)">too many arguments to function '</span= ><span style=3D"font-weight:bold;color:rgb(0,0,0)">MD5Final</span><span sty= le=3D"color:rgb(0,0,0)">'; expected 0, have 2 </span><br> =C2=A0=C2=A077 | =C2=A0=C2=A0=C2=A0=C2=A0<span style=3D"font-we= ight:bold;color:rgb(255,84,84)">MD5Final</span><span style=3D"color:rgb(0,0= ,0)">(</span><span style=3D"color:rgb(24,178,24)">digest</span><span style= =3D"color:rgb(0,0,0)">, &md5sink->ctx); </span><br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| =C2=A0=C2=A0=C2=A0=C2=A0<span s= tyle=3D"font-weight:bold;color:rgb(255,84,84)">^~~~~~~~</span><span style= =3D"color:rgb(0,0,0)"> </span><span style=3D"color:rgb(24,178,24)">~~~~~~</= span><br><span style=3D"color:rgb(0,0,0)"> </span><br></span></div><div><span style=3D"font-family:monospace">Regards,= </span></div><div><span style=3D"font-family:monospace">Sathishkumar D</spa= n></div><div><span style=3D"font-family:monospace"><br></span></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 (#24956): <a href=3D"https://lists.yoctoproject.org/g/met= a-freescale/message/24956" rel=3D"noreferrer" target=3D"_blank">https://lis= ts.yoctoproject.org/g/meta-freescale/message/24956</a><br> Mute This Topic: <a href=3D"https://lists.yoctoproject.org/mt/112895226/361= 7537" rel=3D"noreferrer" target=3D"_blank">https://lists.yoctoproject.org/m= t/112895226/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> --0000000000001c2b5c0634f01809--