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

看板DFBSD_commit作者時間21年前 (2005/04/12 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #12Mqz800 (DFBSD_commit)