Replied: Sun, 20 Sep 1998 22:48:05 -0400
Replied: "Jack Bryans <jbryans@csulb.edu> mills@udel.edu"
Received: from mail.eecis.udel.edu by whimsy.udel.edu id aa00321;
          19 Sep 1998 17:00 EDT
Received: (from jbryans@localhost) by wren.acs.csulb.edu (8.7.5/8.7.3) id OAA23319; Sat, 19 Sep 1998 14:00:40 -0700 (PDT)
Date: Sat, 19 Sep 1998 14:00:40 -0700 (PDT)
From: Jack Bryans <jbryans@csulb.edu>
Message-Id: <199809192100.OAA23319@wren.acs.csulb.edu>
To: mills@udel.edu
CC: stenn@whimsy.udel.edu
Subject: possible porting problem for xntp3-5.93e on machines w/V8 BIND

Dave,

On a machine w/bind-8.1.2 fully installed (including
/usr/local/{include,lib}) the xntp3-5.93e make failed in xntpdc w/:

cc -O2 -g -posix -Wall -pipe -lbind -o xntpdc  ntpdc.o ntpdc_ops.o version.o ../libntp/libntp.a 
ld: Undefined symbols:
___inet_ntoa

I had to manually run:
cc -g -posix -o xntpdc  ntpdc.o ntpdc_ops.o version.o ../libntp/libntp.a -lbind
to fix it.

On a system w/same OS, but V4 BIND, there was no problem.

Maybe xntpdc's Makefile would be better w/
LINK = $(CC) $(CFLAGS) -o $@ $(LDFLAGS)
instead of:
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@

Jack

PS: Hope you read the newsgroup.  Xntp3-5.93e broke multicasting for me. j.
