[lxc-devel] How to make lxc

Daniel Lezcano daniel.lezcano at free.fr
Mon Nov 8 15:10:07 UTC 2010


On 11/08/2010 10:48 AM, Yuji NISHIDA wrote:
> Hi
>
> I found the following errors which I could find every version of LXC included git one.
>
> gcc -DHAVE_CONFIG_H -I. -I../../src    -fPIC -DPIC -I../../src -g -O2 -Wall -MT liblxc_so-utmp.o -MD -MP -MF .deps/liblxc_so-utmp.Tpo -c -o liblxc_so-utmp.o `test -f 'utmp.c' || echo './'`utmp.c
> utmp.c: In function 'lxc_utmp_add_timer':
> utmp.c:337: error: 'TFD_NONBLOCK' undeclared (first use in this function)
> utmp.c:337: error: (Each undeclared identifier is reported only once
> utmp.c:337: error: for each function it appears in.)
> utmp.c:337: error: 'TFD_CLOEXEC' undeclared (first use in this function)
>
> I did
> ./autogen.sh
> ./configure
> make
>
> I know defines for those two variables in sys/timerfd.h from kernel source.
> How do I make this without such errors?
>    

Is it possible you have an old glibc ?





More information about the lxc-devel mailing list