compiling bind-9.1.1 on hpux 10.20

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Wed Apr 11 23:26:17 UTC 2001


	You require an ANSI C compiler.

	Mark
> 
> 
> 
> Hello,
> 
> I am trying to compile bind-9.1.1 on hpux 10.20 with a native cc compiler. Af
> ter
> I run ./configure,
> make fails. Below are the output messages for both commands. Please, help.
> 
> Thanks in advance,
> 
> Sergey
> 
> $ uname -a
> HP-UX bigfred B.10.20 A 9000/820 2012114938 two-user license
> $ ./configure --prefix=/opt/bind
> creating cache ./config.cache
> checking host system type... hppa2.0-hp-hpux10.20
> checking whether make sets ${MAKE}... yes
> checking for ranlib... ranlib
> checking for a BSD compatible install... ./install-sh -c
> checking for ar... /usr/bin/ar
> checking for etags... no
> checking for emacs-etags... no
> checking for perl5... no
> checking for perl... /usr/local/bin/perl
> checking whether byte ordering is bigendian... yes
> checking for compatible OpenSSL library... using private library
> checking for random device... not found
> checking for gcc... cc
> checking whether the C compiler (cc  ) works... yes
> checking whether the C compiler (cc  ) is a cross-compiler... no
> checking whether we are using GNU C... no
> checking whether cc accepts -g... no
> checking for bison... no
> checking for byacc... no
> checking how to run the C preprocessor... cc -E
> checking for ANSI C header files... yes
> checking for fcntl.h... yes
> checking for sys/time.h... yes
> checking for unistd.h... yes
> checking for sys/sockio.h... no
> checking for working const... no
> checking for inline... no
> checking for size_t... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking whether to look for thread support... yes
> checking for pthread_create in -lpthread... no
> checking for __pthread_create in -lpthread... no
> checking for __pthread_create_system in -lpthread... no
> checking for pthread_create in -lc_r... no
> checking for pthread_create in -lc... no
> checking for flockfile... yes
> checking whether to build with threads... no
> checking for catgets... yes
> checking for socket in -lsocket... no
> checking for inet_ntoa in -lnsl... no
> checking for IPv6 structures... no
> checking for Kame IPv6 support... no
> checking for inet_ntop... no
> checking for inet_pton... no
> checking for inet_aton... yes
> checking for sa_len in struct sockaddr... no
> checking for struct msghdr flavor... 4.3BSD
> checking for type in_port_t... no
> checking for struct addrinfo... no
> checking for int sethostent... yes
> checking for int endhostent... yes
> checking for getnetbyaddr(in_addr_t, ...)... no
> checking for int setnetent... yes
> checking for int endnetent... yes
> checking for gethostbyaddr(const void *, size_t, ...)... no
> checking for h_errno in netdb.h... no
> checking for getipnodebyname... no
> checking for getnameinfo... no
> checking for getaddrinfo... no
> checking for gai_strerror... no
> checking for interface list sysctl... no
> checking for strsep... no
> checking for vsnprintf... yes
> checking for sizeof(long long int) == sizeof(long int)... no
> checking for chroot... yes
> checking for linux/capability.h... no
> checking for linux/prctl.h... no
> checking for type rlim_t... yes
> checking for openjade... no
> checking for jade... no
> checking for SGML files... not found
> checking for XML files... not found
> updating cache ./config.cache
> creating ./config.status
> creating make/rules
> creating make/includes
> creating Makefile
> creating make/Makefile
> creating make/mkdep
> creating lib/Makefile
> creating lib/isc/Makefile
> creating lib/isc/include/Makefile
> creating lib/isc/include/isc/Makefile
> creating lib/isc/include/isc/platform.h
> creating lib/isc/unix/Makefile
> creating lib/isc/unix/include/Makefile
> creating lib/isc/unix/include/isc/Makefile
> creating lib/isc/nls/Makefile
> creating lib/isc/nothreads/Makefile
> creating lib/isc/nothreads/include/Makefile
> creating lib/isc/nothreads/include/isc/Makefile
> creating lib/dns/Makefile
> creating lib/dns/include/Makefile
> creating lib/dns/include/dns/Makefile
> creating lib/dns/sec/Makefile
> creating lib/dns/sec/openssl/Makefile
> creating lib/dns/sec/openssl/include/Makefile
> creating lib/dns/sec/openssl/include/openssl/Makefile
> creating lib/dns/sec/dst/Makefile
> creating lib/dns/sec/dst/include/Makefile
> creating lib/dns/sec/dst/include/dst/Makefile
> creating lib/dns/config/Makefile
> creating lib/lwres/Makefile
> creating lib/lwres/include/Makefile
> creating lib/lwres/include/lwres/Makefile
> creating lib/lwres/include/lwres/netdb.h
> creating lib/lwres/include/lwres/platform.h
> creating lib/omapi/Makefile
> creating lib/omapi/include/Makefile
> creating lib/omapi/include/omapi/Makefile
> creating lib/tests/Makefile
> creating lib/tests/include/Makefile
> creating lib/tests/include/tests/Makefile
> creating bin/Makefile
> creating bin/check/Makefile
> creating bin/named/Makefile
> creating bin/named/unix/Makefile
> creating bin/rndc/Makefile
> creating bin/dig/Makefile
> creating bin/nsupdate/Makefile
> creating bin/tests/Makefile
> creating bin/tests/names/Makefile
> creating bin/tests/master/Makefile
> creating bin/tests/rbt/Makefile
> creating bin/tests/db/Makefile
> creating bin/tests/tasks/Makefile
> creating bin/tests/timers/Makefile
> creating bin/tests/dst/Makefile
> creating bin/tests/mem/Makefile
> creating bin/tests/net/Makefile
> creating bin/tests/sockaddr/Makefile
> creating bin/tests/system/Makefile
> creating bin/tests/system/conf.sh
> creating bin/tests/system/lwresd/Makefile
> creating bin/tests/headerdep_test.sh
> creating bin/dnssec/Makefile
> creating doc/Makefile
> creating doc/arm/catalog
> creating doc/arm/nominum-docbook-html.dsl
> creating doc/arm/validate.sh
> creating doc/arm/genhtml.sh
> creating isc-config.sh
> creating config.h
> $ make
> making all in /dbklog/tmp/bind-9.1.1/make
> making all in /dbklog/tmp/bind-9.1.1/lib
> making all in /dbklog/tmp/bind-9.1.1/lib/isc
> making all in /dbklog/tmp/bind-9.1.1/lib/isc/include
> making all in /dbklog/tmp/bind-9.1.1/lib/isc/include/isc
> making all in /dbklog/tmp/bind-9.1.1/lib/isc/unix
> making all in /dbklog/tmp/bind-9.1.1/lib/isc/unix/include
> making all in /dbklog/tmp/bind-9.1.1/lib/isc/unix/include/isc
>          cc -Ae -z    -I/dbklog/tmp/bind-9.1.1 -I./include  -I./../nothreads/
> inc
> lude  -I../include  -I./../include  -I./..   -D_REENTRANT     +w1 +W 474,530 
>  -c
>  ipv6.c
> (Bundled) cc: warning 480: The -A option is available only with the C/ANSI C 
> pro
> duct; ignored.
> (Bundled) cc: warning 480: The -z option is available only with the C/ANSI C 
> pro
> duct; ignored.
> (Bundled) cc: warning 480: The +w1 option is available only with the C/ANSI C
>  pr
> oduct; ignored.
> (Bundled) cc: warning 480: The +W option is available only with the C/ANSI C 
> pro
> duct; ignored.
> (Bundled) cc: "../include/isc/ipv6.h", line 78: warning 5: "const" will becom
> e a
>  keyword.
> (Bundled) cc: "../include/isc/ipv6.h", line 78: error 1000: Unexpected symbol
> : "
> struct".
> (Bundled) cc: "../include/isc/ipv6.h", line 79: warning 5: "const" will becom
> e a
>  keyword.
> (Bundled) cc: "../include/isc/ipv6.h", line 79: error 1000: Unexpected symbol
> : "
> struct".
> (Bundled) cc: "ipv6.c", line 22: warning 5: "const" will become a keyword.
> (Bundled) cc: "ipv6.c", line 22: error 1000: Unexpected symbol: "struct".
> (Bundled) cc: "ipv6.c", line 23: warning 5: "const" will become a keyword.
> (Bundled) cc: "ipv6.c", line 23: error 1000: Unexpected symbol: "struct".
> (Bundled) cc: "ipv6.c", line 22: error 1524: Initializer is too deeply nested
> .
> (Bundled) cc: "ipv6.c", line 23: error 1524: Initializer is too deeply nested
> .
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> $
> 
> 
> 
--
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