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

Fix build errors on raspberry pi #1454

Merged
merged 1 commit into from
Mar 20, 2021

Conversation

functionpointer
Copy link
Contributor

Build was failing on raspberry pi 3b+ with arch linux:

/usr/bin/ld: build/examples_linux/mysgw.o:/home/pi/git/MySensors/./hal/architecture/Linux/drivers/core/config.h:39: multiple definition of `conf'; build/hal/architecture/Linux/drivers/core/config.o:/home/pi/git/MySensors/hal/architecture/Linux/drivers/core/config.h:39: first defined here

I posted on the forum but got nothing helpful, so i fixed it myself.
Turns out a variable was being defined in a header file.

My only question is: Why doesn't it error out on raspbian?

@mfalkvidd mfalkvidd requested a review from a team November 24, 2020 16:11
@tekka007 tekka007 merged commit 05fe075 into mysensors:development Mar 20, 2021
tekka007 pushed a commit to tekka007/MySensors that referenced this pull request Jul 25, 2022
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

Successfully merging this pull request may close these issues.

2 participants