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

Zenoh unresolved reference to shm in Android 13. #403

Open
Mallets opened this issue May 30, 2024 · 4 comments
Open

Zenoh unresolved reference to shm in Android 13. #403

Mallets opened this issue May 30, 2024 · 4 comments

Comments

@Mallets
Copy link
Member

Mallets commented May 30, 2024

Discussed in eclipse-zenoh/roadmap#138

Originally posted by ashirvad-acsia May 29, 2024
While adopting the zenoh pub sub middleware implementation for Android 13 we are facing the following issues while integrating zenoh library:
Undefined reference to shm - shared memory APIs :shared_memory::unix::create_mapping::he2aa66c0237b54c1: error: undefined reference to 'shm_open'
To resolve this issue we tried to disable the shared memory feature in the cmakelist file by the following modification:
declare_cache_var(ZENOHC_BUILD_WITH_SHARED_MEMORY FALSE BOOL "Enable shared-memory zenoh-c feature")
However the build error remains same for the shm dependency.
Could anybody please suggest a solution?

We are using the following environment:
Zeno C API with a C++ wrapper for our middleware C++ implementation
Target : Android 13 - running in an emulator

@Mallets Mallets transferred this issue from eclipse-zenoh/roadmap May 30, 2024
@Mallets
Copy link
Member Author

Mallets commented May 30, 2024

@yellowhatter this issue seems to be blocked by the capability of zenoh-c to fully disable shared-memory support.

@yellowhatter
Copy link
Contributor

@milyin @DenisBiryukov91 FYI

@sjames
Copy link

sjames commented Jun 2, 2024

@yellowhatter this issue seems to be blocked by the capability of zenoh-c to fully disable shared-memory support.

Being able to build this natively in Android is pretty important. Thanks for moving it to the roadmap discussions for 1.0.0.

@yellowhatter
Copy link
Contributor

@Mallets @sjames
WIP: #406

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

No branches or pull requests

3 participants