NPAD is a tool to diagnose TCP performance issues. I hit the following issue when compiling the CLI client (diag-client.c) on Solaris 10 x86: cc diag-client.c -o diag-client Undefined first referenced symbol in file gethostbyname diag-client.o socket diag-client.o connect diag-client.o ld: fatal: Symbol referencing errors. No output written to diag-client Fixed linkage with cc -lsocket -lnsl -lm diag-client.c -o diag-client

NPAD client on Solaris

Leave a Response