The general problem of approximation and spline functions