-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
libudev libs: Host dependency and cross compilation #26161
Comments
I have a pending PR for exactly this case: master...valgur:conan-center-index:cross/libudev For the time being you can copy the recipe or use my repo as an additional remote: https://github.com/valgur/conan-center-index?tab=readme-ov-file#setup |
Created a PR as well now: #26162. |
Thanks @valgur. |
Hi @vithalsm -in some scenarios the recipes are already able to resolve this without further changes. Could you provide the following details:
|
Hi @jcar87, could you please elaborate on how the recipes are able to handle the cross compilation case? ======= Input profiles ======== [options] [conf] [buildenv] Profile build: [settings] [options] [conf] |
Using the changes from PR mentioned above by @valgur. Build still fails with libudev not able to find one of the dependencyheader file.In file included from ../src/src/libsystemd/sd-bus/bus-control.c:16:
|
I added a fix for the libcap issue to my PR. |
Hi @vithalsm - which recipes from Conan center are you trying to build? |
What is your question?
Hi !, my question is regarding building libudev libs for linking to host - for cross compilation purposes.
Existing libudev only seem to install/check 'system' udev libs, but doesn't pull source code and build. As a result even cross compilation of 'libudev' itself fails (in test_package) as it doesn't find right '.h' files.
So, for cross compilation case, wherein linker requires corresponding udev libs, what is the suggested option?
The text was updated successfully, but these errors were encountered: