From mboxrd@z Thu Jan 1 00:00:00 1970 From: Romain Naour Date: Sun, 22 Nov 2020 00:47:44 +0100 Subject: [Buildroot] [PATCH v4 4/5] board: add nvidia jetson tx2 support In-Reply-To: References: <20201119075328.8599-1-christian@paral.in> <20201119075328.8599-4-christian@paral.in> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Le 21/11/2020 ? 22:12, Christian Stewart a ?crit?: > hi Romain, > > > On Sat, Nov 21, 2020 at 2:06 AM Romain Naour 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 > > 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 >