Path: utzoo!attcan!uunet!lll-winken!ames!haven!adm!xadmx!Harald.Eikrem%vax.runit.unit.uninett%NORUNIX.BITNET@cunyvm.cuny.edu From: Harald.Eikrem%vax.runit.unit.uninett%NORUNIX.BITNET@cunyvm.cuny. Newsgroups: comp.unix.questions Subject: BIND modifications for Ultrix 2.2? Message-ID: <18088@adm.BRL.MIL> Date: 12 Jan 89 20:33:27 GMT Sender: news@adm.BRL.MIL Lines: 12 > 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