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

Error compiling libraries #13

Open
mauricio-bv opened this issue Apr 25, 2022 · 3 comments
Open

Error compiling libraries #13

mauricio-bv opened this issue Apr 25, 2022 · 3 comments

Comments

@mauricio-bv
Copy link

Hi
I am following lg library installation instructions, but when running "make", I get many errors as below. Am I missing something in the installation. Thanks.

image

@mauricio-bv mauricio-bv changed the title Error compipling libraries Error compiling libraries Apr 25, 2022
@alainguima
Copy link

Did you manage to build it?

@ramok
Copy link

ramok commented Jul 6, 2022

Looks like you have kernel before v5.10, when gpiochip API v2 was introduced.
Actually dropping gpiochip API v1 from lgpio v0.2 it's a problem, becouse a lot of embedded systems use LTS kernel before v5.10.

I make openembedded/yocto recipe for lgpio, and forced to drop last commit before v0.2 becouse of this :(

It's possible to return support of gpiochip API v1?

@joan2937
Copy link
Owner

joan2937 commented Jul 8, 2022

Use v0.1 if you need API v1.

The only difference between the versions is one uses gpiochip API v1 and the other uses gpiochip API v2.

(the only functional difference is the addition of pulls which are supported in gpiochip API v2 but not in gpiochip API v1).

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

4 participants