Bind 8.2.3 Compilation Problem

joydeepche joydeep at bplnet.com
Mon Apr 9 07:17:11 UTC 2001


Hi ,

                  I am getting some errors apart from some warnings while compiling Bind 8.2.3 on HP-UX 11.00 .The errors it's giving while running make are:
# 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/ANSI 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,+vnocompatwarnings  -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/ANSI C product; ignored.
(Bundled) cc: "../../port/hpux/include/port_after.h", line 79: error 1000: Unexpected symbol: "size_t".
(Bundled) cc: "../../include/resolv.h", line 99: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../include/resolv.h", line 242: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../include/irs.h", line 210: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../include/irs.h", line 229: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../include/irs.h", line 230: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../include/irs.h", line 231: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../port/hpux/include/port_after.h", line 79: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../port/hpux/include/port_after.h", line 79: error 1573: Type of "size_t" is undefined due to an illegal declaration.
(Bundled) cc: "../../port/hpux/include/port_after.h", line 82: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../port/hpux/include/port_after.h", line 85: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "herror.c", line 90: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "herror.c", line 115: error 1705: Function prototypes are an ANSI 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 installed 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



More information about the bind-users mailing list