[Bug 232908] mqueue.h needs to include fcntl.h

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 2 12:56:47 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232908

--- Comment #4 from jphartmann at gmail.com ---
Perhaps the point is moot after all.  I get errno 78 opening the queue now that
I managed to compile the code.  This is my trace of the failing open:

mq_open /stxready error 78: Function not implemented

Of course, it would help if I could know what exactly is not implemented.  The
man page does not offer any insight, nor does it mention the error ENOSYS, but
of course, that could be a case of left hand and right hand.

I do link with -lrt:

gcc -o obj/FreeBSD.amd64/cdlist obj/FreeBSD.amd64/cdlist.o
obj/FreeBSD.amd64/amix.o obj/FreeBSD.amd64/curs.o obj/FreeBSD.amd64/dirl.o
obj/FreeBSD.amd64/dirpaint.o obj/FreeBSD.amd64/dmenu.o obj/FreeBSD.amd64/menu.o
obj/FreeBSD.amd64/pl.o obj/FreeBSD.amd64/sched.o obj/FreeBSD.amd64/st.o
obj/FreeBSD.amd64/cdlist_opts.o obj/FreeBSD.amd64/cdlist_enum.o  jlinktime.c
-L../playlist/obj/FreeBSD.amd64 -lXCurses -lmenu -lplaylist -lrt -lpthread
-lasound -lj -L/home/john/lib -L/usr/local/lib

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list