2020-01-19 01:18 AM
this is my program
#include "STM8AF51x8.h"
#include "math.h"
void main()
{
double x=4,result;
result=log(x);
I2C_DR=result;
}
errors:--
#error clnk Debug\weblink-1.lkf:1 symbol _log not defined (Debug\main.o )
The command: "clnk -m Debug\weblink-1.map -l"C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Lib" -o Debug\weblink-1.sm8 Debug\weblink-1.lkf " has failed, the returned value is: 1
exit code=1