-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add support for Musl libc #34
Comments
Hi, However, I discovered that musl library doesn't support another feature - RTLD_DEEPBIND flag used by dlopen() in If you don't need JSON output, you can temporarily fix the issue by disabling build of the JSON plugin in By the way, how do you want to use IPFIXcol2? Do you want to run the collector directly on embedded devices instead of a server? Lukas |
Hey, thanks for the response! I am not actually directly involved in the design process for the application that would use this. I just had this submitted to me as an item to add to our build system. From what I understand though, they would be looking at using IPFIXcol2 specifically for the JSON output, so I do need that :) For this, I did use your tagged 2.1.0 release. So, if you think just #ifdef'ing out that |
…pport. Addresses GitHub CESNET/ipfixcol2 issue CESNET#34 Signed-off-by: Jake Staehle <[email protected]>
…patible. Addresses GitHub CESNET/ipfixcol2 issue CESNET#34 Signed-off-by: Jake Staehle <[email protected]>
Hello:
Most new embedded OSes use Musl as their C library. Musl does not support the "pthread_rwlockattr_setkind_np()" function and "PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP" definition.
This is the relevant log in our build system that is failing:
There is a similar resolved issue for CESNET's libnetconf2 repo: CESNET/libnetconf2#160
It looks like the solution for libnetconf2 was to simply check for that support, and then just #ifdef the entire code block that uses it: CESNET/libnetconf2@153fe40
Not sure if that would be an appropriate solution for ipfixcol2 or not?
Thanks!
The text was updated successfully, but these errors were encountered: