Last month Florian asked if there was a work-around for the missing calloc if you dynamically linked your program with a recent version. The linker seems alwas to expect your executables to be linked against glibc otherwise you get a missing calloc error.
A possible work-around is maybe to add a calloc function to system ?
function calloc(nitems,nsize:size_t):pointer;inline;cdecl;
begin
calloc := allocmem(nitems*nsize);
end;
It may fool the linker into seeing that one first. I checked it is fully compatible with the glibc function and the pointer can subsequently also be used with other c functions even if you link against glibc.