ORD_16/32 on HP-UX 10.20 for 8.2.3 bind

Joseph S D Yao jsdy at cospo.osis.gov
Tue Jan 30 23:31:48 UTC 2001


On Tue, Jan 30, 2001 at 08:32:40AM -0800, Heather Ebey wrote:
> 
> I cannot find the answer to this in the bind users archive
> or in the hp-ux sysadmin archive.
> 
> I cannot get bind 8.2.3 to compile. 8.2.2p7 compiled fine
> on HP-UX 10.20.
> 
> The error:
>         if test ! -d threaded ; then mkdir threaded ; else true ; fi
>         cc -Ae -z -I../../port/hpux10/include -I../../include -g -Wl,+vnocompatwarnings  -D_REENTRANT -I../cylink -I../dnssafe -DCYLINK_DSS -DHMAC_MD5 -DUSE_MD5 -DDNSSAFE -c cylink_link.c -o threaded/cylink_link.o
> cpp: "ctk_endian.h", line 135: error 4062: Not defined basic word type ORD_32 or ORD_16.

Did you do a 'make depend' before your 'make'?  [Probably so -
otherwise it would not have included "../../port/hpux10/include".]

Do you have the ANSI C compiler?  [Probably so.]

I have one HP machine running BIND.  It is an HP 9000/750, running
HP-UX 10.20.  I ran 'make depend' and then 'make', and it worked just
fine:

	if test ! -d threaded ; then mkdir threaded ; else true ; fi
	cc -Ae -z -I../../port/hpux10/include -I../../include -g -Wl,+vnocompatwarnings  -D_REENTRANT -I../cylink -I../dnssafe -DCYLINK_DSS -DHMAC_MD5 -DUSE_MD5 -DDNSSAFE -c cylink_link.c -o threaded/cylink_link.o
	: ld -x -r threaded/cylink_link.o \
	 -o threaded/cylink_link.out && \
	 : mv threaded/cylink_link.out threaded/cylink_link.o

You do NOT want to define ORD_32 in port_before.h.  In fact, it turns
out that ORD_16 is defined in this module, when all is said and done.
Not that it seems to ever be used ...

I am baffled.  Have you tried it again from fresh source?

-- 
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.


More information about the bind-users mailing list