Re: Compiler error Bind 4.9.5 and Linux 2.0.27

Mark Visser (mark@cal026031.student.utwente.nl)
Thu, 9 Jan 1997 22:25:52 +0100 (MET)


On Thu, 9 Jan 1997, Paolo Rocchi wrote:

> >/usr/src/linux/include/uio.h:18: Redefinition of 'struct iovec'
> >make[1]: *** [db_glue.o] Error 1
> >make[1]: leaving directory 'usr/src/bind/named'
> >make[1]: *** [named] Error 2
> >
> >this also happens on all other executables in the bind compilation and i
> >get
> >no executables built.
>
> It compiled fine on my 2.0.27 box. There's a header to be renamed or
> deleted but
> I don't remember the name at the moment ... however it's mentioned in the
> docs.
> Look for a README.linux or something.
>

You mean the part in the Makefile where it is mentioned (assuming you run
linux). I quote:

#(Linux - on modern systems, all you need to do is rename or remove
# compat/include/sys/cdefs.h. See doc/info/Linux for more information.)

also you have to edit some files (or at least check them) to see if
they're correct:

* Makefile
* conf/options.h

Hope it helps

Mark

-------------------------------------------------------------------------
Mark Visser | Student Civiele Technologie & Management
Calslaan 26 - 31 | E-mail: mark@cal026031.student.utwente.nl
7522 MC Enschede | SNT-mail: mark@snt.student.utwente.nl
Telephone: 053-4895038 |
-------------------------------------------------------------------------
Warning: You can get rid of all the bugs by disabling them from the main menu.