Mono incorrectly (and needlessly) redefines malloc and calloc in jay/defs.h. The attached patch fixes this behaviour and allows compilation. Reproducible: Always Steps to Reproduce:
Created attachment 30207 [details, diff] Patch to fix compilation error
Newer mono versions seem to work fine with gcc-3.4, marking WONTFIX, but feel free to reopen if this is still a problem.