linux_nvidia_jetson
linux_nvidia_jetson copied to clipboard
Failed to cross-compile kernel as build.sh step
After successfully running prepare.sh
I run ./build.sh work_dir nx all all
, but at some point I'm getting
/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
CHK scripts/mod/devicetable-offsets.h
collect2: error: ld returned 1 exit status
make[2]: *** [scripts/Makefile.host:110: scripts/dtc/dtc] Error 1
make[1]: *** [scripts/Makefile.build:649: scripts/dtc] Error 2
make: *** [Makefile:593: scripts] Error 2
make: *** Waiting for unfinished jobs....
Any Ideas what is wrong?
What operating system are you using? I had the same problem today when using an up-to-date Debian. Using Ubuntu 18.04 then worked.