[Buildroot] [PATCH v4 4/5] board: add nvidia jetson tx2 support
Romain Naour
romain.naour at gmail.com
Sat Nov 21 23:47:44 UTC 2020
Le 21/11/2020 à 22:12, Christian Stewart a écrit :
> hi Romain,
>
>
> On Sat, Nov 21, 2020 at 2:06 AM Romain Naour <romain.naour at gmail.com> wrote:
>>
>> Actually I would suggest to use the Linaro aarch64 2018.05
>> (BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64) because it's the toolchain recommended
>> and used by Nvidia.
>>
>> See: https://developer.nvidia.com/gcc-linaro-731-201805-sources
>
> When using this EXTERNAL_LINARO_AARCH64 I'm getting the build error -
>
> libnvidia-container-1.2.0/src/drivera-container-1.2.0/src/nvc_ldcache.lo]
> Error 1
> 10 | #include <rpc/rpc.h>
>
> Even with libtirpc in the dependencies. So I guess two things:
>
> - rpc.h is coming from the toolchain
> - linaro toolchain doesn't have it (?)
> - libtirpc is probably unnecessary since it's not actually being used
>
> How to fix?
The Linaro toolchain provide /usr/include/rpc/rpc.h in staging directory.
libnvidia-container build fine here.
Best regards,
Romain
>
> Best,
> Christian
>
More information about the buildroot
mailing list