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

dictionary_copy_to_existing is undefined #64

Open
shakfu opened this issue Nov 1, 2023 · 2 comments
Open

dictionary_copy_to_existing is undefined #64

shakfu opened this issue Nov 1, 2023 · 2 comments

Comments

@shakfu
Copy link

shakfu commented Nov 1, 2023

dictionary_copy_to_existing is in ext_dictionary.h but no symbol is public.

It has the following signature:

t_max_err dictionary_copy_to_existing(const t_dictionary *d, t_dictionary *dc)

When I try to use it:

Undefined symbols for architecture x86_64:
  "_dictionary_copy_to_existing", referenced from:
      ___pyx_f_3api_10Dictionary_copy_to_existing in api.o
ld: symbol(s) not found for architecture x86_64
@shakfu shakfu changed the title dictionary_copy_to_existing is in ext_dictionary.h but no symbol is public dictionary_copy_to_existing is undefined Nov 1, 2023
@jeremybernstein
Copy link
Contributor

dictionary_copy_to_existing isn't exported from the kernel. I guess we should either export it or remove it from the public header.

@shakfu
Copy link
Author

shakfu commented Nov 1, 2023

@jeremybernstein

Thanks for your reply. Yes, it's in the header, but not in the docs.

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

2 participants