/Examples_Crypto/Src/example_rsa_encdec.c:224: undefined reference to `AccHw_RSA_PKCS1v15_Encrypt'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-01-10 8:32 PM
hi i am new to linux,.
this is my first time to use command line makefile to compile.
i now encounter a problem that
undefined reference to `AccHw_RSA_PKCS1v15_Encrypt' in the /Examples_Crypto/Src/example_rsa_encdec.c
but i have already added the library path and library for that
LFLAGS += -L$(TOPDIR)Middlewares/ST/STM32_Crypto_AccHw/Lib -lSTM32AccHwCryptoV3.1.0_F2_GCC -lSTM32AccHwCryptoV3.1.0_F2_GCC_ot -lm
main.elf: $(OBJS)
$(CC) $(LFLAGS) -o $@ $(OBJS) @echo 'linked '$<'!\n'I would appreicate if anyone can help.
Thanks
Jeff
Solved! Go to Solution.
- Labels:
-
Cryptography
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-01-17 3:08 AM
OK i found the solution -I xxxx for the CFLAGS
thanks~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-01-11 1:24 AM
Dear
yu.jeff
‌,Make sure that your project is configured properly and has the right include paths and source files from the same tree.
Perhaps there is something not setup correctly in your project settings ?
Best Regards
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-01-17 3:08 AM
OK i found the solution -I xxxx for the CFLAGS
thanks~
