"implicit declaration of <some function>" error