-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi there,
It seems like the types gss_name_struct and gss_cred_id_struct do not exist in the bindgen output of libgssapi-sys when built against heimdal v7.8 (specifically heimdal-7.8.0-unstable-2024-09-10, but I confirmed the symbols didn't exist in 7.8.0 either).
I guess they could just be replaced with their _t counterparts, but having no clues on what really goes on behind the FFIs boundaries, I'll wait for your expertise on that.
I can provide a PR if you want to.
Cheers 🎉
Edit: here are the logs.
error[E0432]: unresolved import `libgssapi_sys::gss_name_struct`
--> /home/me/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libgssapi-0.9.1/src/name.rs:8:22
|
8 | gss_import_name, gss_name_struct, gss_name_t, gss_release_name, gss_export_name,
| ^^^^^^^^^^^^^^^
| |
| no `gss_name_struct` in the root
| help: a similar name exists in the module: `gss_name_t`
error[E0432]: unresolved imports `libgssapi_sys::gss_cred_id_struct`, `libgssapi_sys::gss_name_struct`
--> /home/me/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libgssapi-0.9.1/src/credential.rs:13:68
|
13 | gss_OID_set, gss_acquire_cred, gss_acquire_cred_with_password, gss_cred_id_struct,
| ^^^^^^^^^^^^^^^^^^ no `gss_cred_id_struct` in the root
14 | gss_cred_id_t, gss_cred_usage_t, gss_inquire_cred, gss_name_struct, gss_name_t,
| ^^^^^^^^^^^^^^^ no `gss_name_struct` in the root
|
help: a similar name exists in the module
|
13 - gss_OID_set, gss_acquire_cred, gss_acquire_cred_with_password, gss_cred_id_struct,
13 + gss_OID_set, gss_acquire_cred, gss_acquire_cred_with_password, gss_cred_id_t,
|
help: a similar name exists in the module
|
14 - gss_cred_id_t, gss_cred_usage_t, gss_inquire_cred, gss_name_struct, gss_name_t,
14 + gss_cred_id_t, gss_cred_usage_t, gss_inquire_cred, gss_name_t, gss_name_t,
|
error[E0432]: unresolved import `libgssapi_sys::gss_cred_id_struct`
--> /home/me/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libgssapi-0.9.1/src/context.rs:12:29
|
12 | gss_channel_bindings_t, gss_cred_id_struct, gss_cred_id_t, gss_ctx_id_t,
| ^^^^^^^^^^^^^^^^^^
| |
| no `gss_cred_id_struct` in the root
| help: a similar name exists in the module: `gss_cred_id_t`
For more information about this error, try `rustc --explain E0432`.
error: could not compile `libgssapi` (lib) due to 3 previous errors
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels