[Iftop-users] iftop 0.16

John Thompson JohnThompson at new.rr.com
Fri, 12 Mar 2004 11:16:03 -0600


On Fri, 12 Mar 2004 15:38:44 +0000
Chris Lightfoot <chris@ex-parrot.com> wrote:


> Can you try compiling the test program (config/pthread.c)
> with,
> 
>     cc -lpthread -g -Wall -o pthread pthread.c
> 
> and tell me what you get?

Sure:

-bash-2.05b$ cc -I/usr/pkg/include -lpthread -g -Wall -o pthread
pthread.c pthread.c: In function `worker_thread': 
pthread.c:29: warning: implicit declaration of function `pthread_testcancel' 
pthread.c: In function `main': 
pthread.c:58: warning: implicit declaration of function`pthread_cancel' 
ld: cannot find -lpthread

-- 

-John (JohnThompson@new.rr.com)