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

Undefined reference to xed_iform_map #279

Open
GammaPi opened this issue Sep 11, 2021 · 1 comment
Open

Undefined reference to xed_iform_map #279

GammaPi opened this issue Sep 11, 2021 · 1 comment

Comments

@GammaPi
Copy link

GammaPi commented Sep 11, 2021

When building xed_iform_map is undefined.
I know it has little information to help debugging. I just want to see if others encounters the same problem.

I already added extern "C" when importing xed-interface.h:

#ifdef __cplusplus
extern "C" {
#endif

#include "xed/xed-interface.h"

#ifdef __cplusplus
};
#endif

It looks like #include "xed-build-defines.h" is not placed in every file.

Built using gcc-9 on ubuntu 20.04

@GammaPi
Copy link
Author

GammaPi commented Sep 11, 2021

I also observe using default build, XED_ENCODER is undefined for some header files.

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

1 participant