cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
plasmaphase
Observer
Observer
198 Views
Registered: ‎10-23-2018

petalinux kernel module mqueue.h

I'd like to be able to interact with POSIX message queues from within a kernel module (I've had success in user apps), but am not able to find how I can include headers to provide mq_open(), mq_receive() etc... which results in:

error: implicit declaration of function 'mq_open'

  I do have the kernel configured to support it:

POSIX_MQUEUE=y

 

Has anyone had any success using POSIX message queues from within a kernel module?

0 Kudos
1 Reply
plasmaphase
Observer
Observer
121 Views
Registered: ‎10-23-2018

It also appears that system v might also be supported (in kernel config under -> General Setup), which is the predecessor to POSIX message queues, however, I'd prefer to use posix message queues

Symbol: SYSVIPC [=y]

 

0 Kudos