-
Notifications
You must be signed in to change notification settings - Fork 78
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
Anacron can not be compiled on musl #50
Comments
I would accept PR that would automatically disable anacron (by default, not when explicitly enabled) if there is no obstack.h idetected in configure. |
How about including the obstack.h/obstack.c files in the project, as GCC does in libiberty, and building as necessary? |
Is this still an issue as of the recent commits? |
I don't see any recent commits that change the obstack code, so I would guess no. Is there something specific you were thinking of @Kratacoa? |
I'd accept any reasonable PR. |
Neither musl nor AIX (and likely other non-GNU systems) provide the obstack interface used by anacron. To work around this, include a copy of obstack.c and obstack.h from libiberty and build them when obstack support is not detect on the host system. Fixes #50 Signed-off-by: Kevin Adler <[email protected]>
As in the latest version of cronie 1.5.5, there is enabled Anacron by default, which can not be compiled on musl.
I solved it by BKPepe@a7eb66a, afterwards more warnings and error appeared:
Anyway, when I used --disable-anacron, I am able to compile cronie just fine and it works.
The text was updated successfully, but these errors were encountered: