EAFNOSUPPORT despite kernel build in
jan.kiszka at siemens.com
Tue Dec 4 14:46:55 CET 2018
On 04.12.18 12:04, Johannes Holtz via Xenomai wrote:
> When I request a socket with AF_RTIPC I get an EAFNOSUPPORT in return.
> int sock = socket(AF_RTIPC, SOCK_DGRAM, IPCPROTO_IDDP);
You likely didn't wrap this posix application to link against the Xenomai libs,
rather than normal libc. See manuals / wikis.
> rtipc.h is included
> #include <rtdm/rtipc.h>
> I have build the support for RTIPC into the kernel (not a module) and
> expected this to work more or less out of the box. Did I forget something
> or must this feature be a module?
> I have searched for a solution but haven't found anything.
> Here information about the system:
> virtual machine (VBox) with 1 CPU, 2.5GB RAM, 15GB disk
> base kernel version is 3.18.20
> xenomai version is 2.6.5 (from the download page not from the git repo)
Don't start anything new on 2.6 anymore, it's long retired.
> using the included ipipe patch
Same goes for such old kernels and patches.
> the kernel config has the feature enabled
> root at xeno:~/kernelbuild# grep RTIPC /boot/config-3.18.20
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
More information about the Xenomai