since lldiv is a part of the C99 spec, current glibc only defines it if running in a C99 environment. I have to build inttypes_h.c as: gcc -std=iso9899:1999 -c -o inttypes_h.o inttypes_h.c Cheers, Matt