Whitespace to common.h, try calloc instead of malloc in mem.c. No difference.
Don't use /opt/local, that belongs to Macports.