Compilation Errors in AIX 4.3.3

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Fri Sep 20 20:15:40 UTC 2002


C Rahul <crahul at novell.com> wrote:


> Hi 
>     I have a small piece of code and I was trying to compile it on AIX
> and it was failing . When i investigated, it gave me some errors in
> HEADER declaration. On Further investigating the problem, I found that
> problem But was unable to find a solution.

> Can somebody help me out ???

> Problem Description :

> if u see the file /usr/include/arpa/nameser.h , then the last few lines
> state that 
> #ifdef _USE_IRS
>   #ifdef BIND_4_COMPACT
>   #include <arpa/nameser_compat.h>
>   #endif
> #else
>  #include <arpa/onameser_compat.h>
> #endif

> Actually in my case _USE_IRS is not getting defined and hence it is
> picking up the arpa/onameser_compact.h which is causing me the problem
> as this has a different HEADER declaration.

> This problem we don't encounter on Solaris and Linux . Can anybody help
> me out to resolve the issue .

Stay with solaris and linuz then. 
 ( you arn't the first to find AIX strange )

> Thanks
> Rahul



-- 
Peter Håkanson         
        IPSec  Sverige      ( At Gothenburg Riverside )
           Sorry about my e-mail address, but i'm trying to keep spam out,
	   remove "icke-reklam" if you feel for mailing me. Thanx.


More information about the bind-users mailing list