You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Device problem occurs on: Arduino Yun Rev 2 (Atheros ar9331, mips architecture)
Software versions of OpenWrt/LEDE release, packages, etc.: Used this buildroot to cross-compile for LEDEYun 17.11 https://github.com/arduino/lede-yun
Steps to reproduce: Able to successfully compile c code that uses POSIX mqueue with above buildroot and toolchain, however after copying the executable over to the Yun I get thrown an error:
"main:33: (mqd_t)-1 != mq: Function not implemented"
Example code that uses POSIX mqueue and throws the error when running on the yun:
yun:
Supply the following if possible:
Device problem occurs on: Arduino Yun Rev 2 (Atheros ar9331, mips architecture)
Software versions of OpenWrt/LEDE release, packages, etc.: Used this buildroot to cross-compile for LEDEYun 17.11 https://github.com/arduino/lede-yun
Steps to reproduce: Able to successfully compile c code that uses POSIX mqueue with above buildroot and toolchain, however after copying the executable over to the Yun I get thrown an error:
"main:33: (mqd_t)-1 != mq: Function not implemented"
Example code that uses POSIX mqueue and throws the error when running on the yun:
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <errno.h>
#include <mqueue.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <fcntl.h>
#include "common.h"
int main(int argc, char **argv)
{
mqd_t mq;
struct mq_attr attr;
char buffer[MAX_SIZE + 1];
int must_stop = 0;
}
The text was updated successfully, but these errors were encountered: