Kiki uses the getdirentries function in KFileTools:
while ((bytesRead = getdirentries(fd, entry, sb.st_blksize, &basep))
However, getdirentries' fourth argument is actually a pointer to off_t:
ssize_t getdirentries(int fd, char buf, size_t nbytes , off_t basep);
and on FreeBSD, off_t is always a 64-bit integer, even on 32-bit systems. This causes kiki to fail to compile.
The fix is trivial: just change the type of basep. Patch attached.