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

Fails to build with 4.9 & musl libc #73

Closed
jku opened this issue Dec 28, 2016 · 6 comments
Closed

Fails to build with 4.9 & musl libc #73

jku opened this issue Dec 28, 2016 · 6 comments

Comments

@jku
Copy link

jku commented Dec 28, 2016

pppol2tp plugin fails to build with linux 4.9 headers and musl libc with:

| In file included from pppol2tp.c:34:0:
| /usr/include/linux/if.h:97:2: error: expected identifier before numeric constant
|   IFF_LOWER_UP   = 1<<16, /* __volatile__ */

I've fixed this locally by removing #include <linux/if_pppox.h> from openl2tp.c and pppol2tp.c as the include isn't actually needed, but I'm unsure whether this is the fix you'd like upstream... Let me know if you'd rather have a PR.

@Neustradamus
Copy link
Member

@jku: The problem is always here in mainline and up-to-date linux kernel?

@jku
Copy link
Author

jku commented Nov 9, 2020

Sorry, I wouldn't know: I've not compiled anything for musl in a few years.

@Neustradamus
Copy link
Member

@jku: Ok :/

@RICCIARDI-Adrien
Copy link
Contributor

Hi,
This issue might be closed now that musl support has been merged (see 7555728).

@Neustradamus
Copy link
Member

@mjeveritt
Copy link
Contributor

@mjeveritt: Have you tested, perfect for you?

Linked to:

* #51
* #110
* [7555728](https://github.com/paulusmack/ppp/commit/7555728c50db87ae7d5b8c018c006a14bf374584)

I can't speak to #51 at this stage, but the other two are definitely covered in Gentoo musl's patch here .

Tangentially I'm helping with #111 so that we can eliminate many of the Gentoo 'glibc'/vanilla patches for ppp, since we were looking to merge musl support into the main ::gentoo repository anyway. This will be a good tidy-up for the distro 😄 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants