[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#630206: libnss-myhostname: FTBFS: fatal error: asm/types.h: No such file or directory



On Tue, 14.06.11 23:01, Robert Millan (rmh@debian.org) wrote:

> 2011/6/14 Lennart Poettering <lennart@poettering.net>:
> > if LEGACY
> > foo_SOURCES += legacy.c
> > else
> > foo_SOURCES += netlink.c
> > endif
> >
> > In the Makefile.am file.
> 
> Here.

I have commited this now, though I am pretty sure this is actually
broken. You cannot just go and make up ifindexes. You need to determine
the kernel ifindexes for your interfaces. You probably simply need to
call if_nametoindex() on all ifa_name fields.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


Reply to: