#include <hidef.h> /* common defines and macros */
#include <MC9S12XS128.h> /* derivative information */
#pragma LINK_INFO DERIVATIVE "mc9s12xs128"
#include<math.h>
void main(void)
{
int current=0;
int CurrentPoint=0x03;
int SetPoint=0x01;
int a=0;
a = CurrentPoint/SetPoint;
current = log(a);
}
报错:link error1822:Symbol log in the file main.c.o is undefined
是什么意思?怎么修改?谢谢~~