ralph-irving / squeezelite

Lightweight headless squeezebox player for Lyrion Media Server
https://sourceforge.net/projects/lmsclients/files/squeezelite/
Other
391 stars 98 forks source link

Build error in gpio.c with latest PR #201

Closed 986ster closed 10 months ago

986ster commented 10 months ago

Trying to build 2.0.0 on a Pi 4 (aarch64) using the latest PR for the newest GPIO functionality, and I'm getting fatal compile error (parameter 3 (‘value’) has incomplete type) at line 44 in gpio.c.

Have the libgpiod-dev package installed, which installed libgpiod2 as a prerequisite. The notes don't appear to suggest anything additional that's required.

Am I missing something, or is this actually broken at the moment?

paul-1 commented 10 months ago

Seems Debian calls it libgpio2, when it's only v1.6.3. I wonder if it became 2 when the source moved to kernel.org.

Needs to be > v2.0. See https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git

Builds fine for me from libgpiod source.

986ster commented 10 months ago

Thanks. I did wonder about the naming of libgpio2 vs. the version number. That explains the issue.