From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Seiderer Date: Sat, 21 Nov 2020 23:12:14 +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: <20201121231214.6d22c37b@gmx.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello Christian, On Sat, 21 Nov 2020 13:12:46 -0800, Christian Stewart wrote: > 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 libtirpc include files are installed to ./host/aarch64-buildroot-linux-gnu/sysroot/usr/include/tirpc, e.g.: ./host/aarch64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h Add the /usr/include/tirpc directory to the libnvidia-container compile header search path... Regards, Peter > > Best, > Christian > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot