Bug 426385 - build error - openvz_driver.c
build error - openvz_driver.c
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: libvirt (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Daniel Veillard
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-20 12:22 EST by Mikhail A Pokidko
Modified: 2007-12-26 01:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-12-26 01:07:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch to fix broken build stage and to fix libvirtd-virsh behaviour (3.22 KB, patch)
2007-12-20 12:22 EST, Mikhail A Pokidko
no flags Details | Diff

  None (edit)
Description Mikhail A Pokidko 2007-12-20 12:22:04 EST
Description of problem:

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


Version-Release number of selected component (if applicable): 0.4.0


Additional info:

%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 --prefix=%prefix


Also there are errors that prevents to enter virsh -c openvz:///system

I`ve applied complex patch to solve both ^^^^
Comment 1 Mikhail A Pokidko 2007-12-20 12:22:04 EST
Created attachment 290172 [details]
patch to fix broken build stage and to fix libvirtd-virsh behaviour
Comment 2 Daniel Veillard 2007-12-26 01:07:48 EST
Patch applied in CVS upstream,

  thanks a lot !

Daniel

Note You need to log in before you can comment on or make changes to this bug.