I want to use lib_mmcau.lib, but it compile err:
Build Project 'hello_world' - Target 'hello_world Debug'
compiling main.c...
linking...
debug\hello_world.out: Error: L6238E: mmcau_sha1_functions.o(.text) contains invalid call from '~PRES8 (The user did not require code to preserve 8-byte aligment of 8-byte data objects)' function to 'REQ8 (Code was permitted to depend on the 8-byte aligment of 8-byte data items)' function mmcau_sha1_hash_n.
debug\hello_world.out: Error: L6238E: mmcau_sha1_functions.o(.text) contains invalid call from '~PRES8 (The user did not require code to preserve 8-byte aligment of 8-byte data objects)' function to 'REQ8 (Code was permitted to depend on the 8-byte aligment of 8-byte data items)' function mmcau_sha1_hash_n.
Finished: 0 information, 0 warning and 2 error messages.
"debug\hello_world.out" - 2 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:01
Here is my step in Keil5:
1. Use ksdk hello_world demo, and configure Linker option,


2. In main, add code,
int main (void)
{
uint8_t aucHashData[20];
mmcau_sha1_initialize_output((const unsigned int *)aucHashData);
....
}
Thanks for any help!