linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* POSIX semaphores on ppc_6xx
@ 2007-04-20 17:55 Ben Warren
  2007-04-21 15:33 ` Arnd Bergmann
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Warren @ 2007-04-20 17:55 UTC (permalink / raw)
  To: linuxppc-embedded

Hello,

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?

thanks,
Ben

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: POSIX semaphores on ppc_6xx
  2007-04-20 17:55 POSIX semaphores on ppc_6xx Ben Warren
@ 2007-04-21 15:33 ` Arnd Bergmann
  2007-04-27  0:10   ` Ben Warren
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2007-04-21 15:33 UTC (permalink / raw)
  To: linuxppc-embedded, bwarren

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. =A0I get the following runtime errors:
>=20
> =A0 =A0sem_open: Function not implemented
>=20
> when trying to implement a named semaphore, and=20
>=20
> =A0 =A0sem_init: Function not implemented
>=20
> when trying to implement an unnamed semaphore.
>=20
> 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 <><

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: POSIX semaphores on ppc_6xx
  2007-04-21 15:33 ` Arnd Bergmann
@ 2007-04-27  0:10   ` Ben Warren
  0 siblings, 0 replies; 3+ messages in thread
From: Ben Warren @ 2007-04-27  0:10 UTC (permalink / raw)
  To: Arnd Bergmann, linuxppc-embedded

Thanks Arnd,


--- Arnd Bergmann <arnd@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-27  0:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-20 17:55 POSIX semaphores on ppc_6xx Ben Warren
2007-04-21 15:33 ` Arnd Bergmann
2007-04-27  0:10   ` Ben Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).