Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: iglesias@draco.acs.uci.edu (Mike Iglesias)
Subject: Re: Help : dig 2.0 in OSF/1
Date: 21 Feb 1995 21:32:55 GMT	[thread overview]
Message-ID: <3idm67$auu@news.service.uci.edu> (raw)
In-Reply-To: 3idbvf$ha3@lll-winken.llnl.gov

In article <3idbvf$ha3@lll-winken.llnl.gov>,  <oberman@icaen.llnl.gov> wrote:
>In Article <3i5g05$ph0@news.csie.nctu.edu.tw>
>cuma@csie.ncu.edu.tw (E-Kai Tsai) writes:
>Yes, but you need to edit the sources to remove the 32-bit assumptions in the
>code. For the most part it is simply changing "long" to "int". I don't recall
>what else may have been required, but I thinnk that was it.

Make sure you get all the u_longs changed to u_int as well.

You also have to tweak one line in nameser.h:

*** nameser.h.orig	Tue Apr 20 13:29:55 1993
--- nameser.h	Tue Apr 20 13:50:10 1993
***************
*** 137,143 ****
  	u_char	rcode:4;	/* response code */
  #else
  #if defined (vax) || defined(ns32000) || defined (BIT_ZERO_ON_RIGHT) \
! || defined(MIPSEL) || defined(_MIPSEL)
  	/* Bit zero on right:  VAX */
  			/* fields in third byte */
  	u_char	rd:1;		/* recursion desired */
--- 137,143 ----
  	u_char	rcode:4;	/* response code */
  #else
  #if defined (vax) || defined(ns32000) || defined (BIT_ZERO_ON_RIGHT) \
! || defined(MIPSEL) || defined(_MIPSEL) || defined(__alpha)
  	/* Bit zero on right:  VAX */
  			/* fields in third byte */
  	u_char	rd:1;		/* recursion desired */



-- 
Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     phone:       (714) 824-6926
Office of Academic Computing         FAX:         (714) 824-2069
Central Computing Support        


      reply	other threads:[~1995-02-21 21:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-02-18 18:58 Help : dig 2.0 in OSF/1 E-Kai Tsai
1995-02-21 18:41 ` oberman
1995-02-21 21:32   ` Mike Iglesias [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox