I just d/led your zip and saw that in map.c you havent put " return 0; " at the end.