cancel
Showing results for 
Search instead for 
Did you mean: 

#error clnk Debug\weblink-1.lkf:1 symbol _log not defined (Debug\main.o ) what is this error???

Mreva.1656
Associate

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

0 REPLIES 0