Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!aplcen!uunet!munnari.oz.au!uhccux!virtue!aukuni.ac.nz!rob From: rob@iti.org (Rob Burrowes ) Newsgroups: comp.protocols.appletalk Subject: Solved my problem with UAB/DECStation2100's/ULTRIX3.1 Summary: RE:UAB was core dumping on DECStation 2100 Keywords: ULTRIX CAP UAB Message-ID: Date: 2 Oct 90 22:00:07 GMT Sender: news@ccu1.aukuni.ac.nz (News Owner) Organization: University of Auckland, New Zealand. Lines: 45 Earlier I posted a request for help with a problem I had installing UAB/CAP on a decstaion 2100 running ultrix 3.1. UAB was dying with a core dump when any reference was made to the local zone. I FORGOT TO #DEFINE BYTESWAP. I added the following to netat/abnbp.h --- netat/abnbp.h Tue Oct 2 10:30:51 1990 *************** *** 63,68 **** --- 63,73 ---- /* following would be really simple if we could use #if, but vms */ /* c doesn't like and hopefully someday... */ #ifndef BYTESWAPPED + #ifdef ultrix + # ifdef mips + # define BYTESWAPPED + # endif + # endif # ifdef vax # define BYTESWAPPED # endif And a similar addition to lib/afp/afpcmd.c --- lib/afp/afpcmd.c Tue Oct 2 12:21:49 1990 *************** *** 30,35 **** --- 30,40 ---- /* following would be really simple if we could use #if, but vms */ /* c doesn't like and hopefully someday... */ #ifndef BYTESWAPPED + #ifdef ultrix + # ifdef mips + # define BYTESWAPPED + # endif + # endif # ifdef vax /* This should be defined if you are byte swapped. */ # define BYTESWAPPED -- -------------------------------------------------------------------------------- Rob Burrowes rob@cs.aukuni.ac.nz. System Admin