forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 408
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
Multiple definition of `yylloc' #428
Comments
Plz, intergrade this upstream patch to resolve this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current version of Odroidc2 is returning an issue related to `yylloc'
Error:
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x50): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [scripts/Makefile.host:127: scripts/dtc/dtc] Error 1
make[1]: *** [scripts/Makefile.build:404: scripts/dtc] Error 2
make: *** [Makefile:563: scripts] Error 2
make: *** Waiting for unfinished jobs....
How to reproduce?
git clone https://github.com/hardkernel/linux.git -b odroidc2-v3.16.y odroid-3.16
cd odroid-3.16/
make odroidc2_defconfig
make -j8
How to fix it?
Modify line 640 in scripts/dtc/dtc-lexer.lex.c and add at the begining of the line "extern"
The text was updated successfully, but these errors were encountered: