From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <59d9823c1b6dc918d8b07b937b2f2a6a.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199703080627.XAA07329@ellpspace.math.ualberta.ca> Date: Sat, 8 Mar 1997 14:55:41 -0500 (EST) From: Steven N. Hirsch Subject: Re: amd & NIS maps In-Reply-To: All, Sorry, I forgot that Stephen Williams' patch to amd/wire.c was also required. This is the complete patch for enabling NIS maps with the newest amd for Alpha Linux: *** amd-upl102/config/Makefile.config.orig Sun Feb 9 10:10:57 1992 --- amd-upl102/config/Makefile.config Sat Mar 8 11:49:29 1997 *************** *** 53,58 **** --- 53,63 ---- # for Hesiod and/or Named. # #RESOLV = -lhesiod -lresolv + # + # We don't need the resolver, but must specify libnsl.so to + # link yp functions in. + # + RESOLV = -lnsl # # Define XLIBDIR if you have libraries not on the standard *** amd-upl102/config/Makefile.linux.orig-rh Sat Mar 8 11:45:52 1997 --- amd-upl102/config/Makefile.linux Sat Mar 8 11:47:19 1997 *************** *** 52,58 **** YACC=bison -y LEX=flex ! HAS_NIS_MAPS = -DDIRENT #-DHAS_NIS_MAPS -DHAS_NIS_RELOAD # not on linux (yet) # The following syntax only works with GNU's make - which all linux users have. # Linux can lose the segment padding to page boundaries for these binaries. --- 52,58 ---- YACC=bison -y LEX=flex ! HAS_NIS_MAPS = -DDIRENT -DHAS_NIS_MAPS -DHAS_NIS_RELOAD # The following syntax only works with GNU's make - which all linux users have. # Linux can lose the segment padding to page boundaries for these binaries. *** amd-upl102/amd/wire.c.orig Sat Mar 8 14:49:59 1997 --- amd-upl102/amd/wire.c Sat Mar 8 14:31:25 1997 *************** *** 415,421 **** subnet = address & netmask; #ifdef IN_CLASSA ! subnet = htonl(subnet); if (IN_CLASSA(subnet)) { mask = IN_CLASSA_NET; --- 415,421 ---- subnet = address & netmask; #ifdef IN_CLASSA ! subnet = ntohl(subnet) & 0xffffffffUL; if (IN_CLASSA(subnet)) { mask = IN_CLASSA_NET; See my earlier posting for full instructions. Enjoy. Steve -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com