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

multiple definition of `yylloc' #1

Closed
wizhippo opened this issue Sep 8, 2022 · 2 comments
Closed

multiple definition of `yylloc' #1

wizhippo opened this issue Sep 8, 2022 · 2 comments

Comments

@wizhippo
Copy link

wizhippo commented Sep 8, 2022

Building on WSL2 with Ubuntu 22.04

First try ./build.sh config got error: build/mkcmd.sh: line 244: python: command not found

sudo apt install python2

Then edited build/mkcmd.sh and changed python to python2

./build.sh config then worked

./build.sh failed missing directory brandy/brandy-2.0/spl

symlinked brandy/brandy-2.0/spl-pub to brandy/brandy-2.0/spl

Now I get the 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

Found solution in BPI-SINOVOIP/BPI-M4-bsp#4 and added extern to the mentioned file and change another reference from python to python2

Build success.

When I get the board I will give the build a go.

thank you for releasing this.

Is this at some point going to match the release found at https://github.com/bigtreetech/CB1/releases

@wizhippo
Copy link
Author

Using the new branch and it works thank you.

@nachannon
Copy link

Thank you very much had the same issues compiled fine now

lucableve pushed a commit to lucableve/CB1-Kernel that referenced this issue Jan 5, 2024
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

2 participants