[lxc-devel] How to make lxc

Yuji NISHIDA nishidy at nict.go.jp
Mon Nov 8 09:48:39 UTC 2010


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?

-----
Yuji Nishida
nishidy at nict.go.jp





More information about the lxc-devel mailing list