buildLibrealsense2TX
buildLibrealsense2TX copied to clipboard
error while './buildPatchedKernel.sh'
I am using TX2 with Auvidea j120 (jetpack 3.2.1) and trying to build librealsense2tx. Whenever I try to build it, I got this. Anyone can help? Thanks in advance!
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
LINK vmlinux
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
drivers/built-in.o: In function nvs_remove': /usr/src/kernel/kernel-4.4/drivers/misc/nvs/nvs_iio.c:1804: undefined reference to
devm_iio_kfifo_free'
/usr/src/kernel/kernel-4.4/drivers/misc/nvs/nvs_iio.c:1804:(.text+0x26137c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol devm_iio_kfifo_free' drivers/built-in.o: In function
nvs_init':
/usr/src/kernel/kernel-4.4/drivers/misc/nvs/nvs_iio.c:1846: undefined reference to devm_iio_kfifo_allocate' /usr/src/kernel/kernel-4.4/drivers/misc/nvs/nvs_iio.c:1846:(.text+0x26203c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol
devm_iio_kfifo_allocate'
Makefile:959: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1
Make did not successfully build
Please fix issues and retry build
Hi @sungwook87 , I also use same TX2 with Auvidea j120 and I got the same issue. Do you solve it? Thanks