FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.13k stars 1.21k forks source link

‘LYD_NEW_PATH_OUTPUT | Getting error while installing frr in ubuntu 20.4.3 #16287

Closed AS132933 closed 2 weeks ago

AS132933 commented 3 weeks ago

lib/yang.c: In function ‘yang_dnode_rpc_output_add’: lib/yang.c:674:7: error: ‘LYD_NEW_PATH_OUTPUT’ undeclared (first use in this function); did you mean ‘LYD_NEW_VAL_OUTPUT’? 674 | LYD_NEW_PATH_OUTPUT | LYD_NEW_PATH_UPDATE, NULL); | ^~~~~~~ | LYD_NEW_VAL_OUTPUT lib/yang.c:674:7: note: each undeclared identifier is reported only once for each function it appears in make[1]: [Makefile:10793: lib/yang.lo] Error 1 make[1]: Leaving directory '/opt/frr' make: [Makefile:6576: all] Error 2

ton31337 commented 3 weeks ago

Which version of libyang and FRR?

AS132933 commented 3 weeks ago

Hello,

The libyang version is 2.2.8. and frr version is 10.0

ton31337 commented 3 weeks ago

2.2.8 just released, I don't think we tested yet with the edge version.

AS132933 commented 3 weeks ago

So please confirm which version I can use of libyang anf FRR? for ubuntu 20.4.3.

ton31337 commented 3 weeks ago

Use 2.1.128 (it's a well-tested version).

AS132933 commented 3 weeks ago

can you please confirm about FRR?

ton31337 commented 3 weeks ago

What do you mean about FRR? Which version to use (recommended)?

AS132933 commented 3 weeks ago

Yes, which FRR version is recommend for libyang version 2.1.128.

ton31337 commented 3 weeks ago

10.0 is good as you already have it.

AS132933 commented 3 weeks ago

Ok Thank for your confirmation, let me try and get back to you.

AS132933 commented 2 weeks ago

Hello @ton31337 I have user Use 2.1.128 and issue has been resolved, Thank for the support.