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 error against libgps 3.24 #402

Closed
yuvadm opened this issue Jun 19, 2022 · 8 comments
Closed

Build error against libgps 3.24 #402

yuvadm opened this issue Jun 19, 2022 · 8 comments

Comments

@yuvadm
Copy link

yuvadm commented Jun 19, 2022

Similar to #357 build fails when building against libgps 3.24

[ 37%] Building C object src/CMakeFiles/direwolf.dir/dwgpsd.c.o
src/direwolf/src/dwgpsd.c:68:2: error: #error libgps API version might be incompatible.
   68 | #error libgps API version might be incompatible.
      |  ^~~~~
make[2]: *** [src/CMakeFiles/direwolf.dir/build.make:1014: src/CMakeFiles/direwolf.dir/dwgpsd.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:538: src/CMakeFiles/direwolf.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
@wb2osz
Copy link
Owner

wb2osz commented Jun 20, 2022

Which version of direwolf is this?
Try using the "dev" branch.

@yuvadm
Copy link
Author

yuvadm commented Jun 24, 2022

@wb2osz sorry I forgot to mention this, I am already on dev branch, head commit d11bd6f

@meltdown03
Copy link

I changed this line to a #warning instead of an error and rebuilt it.

#error libgps API version might be incompatible.

@yuvadm
Copy link
Author

yuvadm commented Jun 29, 2022

@meltdown03 does the build work properly? No breaking changes in gpsd?

@wb2osz
Copy link
Owner

wb2osz commented Jun 29, 2022

Sometimes a major API number change includes incompatibilities with previous versions.
It might compile successfully but not operate properly without additional source code changes.
You will find conditional compilation, in several places, dealing with those incompatible API changes.
Did you test for correct operation?

@meltdown03
Copy link

meltdown03 commented Jun 29, 2022 via email

@yuvadm
Copy link
Author

yuvadm commented Oct 5, 2022

There's a comment on Arch Linux AUR that confirms no regression with new gpsd versions https://aur.archlinux.org/packages/direwolf-git#comment-872500

@wb2osz
Copy link
Owner

wb2osz commented Apr 10, 2023

This has been tested on gpsd versions up through 3.25. Closing.

@wb2osz wb2osz closed this as completed Apr 10, 2023
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

3 participants