Posix message queues in Linux 2.4

From: aires (barros_aires_at_yahoo.com)
Date: 09/21/04


Date: 21 Sep 2004 03:48:08 -0700

hi
I've been checking on availability of posix message queues -
mq_open,mq_send, mq_recieve,etc but am a bit comfused as to whether i
can use this API for an old 2.4.18 kernel. from what i understand from
the site - http://www-users.mat.uni.torun.pl/~wrona/posix_ipc/ - the
library is only an interface to the actual kernel fn calls. Thus my
kernel would also have to support Posix message queues besides just
the library patch being applied to glibc. Also i suppose i would have
to compile glibc against the corresponding kernel.
Hope i'm correct so far?
Now heres my problem - As they say posix mess q's were incorpated in
the kernel only from 2.6.6-rc1.
Thus from all of the above - would this would mean that using any
kernel earlier than the 2.6.6-rc1 (or rather any 2.4 kernel) would
mean that i cannot use posix mess q's ? (unless of course theres a
patch for earlier kernels ?)
Actually what i'm doing at the moment is compiling using a 2.6.5
kernel (suse 9.1 pro). Also glibc 2.3.2 and gcc2.95.3 were compiled
against the 2.6.5 kernel headers. Which is why i suppose i wasnt
getting any errors.
Was about to recompile but now unsure whether it would be of any use.
Help !

thanks
Aires



Relevant Pages

  • POSIX Message Queues
    ... following issues with POSIX message queues. ... -An application fails to close/unlink queues, ... kernel, is the support just not finished? ...
    (Fedora)
  • Re: [SLE] Compiling a Vanilla Kernel
    ... to compile glibc, not for the kernel du jour. ... Make mrproper should be issued just once, ... Since you are going to be making changes to the .config, ...
    (SuSE)
  • Re: [SLE] Compiling a Vanilla Kernel
    ... > used to compile glibc, not for the kernel du jour. ... default .config next time you to go make config changes. ...
    (SuSE)
  • Re: [SLE] Compiling a Vanilla Kernel
    ... > source/headers used to compile glibc, ... > You can put the kernel sources you're compiling anywhere, ... >> as root and continue where you left off. ...
    (SuSE)
  • Re: sshd gives illegal instruction on VIA C3 400A CPU
    ... I am using 386 processor in my kernel. ... starting up so I had to compile glibc for 386 and it started working ... How did you build your flash? ... possible for you give me your .config file if you have ...
    (comp.security.ssh)