Hal Rosenstock writes:
Hal> I am now having a problem linking stop:
Hal> gcc -g -O2 -o stop stop.o getopt.o getopt1.o fmt.o interface.o Hal> process.o disman.o tcp.o ether.o -L../stub -lstub -L../snmp Hal> -lsnmp -L/usr/local/bin -lglib -lsocket -lnsl -lreadline -lcurses Hal> Undefined first referenced symbol in file wattr_off stop.o Hal> wattr_on stop.o
Hal> Where are these supposed to come from ?
wattr_on and wattr_off are standard curses functions. On Solaris 2.8, you will find these symbols in /usr/lib/libcurses.a. If for some reason you system lacks. On Solaris 2.5, you will find these symbols in /usr/ccs/lib/libcurses.a.
If in doubt, just install ncurses and rerun the configure script after a make distclean. This will ensure that stools uses ncurses which works just fine on other platforms.
/js