# rpm -q glibc glibc-2.8-3.x86_64 glibc-2.8-3.i686 Should that be the reason? I need to add defines in utmp.c then it works.
#define TFD_CLOEXEC O_CLOEXEC #define TFD_NONBLOCK O_NONBLOCK ----- Yuji Nishida [email protected] On 2010/11/09, at 0:10, Daniel Lezcano wrote: > 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 ? > ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Lxc-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxc-devel
