Most users of atemu are currently using the TinyOS and nesC operating environment. The TinyOS framework allows debug messages to be printed to the console during TOSSIM simulations. A small patch must be applied to the TinyOS source for these debuging messages to work with atemu.
To apply the patch:
% patch -p1 < tinyos-dbg.h.patch
LDFLAGS := $(LDFLAGS) -lprintf_flt -lm