Bind 8.2.2P5 Compiling problems

Rahul Parasnis rahul.parasnis at creditlyonnais.fr
Wed Feb 16 00:01:34 UTC 2000


Is there anybody who can answer to my problem  !!
I have given up now with bind8 Version , but still a hope that somebody will 
answer me.

Thanks a lot
---------------------- Forwarded by Rahul Parasnis/JPN/International/CLY on 
02/16/2000 08:50 AM ---------------------------


Rahul Parasnis
02/14/2000 10:39 AM
To:	bind-users at isc.org@internet
cc:	 
Subject:	Bind 8.2.2P5 Compiling problems

I think nobody has received my Mail ,because I didn't receive a single 
response,  so resending it . 
Please Help me in solving this error, Finally I have gone backwards on 8.1.2 
still Same error , what I am Missing ? 
- Rahul
---------------------- Forwarded by Rahul Parasnis/JPN/International/CLY on 
02/14/2000 10:32 AM ---------------------------


Rahul Parasnis
02/10/2000 12:29 PM
To:	bind-users at isc.org@internet
cc:	 
Subject:	Bind 8.2.2P5 Compiling problems

Hello All, 

I have been struggling compiling the bind8.2.2P5 on hpux 10.20
I have downloaded bind-src_tar 

I am compiling this source as non root user just giving write permission 
temporarily to /usr/bin,/usr/sbin/
/usr/lib/, /etc/ directories. 
Afterwards i did try compiling from root user as well. 
I have gcc -v
Reading specs from /usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/specs
gcc version 2.95.2 19991024 (release),
bison 1.28 
flex-2.5.4. 
GNU Make 3.77

First Step 
I copy src/port/hpux10/Makefile.gcc src/port/hpux10/Makefile.set as i going to 
use gcc

/bind8.2.2P5/src/make stdlinks  - no problem 
Second Step 
 I am confused here now Where should I type this make command ? Ofcourse I 
tried both with no success
the problem is somwhere else, but I would like to know where to execute this 
'make' command.

/var/obj/bind/SRC/make clean  or /bind8.2.2P5/src/make clean

/var/obj/bind/SRC/make all  or    /bind8.2.2P5/src/make all   ?

/var/obj/bind/SRC/make install
I will give some part of errors , Please tell me what is the Problem 

make[2]: Entering directory `/var/obj/bind/lib/resolv'
if test ! -d threaded ; then mkdir threaded ; fi
gcc -ansi -fpic  -O -I../../port/hpux10/include -I../../include  -D_REENTRANT 
-c herror.c \
 -o threaded/herror.o
In file included from herror.c:63:
../../include/arpa/nameser.h:117: warning: no semicolon at end of struct or 
union
../../include/arpa/nameser.h:117: parse error before `*'
../../include/arpa/nameser.h:119: warning: data definition has no type or 
storage class
../../include/arpa/nameser.h:122: parse error before `*'
.
.
.
../../include/arpa/nameser.h:118: previous declaration of `_flags'
../../include/resolv.h:172: warning: data definition has no type or storage 
class
../../include/resolv.h:174: parse error before `}'
../../include/resolv.h:256: parse error before `*'
.
.
/var/obj/bind/lib/irs
make[2]: Entering directory `/var/obj/bind/lib/irs'
if test ! -d threaded ; then mkdir threaded ; fi
(gcc -ansi -fpic  -O -I../../port/hpux10/include -I../../include  -D_REENTRANT 
-c dns.c \
 -o threaded/dns.o ; \
 : ld -x -r threaded/dns.o && \
 : mv a.out threaded/dns.o)
In file included from dns.c:34:
../../include/arpa/nameser.h:117: warning: no semicolon at end of struct or 
union
../../include/arpa/nameser.h:117: parse error before `*'
.
.
dns.c: In function `dns_res_get':
dns.c:112: dereferencing pointer to incomplete type
dns.c:115: dereferencing pointer to incomplete type
dns.c:119: dereferencing pointer to incomplete type
dns.c: At top level:
../../include/resolv.h:155: storage size of `nsaddr_list' isn't known
gcc -ansi -fpic  -O -I../../port/hpux10/include -I../../include  -c dns.c
In file included from dns.c:34:
../../include/arpa/nameser.h:117: warning: no semicolon at end of struct or 
union
../../include/arpa/nameser.h:117: parse error before `*'
.
.
base64.c:158: `target' undeclared (first use in this function)
base64.c: In function `__b64_pton':
base64.c:203: parse error before `u_char'
base64.c:228: subscripted value is neither array nor pointer
base64.c:236: subscripted value is neither array nor pointer
.
.
daemon.c:72: `STDOUT_FILENO' undeclared (first use in this function)
daemon.c:73: `STDERR_FILENO' undeclared (first use in this function)
make[2]: *** [daemon.o] Error 1
make[2]: Leaving directory `/var/obj/bind/lib/bsd'
/var/obj/bind/lib/inet
make[2]: Entering directory `/var/obj/bind/lib/inet'
if test ! -d threaded ; then mkdir threaded ; fi
gcc -ansi -fpic  -O -I../../port/hpux10/include -I../../include  -D_REENTRANT 
-c nsap_addr.c \
 -o threaded/nsap_addr.o
In file included from nsap_addr.c:29:
../../include/arpa/inet.h:93: warning: `struct in_addr' declared inside 
parameter list
../../include/arpa/inet.h:93: warning: its scope is only this definition or 
declaration, which is probably not what you want.
.
.
../../include/arpa/inet.h:106: warning: data definition has no type or storage 
class
../../include/arpa/inet.h:107: parse error before `*'
addr.c: In function `hexstring':
addr.c:52: parse error before `u_char'
addr.c:56: `u_char' undeclared (first use in this function)
addr.c:56: (Each undeclared identifier is reported only once
addr.c:56: for each function it appears in.)
addr.c:56: `ptr' undeclared (first use in this function)
addr.c:56: `end' undeclared (first use in this function)
addr.c:57: `u_int' undeclared (first use in this function)
addr.c:57: parse error before `val'
addr.c:60: `val' undeclared (first use in this function)
addr.c:61: `digits' undeclared (first use in this function)
addr.c:62: warning: passing arg 1 of `memset' makes pointer from integer 
without a cast
addr.c:63: `ch' undeclared (first use in this function)
addr.c: In function `display':
addr.c:106: parse error before `*'
addr.c:106: declaration for parameter `u_char' but no such parameter
addr.c:121: subscripted value is neither array nor pointer
addr.c:123: warning: passing arg 2 of `__inet_ntop' makes pointer from integer 
without a cast
addr.c: In function `main':
addr.c:131: `u_char' undeclared (first use in this function)
addr.c:131: parse error before `addr'
addr.c:135: `AF_INET' undeclared (first use in this function)
addr.c:149: `optarg' undeclared (first use in this function)
addr.c:149: `addr' undeclared (first use in this function)
make[2]: *** [addr.o] Error 1
make[2]: Leaving directory `/var/obj/bind/bin/addr'
make[1]: *** [addr] Error 2
make[1]: Leaving directory `/var/obj/bind/bin'
make: *** [all] Error 2

My Question is what is wrong with my parser ? 

Thanks and Regards
-Rahul Parasnis 




-- Attached file included as plaintext by Listar --



Ce message contient des informations confidentielles ou appartenant au 
Crédit Lyonnais et est établi à l'intention exclusive de ses 
destinataires. Toute divulgation, utilisation, diffusion ou reproduction 
(totale ou partielle) de ce message, ou des informations qu'il contient, 
doit être préalablement autorisée. Tout message électronique est 
susceptible d'altération et son intégrité ne peut être assurée. 
Le Crédit Lyonnais décline toute responsabilité au titre de ce 
message s'il a été modifié ou falsifié. Si vous n'êtes pas 
destinataire de ce message, merci de le détruire immédiatement et 
d'avertir l'expéditeur de l'erreur de distribution et de la destruction
du message.

This e-mail contains confidential information or information belonging 
to Crédit Lyonnais and is intended solely for the addressees. 
The unauthorised disclosure, use, dissemination or copying (either whole 
or partial) of this e-mail, or any information it contains, is prohibited.
E-mails are susceptible to alteration and their integrity cannot be guaranteed. 
Crédit Lyonnais shall not be liable for this e-mail if modified or falsified.
If you are not the intended recipient of this e-mail, please delete it 
immediately from your system and notify the sender of the wrong delivery 
and the mail deletion.



More information about the bind-users mailing list