[uClibc]pthread_mutex_timedlock

Erik Andersen andersen at codepoet.org
Thu Jan 2 12:04:22 UTC 2003


On Thu Jan 02, 2003 at 01:55:11PM +0200, Sirotkin, Alexander wrote:
> I'm trying to figure if uclibc supports pthread_mutex_timedlock.
> It is defined in pthread.h, but link fails with :
> 
> 
> []$ tools/mipsel-linux-uclibc/bin/gcc  99.c -D__USE_XOPEN2K -pthread 
> -lpthread
> /tmp/ccMfYXi3.o: In function `main':
> 99.c(.text+0x58): undefined reference to `pthread_mutex_timedlock'
> collect2: ld returned 1 exit status
> 
> Anyone can shed some light on the problem ?
> Any help would be greatly appreciated.

An easy way to check is by grepping the source code:

    $ cd ~/CVS/uClibc
    $ grep -r pthread_mutex_timedlock libpthread/*
    $

No hits.  Therefore it is not currently supported.  Do you 
need it?  If so you could probably port it over from the
glibc source code.  Or you could request some support...

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list