LKML Archive on
help / color / mirror / Atom feed
* uClibc - waitid()
@ 2007-01-18 11:18 Sue Alfano
  2007-01-18 21:36 ` James Chapman
  0 siblings, 1 reply; 3+ messages in thread
From: Sue Alfano @ 2007-01-18 11:18 UTC (permalink / raw)
  To: linux-kernel

Can anyone help with this?

We have an application that runs fine on our linux workstations, but
will not compile to run on a new target.  This application is using
the WNOWAIT option for the waitid() function.  When the source file is
compiled for the target using powerpc-uclibc-gcc, it fails because
WNOWAIT is not defined.  The best that I can tell, waitid() doesn't
appear to be supported in uClibc (version 0.9.27).  I checked the
latest version on the uClibc site, but it doesn't appear to have been
considered for inclusion.  I looked in glibc (versions 2.4, 2.3.5, and
2.0.6), but could only find emulated/stub/pseudo implementations for
waitid().  The Linux man page for waitid() states that it's supported
since the 2.6.9 kernel release.  At this point I'm not sure where the
waitid() source code and WNOWAIT definition is suppose to be (kernel,
uClibc, glibc, gcc) or what version of wait.h is actually being used
(there appears to be many versions floating around on the machine).
Since I'm way off in the weeds on this I was hoping somebody with more
Linux experience than me (that would be just about anyone) might be
able to shed some light on this problem or point me in a more
constructive direction.

Do you have any information as to the status of the waitid() support?
It must have been available at one time since it's running on my linux
workstation (Linux version 2.6.15-1.2054_FC5smp
( (gcc version 4.1.0 20060304
(Red Hat 4.1.0-3)) #1 SMP Tue Mar 14 16:05:46 EST2006).

Was there a reason why it wasn't added to uClibc (other than the size issue)?

Is there a recommended way to deal with applications that are using
waitid() with the WNOWAIT option?

Thanks for any assistance,

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

end of thread, other threads:[~2007-01-25 19:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-18 11:18 uClibc - waitid() Sue Alfano
2007-01-18 21:36 ` James Chapman
2007-01-25 19:47   ` Sue Alfano

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