To compile ecu3, remove all malloc references in the makefile and in ecu.h. Undefine the #define MALLOC_3X to #undef MALLOC_3X in ecu.h and remove the -lmalloc from the $(LDFLAGS) declaration. I have it running and works fine.