I am using yocto Kirkstone to build my image. Kernel version: 5.15. In order to upgrade package PPP, I added PPP package version 2.5.0 recipe to my custom layer. My aim is to upgrade PPP from 2.4.9( in default kirkstone) to 2.5.0.
PPP builds fine( bitbake ppp). But the overall image compilation fails (bitbake rpb-console-image). It fails in Network manager- 1.36.2 recipe file in do_compile. The error is as follows: /////////////////////////////////////////////////Error////////////////////////////////////////////////////////// pppd-plugin.c.o -c ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c: In function 'nm_phasechange': | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c:128:34: error: 'ifname' undeclared (first use in this function); did you mean 'rename'? | 128 | ifindex = if_nametoindex(ifname); | | ^~~~~~ | | rename | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c:128:34: note: each undeclared identifier is reported only once for each function it appears in | In file included from ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c:14: | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c: In function 'nm_ip_up': | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c:169:63: error: 'ifunit' undeclared (first use in this function) | 169 | guint32 pppd_made_up_address = htonl(0x0a404040 + ifunit); | | ^~~~~~ | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c:189:48: error: 'ifname' undeclared (first use in this function); did you mean 'rename'? | 189 | g_variant_new_string(ifname)); | | ^~~~~~ | | rename | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c: In function 'nm_ip6_up': | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c:295:48: error: 'ifname' undeclared (first use in this function); did you mean 'rename'? | 295 | g_variant_new_string(ifname)); | | ^~~~~~ | | rename | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c: In function 'add_ip6_notifier': | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c:409:9: warning: implicit declaration of function 'add_notifier'; did you mean 'add_ip6_notifier'? [-Wimplicit-function-declaration] | 409 | add_notifier(notifier, nm_ip6_up, NULL); | | ^~~~~~~~~~~~ | | add_ip6_notifier | | | ^ | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c:432:5: error: 'chap_passwd_hook' undeclared (first use in this function) | 432 | chap_passwd_hook = get_credentials; | | ^~~~~~~~~~~~~~~~ | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c:433:5: error: 'chap_check_hook' undeclared (first use in this function) | 433 | chap_check_hook = get_chap_check; | | ^~~~~~~~~~~~~~~ | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c:434:5: error: 'pap_passwd_hook' undeclared (first use in this function) | 434 | pap_passwd_hook = get_credentials; | | ^~~~~~~~~~~~~~~ | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c:435:5: error: 'pap_check_hook' undeclared (first use in this function) | 435 | pap_check_hook = get_pap_check; | | ^~~~~~~~~~~~~~ | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c:437:19: error: 'phasechange' undeclared (first use in this function); did you mean 'nm_phasechange'? | 437 | add_notifier(&phasechange, nm_phasechange_hook, NULL); | | ^~~~~~~~~~~ | | nm_phasechange | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c:438:19: error: 'ip_up_notifier' undeclared (first use in this function); did you mean 'add_ip6_notifier'? | 438 | add_notifier(&ip_up_notifier, nm_ip_up, NULL); | | ^~~~~~~~~~~~~~ | | add_ip6_notifier | ../NetworkManager-1.36.2/src/core/ppp/nm-pppd-plugin.c:439:19: error: 'exitnotify' undeclared (first use in this function); did you mean 'nm_exit_notify'? | 439 | add_notifier(&exitnotify, nm_exit_notify, NULL); | | ^~~~~~~~~~ | | nm_exit_notify
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64001): https://lists.yoctoproject.org/g/yocto/message/64001 Mute This Topic: https://lists.yoctoproject.org/mt/108924289/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-