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

Issues with Include #222

Open
lforche opened this issue Nov 18, 2023 · 1 comment
Open

Issues with Include #222

lforche opened this issue Nov 18, 2023 · 1 comment

Comments

@lforche
Copy link

lforche commented Nov 18, 2023

I have included "aes.h" into another header file. I have gotten the following errors. I believe that "aes.h" is in my path, but is that the only reason why these errors would be happening, or is there something else that I am missing? I have put "aes.h" in the same place as my header file that I am working on, but these errors happened still

error: ‘AES_init_ctx’ was not declared in this scope
13 | AES_init_ctx(&ctx, key);

error: ‘void AES_init_ctx(rv32_custom_add(processor_t*, insn_t, reg_t)::AES_ctx*, const uint8_t*)’, declared using local type ‘rv32_custom_add(processor_t*, insn_t, reg_t)::AES_ctx’, is used but never defined [-fpermissive]
52 | void AES_init_ctx(struct AES_ctx* ctx, const uint8_t* key);

@rilysh
Copy link

rilysh commented Nov 24, 2023

Can you provide some more information regarding your issue? (e.g. compiler arguments, and a test program)

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