jetsonhacks / buildLibrealsense2TX

Build librealsense 2.0 library on the NVIDIA Jetson TX Development kit. Intel RealSense D400 series cameras.
MIT License
56 stars 47 forks source link

error while './buildPatchedKernel.sh' #20

Open sungwook87 opened 5 years ago

sungwook87 commented 5 years ago

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 todevm_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 functionnvs_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 symboldevm_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

h-ss commented 4 years ago

Hi @sungwook87 , I also use same TX2 with Auvidea j120 and I got the same issue. Do you solve it? Thanks