Liu Cui

【help】about math functions

Discussion created by Liu Cui on Mar 26, 2009
Latest reply on Mar 30, 2009 by Liu Cui

hello everyone. I'm using mfc 5282 .When I use a math function like 'abs' or 'sqrt',there comes a link error.

my main.c file begins as below:

 

#include "src/init/m5282evb.h"
#include "src/init/mcf5282.h"//wsyy
#include <math.h>
#include <stdio.h>
#include <stdlib.h>

the link error is:

 

Link Error : Undefined : "sqrt"

 

ask for your help. thank you

Outcomes