hashcat Forum
When link the hashcat library, errors about 'undefined declaration' occurs - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: When link the hashcat library, errors about 'undefined declaration' occurs (/thread-11386.html)



When link the hashcat library, errors about 'undefined declaration' occurs - WeiCoer - 04-12-2023

I want to `#include` hashcat header files to achieve my special tasks. But, when I link my `.o` files with `libhashcat.so.6.2.6`, I got 'undefined declaration` errors.

What puzzles me is that, I can get the functions symbols in `libhashcat.so.6.2.6` by using `objdump -t` command. I use the `cmake` as my build tool.

If you have any suggestions, make me known. Thank you very much!


RE: When link the hashcat library, errors about 'undefined declaration' occurs - WeiCoer - 04-19-2023

This problem has solved!