[Iftop-users] iftop 0.16
Chris Lightfoot
chris at ex-parrot.com
Fri, 12 Mar 2004 17:20:17 +0000
On Fri, Mar 12, 2004 at 11:16:03AM -0600, John Thompson wrote:
> 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
hmm. Are you running -current? Is there a man page for
pthread_cancel on your system?
--
``There's nothing I like less than bad arguments for a view that I hold dear.''
(Daniel Dennett)