[libvirt] Latest git tree doesn't compile

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

 



Hello everyone,

I just got the latest and grooviest libvirt from the git tree at :
git://git.et.redhat.com/libvirt.git
but compiling fails:

/bin/bash ../mylibtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I../gnulib/lib -I../gnulib/lib -I../include -I../include
-I../qemud -I/usr/include/libxml2      -DLIBDIR=\""/usr/local/lib"\"
-DBINDIR=\""/usr/local/libexec"\" -DSBINDIR=\""/usr/local/sbin"\"
-DSYSCONF_DIR="\"/usr/local/etc\""
-DLOCALEBASEDIR=\""/usr/local/share/locale"\"
-DLOCAL_STATE_DIR=\""/usr/local/var"\" -DGETTEXT_PACKAGE=\"libvirt\"
-Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings
-Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls
-Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fasynchronous-unwind-tables     -g -O2 -MT lxc_driver.lo -MD -MP -MF
.deps/lxc_driver.Tpo -c -o lxc_driver.lo lxc_driver.c
(CC) -o lxc_driver.lo lxc_driver.c
lxc_container.c: In function 'lxcContainerDropCapabilities':
lxc_container.c:657: error: 'PR_CAPBSET_DROP' undeclared (first use in
this function)
lxc_container.c:657: error: (Each undeclared identifier is reported only
once
lxc_container.c:657: error: for each function it appears in.)

Apparently, my machine doesn't have the PR_CAPBSET_DROP flag defined.
It's inexistent in sys/capability.h and "man prctl".

I run a Ubuntu 8.04, kernel is 2.6.24-24-openvz.

Am I missing headers that are not tested for in the ./configure ? If
not, any way that functionality could be disabled on distros that don't
support it ?

Thanks,
Florian

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]