SUMMARY & more Q, Re: [HPADM] ORD_16/32 on HP-UX 10.20 for 8.2.3bind

Heather Ebey heather at iacs5.ucsd.edu
Mon Feb 5 17:52:37 UTC 2001


SOLVED!! Bob Vance sent me a list of his relevant patches
and version of ANSI/C.

I had HP C/ANSI C B.10.20.03 (S800).
I installed the latest, B.10.20.15, and did not modify
anything else.

Previously, I had tried compiling on a K460 and a D380,
both running the same version of HP ANSI/C.  On both, I have
replaced ANSI/C with the latest version and named now compiles
without uncommenting the ORD_32 on both systems.

 --heather


>>Jan 31, 2001 mail from Bob Vance, RE: RE: SUMMARY & more Q, Re: [HPADM]...


> # grep ORD_ port_before.h
> /* The ORD_32 define breaks DNSSEC on HP-UX 10.20.  */
> /* #define ORD_32 */
>
>
> Vanilla make on a D210.
> make depend
> make all
> make install
>
> B3900AA_APZ   B.10.20.04    HP C/ANSI C Developer's Bundle for HP-UX
>   10.20 (S800)
>
>
> My 10.20 system is patched to the latest (as of last weekend),
> including the following:
>
> PHCO_14645       B.10.00.00.AA  libc cumulative header file patch
> PHCO_18269       B.10.00.00.AA  libc locale methods cumulative patch
> PHCO_22448       B.10.00.00.AA  libc cumulative patch
> PHKL_15247       B.10.00.00.AA  Header file conformance for types.h and
>   unistd.h
> PHSS_12694       B.10.00.00.AA  and 10.20 UCOMP/LIBMP patch
> PHSS_17507       B.10.00.00.AA  ANSI C compiler cumulative patch.
> PHSS_19739       B.10.00.00.AA  HP DCE/9000 1.5 cumulative patch
> PHSS_20608       B.10.00.00.AA  HP DCE/9000 1.5 libcma patch
> PHSS_21110       B.10.00.00.AA  ld(1) and som tools cumulative patch
> PHSS_21951       B.10.00.00.AA  LIBCL cumulative patch
>
>
>
>
> -------------------------------------------------
> Tks        | <mailto:BVance at sbm.com>
> BV         | <mailto:BobVance at alumni.caltech.edu>
> Sr. Technical Consultant,  SBM, A Gates/Arrow Co.
> Vox 770-623-3430           11455 Lakefield Dr.
> Fax 770-623-3429           Duluth, GA 30097-1511
> =================================================
>
>
>
>
>
> -----Original Message-----
> From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
> Behalf Of Heather Ebey
> Sent: Wednesday, January 31, 2001 11:16 AM
> To: bind-users at isc.org
> Subject: SUMMARY & more Q, Re: [HPADM] ORD_16/32 on HP-UX 10.20 for
> 8.2.3bind
>
>
>
> Thanks to Ralf Hildebrandt, Steve Holdoway, Joseph Yao,
> Daniel Wittenberg and others, I have a little better understanding.
>
> To summarize what I did:
>
> Since yesterday, I have been running named 8.2.3 without problems
> and confired that the clients, nslookup, host..., work too.
>
> Q: A colleague downloaded the sources the moment he knew
>    about the security problem. Our version reads:
>       named 8.2.3-REL Tue Jan 30 09:06:05 PST 2001
>
>    Is this the correct output, or was another posted after
>    he downloaded?
>
> -------
> As soon as I uncommented #define ORD_32, it compiled without
> a hitch. A message today said that I should be using ORD_16.
> I still have no clue as to why this was necessary for me.
> Another responder said that he too had to uncomment the
> #define ORD_32 in port/hpux10/include/port_before.h.
>
> Q: Was this the right thing to do???
>
> Q: Did the people who did not have to uncomment it check
>    this file and confirm that it is commented out?
>
> Q: Did you use gcc or HP ansi/c?
>
> Q: Do others verify that I should use ORD_16?
>
>    [To answer a few people's questions.
>      Yes, I have an ANSI C compiler--though I have gcc 2.95.1,
>      I used HP's ansi/c:
>         LINT G.10.32.05 CXREF  G.10.32.05
>         HP92453-01 G.10.32.05 HP C Compiler
>          /usr/lib/libc: $Revision: 76.3 $
>
>       The compile system has patch bundle 51--the latest
>       official release from HP.
>
>       I compiled this on a PA-RISC 2.0 system, but used
>       +DA1.1 so that it will work on the older HPs too. ]
>
> Q: Do the people who had no problems have newer OS patches.
>
> Q: What compile options did you use?
>    Aside from changing DEST* paths in
> bind-8.2.3/port/hpux10/Makefile.set,
>    I didn't do anything else and just compiled with "make", with no
>    other compile options.
>
> Q: Finally, is it true that 9.1 works fine without threads on 10.20?
>    Ralf and Joseph, have you been running it since 1/30 and
>    have you found any gotchas? Clients work fine?
>
> --heather
>
> P.S. Steve, Thank you for the offer of the compiled binaries.
>
> The original message below:
>
> > > The error:
> > >         if test ! -d threaded ; then mkdir threaded ; else true ; fi
> > >
>
>
>
>
>
>
>
>
> cc -Ae -z -I../../port/hpux10/include -I../../include -g -Wl,+vnocompatw
> arnings  -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.
> > >
> > >   This is the specific line in ctk_endian.h
> > >    #if  !defined( ORD_32 ) && !defined( ORD_16 )
> > >    #error Not defined basic word type ORD_32 or ORD_16.
> > >    #endif
> > >
> > > Prior to this in that header file, there is an attempt to
> > > set either ORD_16 or ORD_32.
> > >
> > > I tracked down where ORD_32 or ORD_16 should be defined.
> > > 8.2.2p7 port/hpux10/include/port_before.h:
> > > #define ORD_32
> > >
> > > 8.2.3 port/hpux10/include/port_before.h:
> > > /* The ORD_32 define breaks DNSSEC on HP-UX 10.20.  */
> > > /* #define ORD_32 */
> > >
> > > QUESTION:
> > > Can I define ORD_16 in 8.2.3 for HP-UX? Or, can I just
> > > uncomment ORD_32? One or the other seems to need defining.
> > > Or, do I just eliminate CYLINK_DSS?  I fear I have no idea
> > > whether cylink is needed. Or, do I add something to
> > > ctk_endian.h so that it knows how to determine if it
> > > should set ORD_16 or ORD_32?
> > >
> > > _________________________________________________________
> > > _ hebey at ucsd.edu
>

_________________________________________________________
_ hebey at ucsd.edu
_ UC San Diego, Academic Computing Services, Systems Group
_ http://www-acs.ucsd.edu/home-pages/heather/
_ Office: (858)534-7987; FAX: (858)534-7018
_ Any sufficiently advanced technology is indistinguishable
_ from magic.  --Arthur C. Clarke



More information about the bind-users mailing list