I have an Alljoyn service that works correctly on an Arduino Due, but when I change the build target to my Arduino Yun I receive the following error when I select the verify action (not even upload!):
aj_target.h:32:20: fatal error: malloc.h: No such file or directory.
I understand that the micro-controller on the Yun may not have the power to run the Alljoyn thin client, but I'm not even getting to that point, the build fails long before upload.
To provide a simple example, I used the "Blink" example that comes with the Arduino IDE and added
#include <malloc.h> before
void setup() and it verifies without issue on my Arduino Due but not the Yun.
Blink.ino:16:20: fatal error: malloc.h No such file or directory compilation terminated. Error compiling.
Does the Yun not come with a malloc.h or is there some additional environmental setup I need specifically related to the Yun?