Message queue IPC initialisation failure in AXCF 2152

We are trying to port a linux application on PLC Next AXCF 2152. Application consists of multiple binaries communicating with each other using linux message queues. After compiling the application for AXCF 2152 we are getting error on msgget system call. This call always fails with an error code which is not specified in linux documentation. Integral vlaue of this error code is 38. Following sample program creates same error as it happens in our main application. Sample application(below) as well as main application are being compiled in AXCF 2152 using gcc. All the tasks are being performed as root user. sample application source :https://www.dropbox.com/s/inpkijq4nr5qrlo/client.c?dl=0 output on AXCF2152 :https://www.dropbox.com/s/is8x0wd01pd14lq/client_output.txt?dl=0 Section 5.6.2 of AXCF 2152 user manual mentions to use full path beginning with “/” in order to make use of message queue. However this did not lead to any improvement either. Can you please tell how can we resolve this error? Device :PLCNext AXCF 2152

Software version :2019.3
GCC :7.2.0

There exist two types of message queues in Linux, System-V and POSIX. POSIX is supported but SysV is disabled in the current version of the kernel. In the given example, SysV message queues are used. Therefore error code 38 was received (not implemented) #define ENOSYS 38 /* Function not implemented */

You can use POSIX message queues, they have a slightly other notation but provide similar funtionality.