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

Build failed: redefinition #1

Open
D3Nd3R opened this issue Sep 3, 2019 · 0 comments
Open

Build failed: redefinition #1

D3Nd3R opened this issue Sep 3, 2019 · 0 comments

Comments

@D3Nd3R
Copy link

D3Nd3R commented Sep 3, 2019

redefinition of ‘union i2c_smbus_data’
redefinition of ‘struct i2c_msg’

FIXED by comment #include <linux/i2c.h> in src/i2c.h

amaork pushed a commit that referenced this issue Apr 6, 2021
* add meson support (includes subproject and pkg-config generation)
* change include paths to explicitly use "i2c/i2c.h" since can conflict with "linux/i2c.h"
* stricter compiler settings (-Wextra)
* meson builds python module for all available python versions
* single source of truth for the version since this was out of sync
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