[Iftop-users] iftop 0.16
John Thompson
JohnThompson at new.rr.com
Fri, 12 Mar 2004 15:13:57 -0600
On Fri, 12 Mar 2004 20:50:14 +0000
Paul Warren <pdw@ex-parrot.com> wrote:
> > -bash-2.05b$ cc -I/usr/pkg/include -L/usr/pkg/lib -lpthread -g -Wall
> > -o pthread/usr/lib/crt0.o: In function `___start':
> > /usr/lib/crt0.o(.text+0xb8): undefined reference to `main'
> > -bash-2.05b$
>
> Sorry, that should be:
>
> cc -I/usr/pkg/include -L/usr/pkg/lib -lpthread -g -Wall -o pthread
> pthread.c
OK, now it seems to build:
-bash-2.05b$ cc -I/usr/pkg/include -L/usr/pkg/lib -lpthread -g -Wall -o
pthread pthread.c
-bash-2.05b$ls -l pthread
-rwxr-x--- 1 john wheel 19808 Mar 12 15:02 pthread
I assume there should be some way to tweak the makefile to show it where
to look?
--
-John (JohnThompson@new.rr.com)