DragonFly BSD
DragonFly commits List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/lib/libthread_xu/thread thr_cond.c thr_mutex.c thr_private.h thr_rwlock.c


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Tue, 12 Apr 2005 13:22:06 +0900

On Tue, Apr 05, 2005 at 04:04:22PM -0700, David Xu wrote:
> davidxu     2005/04/05 16:04:22 PDT
> 
> DragonFly src repository
> 
>   Modified files:
>     lib/libthread_xu/thread thr_cond.c thr_mutex.c thr_private.h 
>                             thr_rwlock.c 
>   Log:
>   Remove unused strong reference.
>   
>   Revision  Changes    Path
>   1.5       +0 -8      src/lib/libthread_xu/thread/thr_cond.c
>   1.4       +0 -4      src/lib/libthread_xu/thread/thr_mutex.c
>   1.4       +0 -13     src/lib/libthread_xu/thread/thr_private.h
>   1.3       +0 -5      src/lib/libthread_xu/thread/thr_rwlock.c

Hi, am I missing something?
$ cat a.c
int main(){return 0;}
$ gcc a.c -lthread_xu; echo $?
/usr/lib/libthread_xu.so: undefined reference to `_thr_mutex_lock'
/usr/lib/libthread_xu.so: undefined reference to `_thr_cond_wait'
/usr/lib/libthread_xu.so: undefined reference to `_thr_cond_broadcast'
/usr/lib/libthread_xu.so: undefined reference to `_thr_mutex_unlock'
/usr/lib/libthread_xu.so: undefined reference to `_thr_cond_signal'
1
$ gcc a.c -lthread_xu -static; echo $?
0



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]