-
Notifications
You must be signed in to change notification settings - Fork 4
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
undefined reference to `_Ux86_64_getcontext' #24
Comments
Hello @johnsongash, It looks like linter cannot find Could you please give more details about your setup? I'm not sure what exactly we need to solve it, but maybe you could share OS version, c++ compiler, linter and Rust version? Do you have libunwind in your system? |
Hi @hombit, |
@johnsongash, thank you for the report! I still cannot reproduce it. Feel free to reopen / open a new one when you catch the problem again |
Same issue here. Building Updated branch: https://github.com/ulagbulag/ceres-solver-rs/tree/fix/change-linking-method-to-dynamic Feel free to check it and I'll push a PR. |
@kerryeon thank you so much for investigating. Could you please tell me about your environment so I can reproduce the issue? My problem with dynamic linking is that the final user of the library cannot make their binary portable: it would depend on the |
@kerryeon @johnsongash could you please check it again with version 0.3.0? I hopefully dropped |
Hi @hombit ,
there is some issue building ceres-solver-rs,
after adding dependency in cargo.toml,
ceres-solver = { version = "0.2.1", features = ["source"] }
getting error building in my project
in function
google::GetStackTrace(void**, int, int)': utilities.cc:(.text._ZN6google13GetStackTraceEPPvii+0x4f): undefined reference to
_Ux86_64_getcontext'/usr/bin/ld: utilities.cc:(.text._ZN6google13GetStackTraceEPPvii+0x5c): undefined reference to
_ULx86_64_init_local' /usr/bin/ld: utilities.cc:(.text._ZN6google13GetStackTraceEPPvii+0xc3): undefined reference to
_ULx86_64_step'/usr/bin/ld: utilities.cc:(.text._ZN6google13GetStackTraceEPPvii+0xdc): undefined reference to
_ULx86_64_get_reg' /usr/bin/ld: utilities.cc:(.text._ZN6google13GetStackTraceEPPvii+0xef): undefined reference to
_ULx86_64_step'collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: