Alright now we are talking, after you've posted the link for your code.
void incp_from_pt_slope(double x1, double y1, double m, double *b) ;
|
void intcp_from_pt_slope(double x1, double y1, double m, double *b);
Did you see difference ? incp_from_pt_slope
is not same as incp_from_pt_slope
, and that's why linker complains that undefined reference error.