2017-01-10 08: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.
2017-01-17 03:08 AM
OK i found the solution -I xxxx for the CFLAGS
thanks~
2017-01-11 01: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
2017-01-17 03:08 AM
OK i found the solution -I xxxx for the CFLAGS
thanks~