Error while compiling Jetpack 441

While compiling jetpack 441 got this error

/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc’; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [scripts/Makefile.host:110: scripts/dtc/dtc] Error 1
make[2]: *** […/scripts/Makefile.build:649: scripts/dtc] Error 2

Hi,
Please make sure your host PC is in Ubuntu 16.04 or 18.04. And you follow the steps one-by-one:

https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3275/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/kernel_custom.html#wwpID0E0DE0HA

One frequently hit issue is the tool chain is not correctly set. Please make sure the tool chain is correctly set.

The host pc is ubuntu 22.04 and I normally build the sdk with Ubuntu 20.04.4 and I don’t get any error

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.