bind 4.9.8 on HP-UX 10.20

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Wed Jan 31 04:23:10 UTC 2001


	You need a ANSI C compiler to compile BIND 8.

	Mark

> 
> Hi folks, I attempted to compile bind version 4.9.8 on an hp9000/777 running
> HP-UX 10.20 and it errored out. I unzipped and untared the source into a
> directory /tmp/bind and edited the Makefile by uncommenting the parameters
> for hpux10.10 as there was no section for hpux10.20. I ran "make links" and
> then "make install". The following is what it reported:
> 
> # make install
> /tmp/bind/res
>         cc -Dconst= -g -I../include -I../compat/include  -DUSE_OPTIONS_H -c
> res_comp.c
> (Bundled) cc: warning 480: The -g option is available only with the C/ANSI C
> product; ignored.
> (Bundled) cc: "../compat/include/sys/bitypes.h", line 78: warning 525:
> Redeclaration of identifier "int8_t".
> (Bundled) cc: "../compat/include/sys/bitypes.h", line 80: warning 525:
> Redeclaration of identifier "int16_t".
> (Bundled) cc: "../compat/include/sys/bitypes.h", line 82: warning 525:
> Redeclaration of identifier "int32_t".
> (Bundled) cc: "res_comp.c", line 357: error 1000: Unexpected symbol: "*".
> (Bundled) cc: "res_comp.c", line 358: error 1000: Unexpected symbol:
> "u_char".
> (Bundled) cc: "res_comp.c", line 359: error 1000: Unexpected symbol:
> "u_char".
> (Bundled) cc: "res_comp.c", line 355: error 1705: Function prototypes are an
> ANSI feature.
> (Bundled) cc: "res_comp.c", line 356: error 1705: Function prototypes are an
> ANSI feature.
> (Bundled) cc: "res_comp.c", line 357: error 1705: Function prototypes are an
> ANSI feature.
> (Bundled) cc: "res_comp.c", line 704: warning 604: Pointers are not
> assignment-compatible.
> (Bundled) cc: "res_comp.c", line 704: warning 563: Argument #1 is not the
> correct type.
> (Bundled) cc: "res_comp.c", line 704: warning 604: Pointers are not
> assignment-compatible.
> (Bundled) cc: "res_comp.c", line 704: warning 563: Argument #2 is not the
> correct type.
> (Bundled) cc: "res_comp.c", line 704: warning 604: Pointers are not
> assignment-compatible.
> (Bundled) cc: "res_comp.c", line 704: warning 563: Argument #3 is not the
> correct type.
> *** Error exit code 1
> 
> Stop.
> /tmp/bind/include
> /tmp/bind/include/arpa
>         set -x; for x in inet.h nameser.h; do \
>                 /tmp/bind/conf/bsdinstall.sh -c -m 444 $x
> /usr/include/arpa/$x; \
>         done
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 inet.h /usr/include/arpa/inet.h
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 nameser.h
> /usr/include/arpa/nameser.h
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 netdb.h /usr/include/netdb.h
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 resolv.h /usr/include/resolv.h
> /tmp/bind/compat
> Make: Don't know how to make install-install.  Stop.
> /tmp/bind/named
>         /tmp/bind/conf/bsdinstall.sh -c -s -o bin -g bin -m 555 \
>                 named /usr/sbin/named
> cp: cannot access named: No such file or directory
> *** Error exit code 1
> 
> Stop.
> /tmp/bind/tools
> /tmp/bind/tools/nslookup
>         /tmp/bind/conf/bsdinstall.sh -s -c -o bin -g bin -m 755 nslookup
> /usr/bin/
> cp: cannot access nslookup: No such file or directory
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> /tmp/bind/man
> + N=1
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 dig.out1 /usr/man/cat1/dig.0
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 host.out1 /usr/man/cat1/host.0
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 dnsquery.out1
> /usr/man/cat1/dnsquery.0
> + N=8
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 named.out8 /usr/man/cat8/named.0
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 named.reload.out8
> /usr/man/cat8/named.reload.0
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 named.restart.out8
> /usr/man/cat8/named.restart.0
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 ndc.out8 /usr/man/cat8/ndc.0
> + N=8
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 named-xfer.out8
> /usr/man/cat8/named-xfer.0
> + N=8
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 nslookup.out8
> /usr/man/cat8/nslookup.0
> + N=3
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 gethostbyname.out3
> /usr/man/cat3/gethostbyname.0
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 resolver.out3
> /usr/man/cat3/resolver.0
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 getnetent.out3
> /usr/man/cat3/getnetent.0
> + N=5
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 resolver.out5
> /usr/man/cat5/resolver.0
> + N=7
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 hostname.out7
> /usr/man/cat7/hostname.0
> + /tmp/bind/conf/bsdinstall.sh -c -m 444 mailaddr.out7
> /usr/man/cat7/mailaddr.0
> #
> 
> Needless to say it did not produce either a named or an nslookup binary. If
> you have any thoughts please contact me directly at: JFerguso at CST-hsv.com
> and thank you for taking the time to read this.
> 
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com


More information about the bind-users mailing list