The following reply was made to PR os-sequent/1546; it has been noted by GNATS.
From: Dean Gaudet <[EMAIL PROTECTED]> To: Jeffrey McNany <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: os-sequent/1546: syntax error, line 158, compiling http_main.c Date: Tue, 16 Dec 1997 14:53:56 -0800 (PST) On 16 Dec 1997, Jeffrey McNany wrote: > undefined first referenced > symbol in file > shutdown http_main.o > select http_main.o > htonl http_main.o > gethostbyname http_main.o > gethostbyaddr http_main.o > inet_ntoa http_main.o > accept http_main.o > getsockname http_main.o > setsockopt http_main.o > ntohs http_main.o > socket http_main.o > bind http_main.o > listen http_main.o > htons http_main.o > getpeername http_main.o > initgroups http_main.o > inet_addr http_config.o > connect rfc1413.o > gethostname util.o > writev buff.o Add -lsocket, read the man page for "gethostbyname" and "getpeername" to find out what if any other library they require. initgroups -- you may need to define NEED_INITGROUPS writev -- you may need to define NO_WRITEV, but do a "man writev" first, since it could be hidden off in some library you need to link in Generally just go through the man pages for each of those functions until you find all the libraries you can. Dean
