Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /Users/acagliano/CEdev/meta/ld.alm [1526] macro ? [1255] :read? [14] obj/lto.src [43]:
- extern lib.HASHLIB
- extern? [12] (CALM)
- Error: symbol ':globals.lib.HASHLIB' is undefined or out of scope.
- make: *** [bin/DEMO.bin] Error 2
- Minimum Reproducible Code:
- #include <hashlib.h>
- #include <libload.h>
- #include <stdio.h>
- #define NIST_RECD_SALT_SIZE 16
- #define CEMU_CONSOLE ((char*)0xFB0000)
- int main(void)
- {
- if(libload_IsLibLoaded(HASHLIB)){
- uint8_t salt[NIST_RECD_SALT_SIZE];
- csrand_init();
- csrand_fill(salt, sizeof salt);
- return 0;
- }
- else {
- sprintf(CEMU_CONSOLE, "HASHLIB not present");
- return 1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement