Bind 8.2.3 Compilation Problem

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Mon Apr 9 07:39:53 UTC 2001


	Read INSTALL also see src/port/hpux/Makefile.set.gcc.
	BIND 8 (and BIND 9) requires a ANSI C compiler.

	Mark


> Hi ,
> 
>                   I am getting some errors apart from some warnings while com
> piling Bind 8.2.3 on HP-UX 11.00 .The errors it's giving while running make a
> re:
> # make
> Making /tmp/bind8.2.3/src/.systype
> Making .settings
> /tmp/bind8.2.3/src/include
> /tmp/bind8.2.3/src/include/arpa
> /tmp/bind8.2.3/src/include/isc
> /tmp/bind8.2.3/src/port
> /tmp/bind8.2.3/src/port/hpux
> /tmp/bind8.2.3/src/port/hpux/include
> /tmp/bind8.2.3/src/port/hpux/include/sys
>         probe_ipv6
>         cc -Ae -z  -g +ESlit -Wl,+vnocompatwarnings -I../../port/hpux/include
>  -I../../include -c noop.c
> (Bundled) cc: warning 480: The -A option is available only with the C/ANSI C 
> product; ignored.
> (Bundled) cc: warning 480: The -z option is available only with the C/ANSI C 
> product; ignored.
> (Bundled) cc: warning 480: The -g option is available only with the C/ANSI C 
> product; ignored.
> (Bundled) cc: warning 480: The +ESlit option is available only with the C/ANS
> I C product; ignored.
>         : ld -x -r noop.o && : mv a.out noop.o
>         ar cru ../../lib/libbind.a  noop.o 
>         ranlib ../../lib/libbind.a
> /tmp/bind8.2.3/src/lib
> /tmp/bind8.2.3/src/lib/resolv
>         if test ! -d threaded ; then mkdir threaded ; else true ; fi
>         cc -Ae -z -I../../port/hpux/include -I../../include -g +ESlit -Wl,+vn
> ocompatwarnings  -D_REENTRANT -c herror.c \
>          -o threaded/herror.o
> (Bundled) cc: warning 480: The -A option is available only with the C/ANSI C 
> product; ignored.
> (Bundled) cc: warning 480: The -z option is available only with the C/ANSI C 
> product; ignored.
> (Bundled) cc: warning 480: The -g option is available only with the C/ANSI C 
> product; ignored.
> (Bundled) cc: warning 480: The +ESlit option is available only with the C/ANS
> I C product; ignored.
> (Bundled) cc: "../../port/hpux/include/port_after.h", line 79: error 1000: Un
> expected symbol: "size_t".
> (Bundled) cc: "../../include/resolv.h", line 99: error 1705: Function prototy
> pes are an ANSI feature.
> (Bundled) cc: "../../include/resolv.h", line 242: error 1705: Function protot
> ypes are an ANSI feature.
> (Bundled) cc: "../../include/irs.h", line 210: error 1705: Function prototype
> s are an ANSI feature.
> (Bundled) cc: "../../include/irs.h", line 229: error 1705: Function prototype
> s are an ANSI feature.
> (Bundled) cc: "../../include/irs.h", line 230: error 1705: Function prototype
> s are an ANSI feature.
> (Bundled) cc: "../../include/irs.h", line 231: error 1705: Function prototype
> s are an ANSI feature.
> (Bundled) cc: "../../port/hpux/include/port_after.h", line 79: error 1705: Fu
> nction prototypes are an ANSI feature.
> (Bundled) cc: "../../port/hpux/include/port_after.h", line 79: error 1573: Ty
> pe of "size_t" is undefined due to an illegal declaration.
> (Bundled) cc: "../../port/hpux/include/port_after.h", line 82: error 1705: Fu
> nction prototypes are an ANSI feature.
> (Bundled) cc: "../../port/hpux/include/port_after.h", line 85: error 1705: Fu
> nction prototypes are an ANSI feature.
> (Bundled) cc: "herror.c", line 90: error 1705: Function prototypes are an ANS
> I feature.
> (Bundled) cc: "herror.c", line 115: error 1705: Function prototypes are an AN
> SI feature.
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> 
>                      My server didn't have lex. I could get flex and installe
> d it. It also has GCC. Can anyone suggest as to whether it requires anything 
> else may be ANSI C,to compile it successfully?
> 
> Thanks and regards,
> Joydeep
> 
> 
--
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