POSIX semaphores on ppc_6xx
Ben Warren
bwarren at qstreams.com
Fri Apr 27 10:10:39 EST 2007
Thanks Arnd,
--- Arnd Bergmann <arnd at arndb.de> wrote:
> On Friday 20 April 2007, Ben Warren wrote:
> > The cross-compiled glibc that is included in ELDK 4.0 doesn't seem to
> > have support for POSIX semaphores. I get the following runtime errors:
> >
> > sem_open: Function not implemented
> >
> > when trying to implement a named semaphore, and
> >
> > sem_init: Function not implemented
> >
> > when trying to implement an unnamed semaphore.
> >
> > Does anybody know if POSIX semaphores have been ported to ppc_6xx, and
> > if so, where I could find a binary copy?
>
> This normally works in every modern glibc. Maybe you were using an
> set of kernel headers that is too old. Make sure that you have
> up-to-date version of both kernel and glibc and that you use the
> kernel header files you get from 'make headers_install' in the kernel.
>
> Arnd <><
>
I haven't had a chance to try this out yet, but appreciate your tip!
regards,
Ben
More information about the Linuxppc-embedded
mailing list