Build fail due to imx-vpu-hantro_1.36.0
Sathishkumar Duraisamy <[email protected]> Fri, 9 May 2025 13:57:53 +0530
| Newsgroups | org.yoctoproject.lists.meta-freescale |
|---|---|
| Message-ID | <CAHebdzStHmLsx73TW1nHVeVNxjAPMc6r6rVokOkbB5XJTM_-hA@mail.gmail.com> |
--000000000000c2fb480634afbe98
Content-Type: text/plain; charset="UTF-8"
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
--000000000000c2fb480634afbe98
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Dear All,<div><br></div><div>I am getting a build error wi=
th imx-vpu-hantro-1.36.0. I checked the sources in devshell. I see "ex=
tern" function=C2=A0prototypes are mismatching. Do we require a patch =
or am I missing something?.=C2=A0</div><div><br></div><div><span style=3D"f=
ont-family:monospace"><span style=3D"font-weight:bold;color:rgb(0,0,0)">dec=
oder_sw/software/test/common/md5_sink.c:68:3:</span><span style=3D"color:rg=
b(0,0,0)"> </span><span style=3D"font-weight:bold;color:rgb(255,84,84)">err=
or: </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)">MD5Init</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>
--000000000000c2fb480634afbe98--