atoll isn't part of C89, but is part of C99 (the new C standard). However, most C compilers are C89 compilers and therefore may not provide atoll. See the compiler documentation and see the linker options mentioned in the diagnostic.
If your compiler doesn't provide it, there may be atoll...