problem is that the "generate_track" in flopimg.c uses function from emualloc.h to allocate and free memory, and emualloc.h is not included when compiling tools...
OG or Micko can probably find what to use for allocation / free-ing so that tools can be made to compile again...