-
Notifications
You must be signed in to change notification settings - Fork 6
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
doesn't build on systems using musl libc. #2
Comments
@onodera-punpun Try installing these packages and seeing if it'll compile: These packages may also be of interest: Hopefully that helps :) |
Sorry for the late reply, do you have any distro you are using musl reference so I can test? I didn't get notified by GitHub so thats why I didn't reply, sorry! |
Hi @onodera-punpun @saltedcoffii just to confirm I will start working on this issue tomorrow on void linux musl |
Now it builds on musl_c without any issues! :D Check latest commit: 006cee9 Thanks for your research! You will be given proper credit when I finish docs! |
Seems like
uint32_t
anduint64_t
should be used and is the standard type. See https://lists.freedesktop.org/archives/release-wranglers/2004-August/000923.html#include <stdint.h>
should also be added toprimes.h
, to include the type.Some patch for another program I found (https://www.linuxtv.org/pipermail/vdr/2017-January/029221.html) fixed it by adding this ifdef:
Fix: https://github.com/alpinelinux/aports/blob/master/community/guvcview/0001-fix-building-with-musl-libc.patch
There are a lot more errors, I might try creating a patch this week, but I am not an expert with C.
The text was updated successfully, but these errors were encountered: