implicit declaration of function ... is invalid in C99

NoSuchKey