POSIX semaphores on ppc_6xx

Arnd Bergmann arnd at arndb.de
Sun Apr 22 01:33:12 EST 2007


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 <><



More information about the Linuxppc-embedded mailing list