#include <hidef.h> /* common defines and macros */
#include <mc9s12e128.h> /* derivative information */
#include <math.h>#pragma LINK_INFO DERIVATIVE "SampleS12"double result;
void main(void) {
result = sqrt(4);
The specific error I get is:
Link Error: L1822 Symbol sqrt in file main.c.o is undefined
Link Error: Link failed
Solved! Go to Solution.
ok, thanks for that tip....looks like its gotten me somewhere possibly.
I'm now getting a different error:
Link Error: L4025: This limited version allows only 1024 bytes of code.
Link Error: Link failed
So by the looks of it, I dont have the full version. I believe I download a student version (as I am a student working on my final year project). Would an upgrade involve any cost? If so, I dont have any budget at all
Unless theres another way around this. I used the same code I mentioned before, and all the same settings except for the support for floating point, and I tried both 16 and 32. thanks,
mark