Compiling bind on aix 3.2.5: no errors but some warnings

Francesco Munaretto francesco.munaretto at altavista.net
Wed Sep 27 15:17:11 UTC 2000


Hi,

I've just compiled bind 8.2.2p5 on aix 3.2.5 without errors
but with some warning messages. Here's the list:

res_debug.c: In function `__loc_ntoa':
res_debug.c:951: warning: passing arg 1 of `strdup' discards `const' from pointer target type
res_debug.c:953: warning: passing arg 1 of `strdup' discards `const' from pointer target type
res_debug.c:955: warning: passing arg 1 of `strdup' discards `const' from pointer target type
res_debug.c: In function `__loc_ntoa':
res_debug.c:951: warning: passing arg 1 of `strdup' discards `const' from pointer target type
res_debug.c:953: warning: passing arg 1 of `strdup' discards `const' from pointer target type
res_debug.c:955: warning: passing arg 1 of `strdup' discards `const' from pointer target type
res_mkupdate.c: In function `__res_mkupdrec':
res_mkupdate.c:859: warning: passing arg 1 of `strdup' discards `const' from pointer target type
res_mkupdate.c: In function `__res_mkupdrec':
res_mkupdate.c:859: warning: passing arg 1 of `strdup' discards `const' from pointer target type
gen.c: In function `__irs_gen_acc':
gen.c:135: warning: passing arg 1 of `strdup' discards `const' from pointer target type
gen.c: In function `__irs_gen_acc':
gen.c:135: warning: passing arg 1 of `strdup' discards `const' from pointer target type
gen_ng.c: In function `ng_rewind':
gen_ng.c:153: warning: passing arg 1 of `strdup' discards `const' from pointer target type
gen_ng.c: In function `ng_rewind':
gen_ng.c:153: warning: passing arg 1 of `strdup' discards `const' from pointer target type
lcl_ng.c: In function `ng_rewind':
lcl_ng.c:164: warning: passing arg 1 of `strdup' discards `const' from pointer target type
lcl_ng.c: In function `ng_rewind':
lcl_ng.c:164: warning: passing arg 1 of `strdup' discards `const' from pointer target type
nis_ng.c: In function `ng_rewind':
nis_ng.c:173: warning: passing arg 1 of `strdup' discards `const' from pointer target type
nis_ng.c: In function `ng_rewind':
nis_ng.c:173: warning: passing arg 1 of `strdup' discards `const' from pointer target type
dst_api.c: In function `dst_s_get_key_struct':
dst_api.c:174: warning: passing arg 1 of `strdup' discards `const' from pointer target type
dst_api.c: In function `dst_s_get_key_struct':
dst_api.c:174: warning: passing arg 1 of `strdup' discards `const' from pointer target type

Can I ignore these warnings?
Bye .

Francesco


> 
> Try the BIND 8.2.3 beta.  It should work.
> 
> Mark
> 
> > 
> > Hi,
> > 
> > I'm trying to compile bind 8.2.2p5 on aix 3.2.5
> > but the command 'make all' aborts with the
> > following errors:
> > 
> > prandom.c:36: prand_conf.h: No such file or directory
> > blah, blah, blah




More information about the bind-users mailing list