[Iftop-users] Re: solaris 7 and 8 (64bits)
Thomas Nguyen
tnguyen at equinix.com
Fri, 19 Mar 2004 14:20:06 -0800
Hi Paul,
I am happy to report that in ui.c was calling curses.h from
/usr/include, that's why it's failing
I edited to Makefile:
-I/usr/local/include
Ui.c
#include <ncurses/ncurses.h>
thomas
-----Original Message-----
From: Paul Warren [mailto:pdw@ex-parrot.com]=20
Sent: Friday, March 19, 2004 8:42 AM
To: Thomas Nguyen
Cc: Chris Lightfoot; Jon Abbey; iftop-users@lists.beasts.org
Subject: Re: [Iftop-users] Re: solaris 7 and 8 (64bits)
On Fri, Mar 19, 2004 at 08:34:55AM -0800, thomas nguyen wrote:
>=20
> gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c `test -f 'vector.c' ||
echo=20
> './'`vector.c
> gcc -g -O2 -o iftop addr_hash.o edline.o hash.o iftop.o ns_hash.o
> options.o resolver.o screenfilter.o serv_hash.o sorted_list.o=20
> threadprof.o
> ui.o util.o addrs_ioctl.o addrs_dlpi.o dlcommon.o stringmap.o
cfgfile.o=20
> vector.o -lpcap -lnsl -lm -lsocket -lncurses -lpthread
> Undefined first referenced
> symbol in file
> initscr32 ui.o
> acs32map ui.o
> w32addch ui.o
These are part of ncurses? Do you have ncurses installed, and did
./configure find it happily?
Paul