meta-freescale.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* bitbake core-image-minimal failed
@ 2021-03-02  3:53 nus1998
  2021-03-02  9:57 ` nus1998
  0 siblings, 1 reply; 2+ messages in thread
From: nus1998 @ 2021-03-02  3:53 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 751 bytes --]

Hi,


I'm using imx zeus 5.4.70-2.3.1, when I build the minimal images, an error encountered:


../../git/src/yp_xdr.c:38:23: fatal error: netconfig.h: No such file or directory
|  #include <netconfig.h>
|                        ^
| compilation terminated.
....

Summary: 1 task failed:
  virtual:native:..../imx-linux-zeus/sources/poky/meta/recipes-extended/libnsl/libnsl2_git.bb:do_compile


netconfig.h can be found at ./tmp/sysroots-components/x86_64/libtirpc-native/usr/include/tirpc, and on compiling there is a message -I<my path>/build-wayland/tmp/work/x86_64-linux/libnsl2-native/1.2.0+gitAUTOINC+37c5ffe303-r0/recipe-sysroot-native/usr/lib/pkgconfig//usr/include/tirpc, so seems relocatable.bbclass doesn't set the relative path properly?



[-- Attachment #2: Type: text/html, Size: 1608 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bitbake core-image-minimal failed
  2021-03-02  3:53 bitbake core-image-minimal failed nus1998
@ 2021-03-02  9:57 ` nus1998
  0 siblings, 0 replies; 2+ messages in thread
From: nus1998 @ 2021-03-02  9:57 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 899 bytes --]

Found the issue is caused by realpath, replaced with it in 18.04 and it's OK





在 2021-03-02 11:53:08,"nus1998" <nus1998@yeah.net> 写道:

Hi,


I'm using imx zeus 5.4.70-2.3.1, when I build the minimal images, an error encountered:


../../git/src/yp_xdr.c:38:23: fatal error: netconfig.h: No such file or directory
|  #include <netconfig.h>
|                        ^
| compilation terminated.
....

Summary: 1 task failed:
  virtual:native:..../imx-linux-zeus/sources/poky/meta/recipes-extended/libnsl/libnsl2_git.bb:do_compile


netconfig.h can be found at ./tmp/sysroots-components/x86_64/libtirpc-native/usr/include/tirpc, and on compiling there is a message -I<my path>/build-wayland/tmp/work/x86_64-linux/libnsl2-native/1.2.0+gitAUTOINC+37c5ffe303-r0/recipe-sysroot-native/usr/lib/pkgconfig//usr/include/tirpc, so seems relocatable.bbclass doesn't set the relative path properly?



[-- Attachment #2: Type: text/html, Size: 2083 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-02  9:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-02  3:53 bitbake core-image-minimal failed nus1998
2021-03-02  9:57 ` nus1998

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).