BIND modifications for Ultrix 2.2?

Harald.Eikrem%vax.runit.unit.uninett%NORUNIX.BITNET at cunyvm.cuny. Harald.Eikrem%vax.runit.unit.uninett%NORUNIX.BITNET at cunyvm.cuny.
Fri Jan 13 06:33:27 AEST 1989


>  I have the BIND 4.8 sources. I want to build them on Ultrix 2.2. The
>  first attempt at compiling didn't work. The BIND source expects the
>  function inet_addr() to return an (u_long), however the function is
>  returning (struct in_addr). I will continue to work on getting it, but
>  would appreciate some pointers from someone that has done this.

The Ultrix compiler does not accept cast from a struct into int (u_long)
which the Berkeley compiler does.  You would have to change the declaration
of inet_addr() to int.  That will do it.  Same goes for Sendmail.

--Harald Eikrem     ELAB-RUNIT, Trondheim Norway



More information about the Comp.unix.questions mailing list