Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to cross-compile kernel as build.sh step #26

Open
dimaxano opened this issue Sep 20, 2021 · 1 comment
Open

Failed to cross-compile kernel as build.sh step #26

dimaxano opened this issue Sep 20, 2021 · 1 comment

Comments

@dimaxano
Copy link

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?

@ghost
Copy link

ghost commented May 20, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant