The example wasn't compiling under Linux Ubuntu 14.04, since this example replied upon the legacy interface. The following compile flag was needed to build the example: -DMG_LEGACY_INTERFACE=1
@@ -18,7 +18,7 @@ LIBS = -lpthread
include $(TOP)/resources/Makefile.in-os
ifeq ($(TARGET_OS),LINUX)
- LIBS += -ldl
+ LIBS += -ldl -DMG_LEGACY_INTERFACE=1
endif
all: $(PROG)