Discussion:
Yocto version thud busybox build failed: rpc/rpc.h - No such file
(too old to reply)
Indu-Sol GmbH, Klaus Nöske
2018-11-29 08:29:05 UTC
Permalink
Hello,

I try to migrate my project from fido to thud. Currently I have problems to build busybox. It fails with error: rpc/rpc.h - No such file. This was already mentioned here: https://lists.yoctoproject.org/pipermail/yocto/2018-May/041163.html. But I was not able to find the solution there.
My build host is Ubuntu 16.04 (x86_64) and my target is an ARM board/device.
The "thud" commit I use is: 94b13882510561b4ab7c08fd0343038c154680a4 (sanity: Add check for WSL)

What can I do to solve this problem?
Thanks

BR
Klaus
ChenQi
2018-11-29 09:12:33 UTC
Permalink
How about adding in your busybox bbappend file the following line.
DEPENDS += "libtirpc"

Best Regards,
Chen Qi
Post by Indu-Sol GmbH, Klaus Nöske
Hello,
I try to migrate my project from fido to thud. Currently I have
problems to build busybox. It fails with error: rpc/rpc.h - No such
https://lists.yoctoproject.org/pipermail/yocto/2018-May/041163.html.
But I was not able to find the solution there.
My build host is Ubuntu 16.04 (x86_64) and my target is an ARM
board/device.
The “thud” commit I use is: 94b13882510561b4ab7c08fd0343038c154680a4
(sanity: Add check for WSL)
What can I do to solve this problem?
Thanks
BR
Klaus
Indu-Sol GmbH, Klaus Nöske
2018-11-29 10:51:03 UTC
Permalink
Hi,

I figured it out why rpc is needed. Rpc is needed for the nfs mount feature and was enabled by my old distro configuration for busybox. But don't need this feature.
I just changed/comment out:

- from CONFIG_FEATURE_HAVE_RPC=y to # CONFIG_FEATURE_HAVE_RPC is not set

- from CONFIG_FEATURE_MOUNT_NFS=y to # CONFIG_FEATURE_MOUNT_NFS is not set
And now this works and compiles.

Thanks for you quick response. Your hint with "your busybox bbappend" helped me a lot =)

BR
Klaus


Von: ChenQi [mailto:***@windriver.com]
Gesendet: Donnerstag, 29. November 2018 10:06
An: Indu-Sol GmbH, Klaus Nöske; ***@yoctoproject.org
Betreff: Re: [yocto] Yocto version thud busybox build failed: rpc/rpc.h - No such file

How about adding in your busybox bbappend file the following line.
DEPENDS += "libtirpc"

Best Regards,
Chen Qi

On 11/29/2018 04:29 PM, Indu-Sol GmbH, Klaus Nöske wrote:
Hello,

I try to migrate my project from fido to thud. Currently I have problems to build busybox. It fails with error: rpc/rpc.h - No such file. This was already mentioned here: https://lists.yoctoproject.org/pipermail/yocto/2018-May/041163.html. But I was not able to find the solution there.
My build host is Ubuntu 16.04 (x86_64) and my target is an ARM board/device.
The "thud" commit I use is: 94b13882510561b4ab7c08fd0343038c154680a4 (sanity: Add check for WSL)

What can I do to solve this problem?
Thanks

BR
Klaus

Loading...