[Iftop-users] iftop-0.16 on NetBSD

John Thompson john at os2.dhs.org
Tue, 22 Jun 2004 17:21:14 -0500


Several weeks ago I posted about a problem configuring iftop to compile
on NetBSD-1.6.1; specifically, the configure script would die when it
came to checking for Posix thread support.  I've now updated that
machine to NetBSD-1.6.2 and the configure script runs to completion
without complaint (after passing it LDFLAGS=-L/usr/pkg/lib/ and
CPPFLAGS=-I/usr/pkg/include to point it to the Posix thread support). 
Unfortunately, it fails during the compile:

gcc  -g -O2  -L/usr/pkg/lib/ -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 threadprof.o ui.o  util.o addrs_ioctl.o addrs_dlpi.o  dlcommon.o stringmap.o cfgfile.o  vector.o  -lpcap -lm  -lncurses -lpthread
ui.o: In function `draw_bar_scale':
/tmp/iftop-0.16/ui.c:269: undefined reference to `_acs_char'
/tmp/iftop-0.16/ui.c:281: undefined reference to `_acs_char'
ui.o: In function `ui_loop':
/tmp/iftop-0.16/ui.c:1055: undefined reference to `__error'
/tmp/iftop-0.16/ui.c:1057: undefined reference to `__error'


Any ideas where to go from here?

-- 

-John (john@os2.dhs.org)