Skip to content

Dev Branch error libgps API version might be incompatible #295

@Thomas-McCarthy

Description

@Thomas-McCarthy

Seems to be a regression from issue #222

Running on Raspberry Pi 3 Raspberry OS (Linux 5.4.72-v7+ #1356)

When running gpsd version 3.21.1~dev (revision release-3.21-448-g100efd0c3), compiled from source from latest gpsd repo, the following error is displayed when attempting to compile direwolf from the dev branch.

error libgps API version might be incompatible

Editing src/dwgpsd.c and changing the GPSD_API_MAJOR_VERSION value from 10 to 11 appears to solve this.

#if GPSD_API_MAJOR_VERSION < 5 || GPSD_API_MAJOR_VERSION > 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions