undefined reference to `log'
Posted: Wed Aug 22, 2018 7:59 am
Hi, there.
I'm trying to compile an algorithm that contains the "Log" function. I have included the Math.h library but when I try to compile it gives me the following error per console:
src\Lectura_Termistor.o: In function `Calculo':
Lectura_Termistor.c:(.text.Calculate+0x7e): undefined reference to `log'
collect2.exe: error: ld returned 1 exit status
Can you give some comment?
Best regards!
I'm trying to compile an algorithm that contains the "Log" function. I have included the Math.h library but when I try to compile it gives me the following error per console:
src\Lectura_Termistor.o: In function `Calculo':
Lectura_Termistor.c:(.text.Calculate+0x7e): undefined reference to `log'
collect2.exe: error: ld returned 1 exit status
Can you give some comment?
Best regards!