Bind 8.2.3 Compilation Problem

joydeepche joydeep at bplnet.com
Mon Apr 9 11:47:22 UTC 2001


Hi Jan,

              Thanks for your mail..I have gcc already installed on my HP-UX
server..still it's giving the below pasted errors..do i really need ANSI C?
coz it's giving some error which says available with c/ANSI C product...pls
suggest.

regds
joydeep
----- Original Message -----
From: "Jan P. Sorensen" <japs at garm.adm.ku.dk>
To: "joydeepche" <joydeep at bplnet.com>
Sent: Monday, April 09, 2001 2:07 PM
Subject: Re: Bind 8.2.3 Compilation Problem


> You could install gcc. I use gcc to compile BIND on HP-UX.11
>
> I can mail the two binaries to you: named and named-xfer
>
> Jan P. Sorensen
>
> On 9 Apr 2001, joydeepche wrote:
>
> > 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