On Sun, 2011-12-04 at 11:33 +0100, Daniel Lezcano wrote: > On 11/08/2011 12:49 PM, Greg Kurz wrote: > > The goal here is to be able to multiplex several event sources in > > lxc-init. It will be a lot easier to add I/O driven features: for > > example, a rexec-like service to start extra commands in a > > container. > > > > Signed-off-by: Greg Kurz <gk...@fr.ibm.com> > > Signed-off-by: Cedric Le Goater <c...@fr.ibm.com> > > --- > > Hi Greg, > > the compilation fails with: > > gcc -I../../src -DLXCROOTFSMOUNT=\"/usr/lib/lxc/rootfs\" > -DLXCPATH=\"/var/lib/lxc\" -DLXCINITDIR=\"/usr/lib/lxc\" -g -O2 -Wall > -lutil -o lxc-init lxc_init.o liblxc.so -lcap > /usr/bin/ld: lxc_init.o: undefined reference to symbol > 'login_tty@@GLIBC_2.0' > /usr/bin/ld: note: 'login_tty@@GLIBC_2.0' is defined in DSO > /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/libutil.so so > try adding it to the linker command line > /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/libutil.so: > could not read symbols: Invalid operation > collect2: ld returned 1 exit status >
Daniel, Thanks for giving a try to lxc-rexec. I do have a warning about login_tty() when compiling on fedora but not a link issue like what you get. I suggest we first kill the real culprit src/lxc/utmp.h, so that we can *really* include the utmp.h system header. Is that okay for you ? Do you want me to respin a new patchset ? -- Gregory Kurz gk...@fr.ibm.com Software Engineer @ IBM/Meiosys http://www.ibm.com Tel +33 (0)534 638 479 Fax +33 (0)561 400 420 "Anarchy is about taking complete responsibility for yourself." Alan Moore. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel