with-openvz compile error

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

 



Hi all!

I try to build-up libvirt-0.4.0 with openvz support :
%configure --with-init-script=redhat
--with-qemud-pid-file=/var/run/libvirt_qemud.pid \
            --with-remote-file=/var/run/libvirtd.pid \
            --with-xen-proxy=yes --with-openvz

I`ve got the error on the following stage:
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib
-I../include -I../include -I../qemud -I/usr/include/libxml2
-DBINDIR=\"/usr/lib\" -DSBINDIR=\"/usr/sbin\" -DSYSCONF_DIR=\"/etc\"
-DLOCALEBASEDIR=\"/usr/share/locale\" -DLOCAL_STATE_DIR=\"/var/lib\"
-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 -DWITH_OPENVZ -DWITH_QEMU
-DWITH_TEST -DWITH_REMOTE -DWITH_XEN -pipe -Wall -O2 -march=i686
-mtune=i686 -c openvz_driver.c  -fPIC -DPIC -o
.libs/libvirt_la-openvz_driver.o
openvz_driver.c:562: error: conflicting types for 'openvzOpen'
openvz_driver.c:76: error: previous declaration of 'openvzOpen' was here
openvz_driver.c:716: warning: initialization from incompatible pointer type
openvz_driver.c:773: warning: initialization from incompatible pointer type

Unfortunately i`m not confident neither with C nor with C/C++ so can
anyone educate me whats wrong with that declarating openvzOpen in
openvz_driver.c?


-- 
ALTLinux Team
xmpp: solar AT solar.net.ru

--
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]