[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] unstable build error: xen_backend.c:211: error: too few arguments to function ‘xc_evtchn_open’
I've been getting this build error on the past few incarnations of xen-unstable. Here's the bottom half of the build log: make[4]: Leaving directory `/import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/fs-back' make[3]: Leaving directory `/import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools' make[3]: Entering directory `/import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools' set -ex; \ if test -d git://xenbits.xensource.com/qemu-xen-unstable.git; then \ mkdir -p ioemu-dir; \ else \ if [ ! -d ioemu-remote ]; then \ rm -rf ioemu-remote ioemu-remote.tmp; \ mkdir ioemu-remote.tmp; rmdir ioemu-remote.tmp; \ git clone git://xenbits.xensource.com/qemu-xen-unstable.git ioemu-remote.tmp; \ if [ "ead83f3f9bc4516f845fbbe23204872eed3e8432" ]; then \ cd ioemu-remote.tmp; \ git branch -D dummy >/dev/null 2>&1 ||:; \ git checkout -b dummy ead83f3f9bc4516f845fbbe23204872eed3e8432; \ cd ..; \ fi; \ mv ioemu-remote.tmp ioemu-remote; \ fi; \ rm -f ioemu-dir; \ ln -sf ioemu-remote ioemu-dir; \ fi + test -d git://xenbits.xensource.com/qemu-xen-unstable.git + [ ! -d ioemu-remote ] + rm -f ioemu-dir + ln -sf ioemu-remote ioemu-dir set -e; \ case ".." in /*) XEN_ROOT=.. ;; *) xen_root_lhs=`pwd`; xen_root_rhs=../; while [ "x${xen_root_rhs#../}" != "x$xen_root_rhs" ]; do xen_root_rhs="${xen_root_rhs#../}"; xen_root_rhs="${xen_root_rhs#/}"; xen_root_rhs="${xen_root_rhs#/}"; xen_root_lhs="${xen_root_lhs%/*}"; done; XEN_ROOT="$xen_root_lhs/$xen_root_rhs" ;; esac; export XEN_ROOT; \ PREFIX="/usr"; XEN_SCRIPT_DIR="/etc/xen/scripts"; export PREFIX; export XEN_SCRIPT_DIR; \ cd ioemu-dir; \ ./xen-setup Install prefix /usr BIOS directory /usr/share/qemu binary directory /usr/bin Manual directory /usr/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir C compiler gcc Host C compiler gcc ARCH_CFLAGS -m64 make make install install host CPU x86_64 host big endian no target list i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user armeb-linux-user cris-linux-user m68k-linux-user mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user sparc32plus-linux-user gprof enabled no sparse enabled no profiler no static build no -Werror enabled no SDL support yes SDL static link no OpenGL support yes curses support no mingw32 support no Audio drivers oss Extra audio cards ac97 es1370 sb16 Mixer emulation no VNC TLS support yes TLS CFLAGS TLS LIBS -lgnutls kqemu support yes brlapi support no Documentation no NPTL support yes vde support no AIO support yes Install blobs yes KVM support yes fdt support no qemu successfuly configured for Xen qemu-dm build make -C ioemu-dir install === PCI passthrough capability has been enabled === make[4]: Entering directory `/import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-remote' CC qemu-nbd.o CC qemu-tool.o CC osdep.o CC cutils.o CC qemu-malloc.o CC block-cow.o CC block-qcow.o CC aes.o block-cow.c: In function ‘cow_create’: block-cow.c:242: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result block-cow.c:244: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result qemu-nbd.c: In function ‘main’: qemu-nbd.c:349: warning: ignoring return value of ‘daemon’, declared with attribute warn_unused_result CC block-vmdk.o CC block-cloop.o CC block-dmg.o CC block-bochs.o CC block-vpc.o CC block-vvfat.o block-vmdk.c: In function ‘vmdk_snapshot_create’: block-vmdk.c:235: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result block-vmdk.c: In function ‘vmdk_create’: block-vmdk.c:761: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result block-vmdk.c:762: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result block-vmdk.c:764: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result block-vmdk.c:770: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result block-vmdk.c:776: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result block-vmdk.c:793: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result CC block-qcow2.o CC block-parallels.o CC block-nbd.o CC nbd.o CC block.o block-vvfat.c: In function ‘commit_one_file’: block-vvfat.c:2255: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result CC aio.o block-qcow2.c: In function ‘qcow_create’: block-qcow2.c:1537: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result block-qcow2.c:1539: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result block-qcow2.c:1544: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result block-qcow2.c:1547: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result block-qcow2.c:1550: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result CC posix-aio-compat.o CC block-raw-posix.o block.c: In function ‘bdrv_open2’: block.c:397: warning: ignoring return value of ‘realpath’, declared with attribute warn_unused_result CC qemu-img.o block-raw-posix.c: In function ‘aio_signal_handler’: block-raw-posix.c:523: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result CC readline.o block-raw-posix.c: In function ‘raw_create’: block-raw-posix.c:832: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result CC console.o CC irq.o CC i2c.o CC smbus.o CC smbus_eeprom.o CC max7310.o CC max111x.o CC wm8750.o CC ssd0303.o CC ssd0323.o CC ads7846.o CC stellaris_input.o CC twl92230.o CC tmp105.o CC lm832x.o CC scsi-disk.o CC cdrom.o CC scsi-generic.o CC usb.o CC usb-hub.o CC usb-linux.o CC usb-hid.o CC usb-msd.o CC usb-wacom.o CC usb-serial.o CC usb-net.o CC sd.o CC ssi-sd.o CC bt.o CC bt-host.o CC bt-vhci.o CC bt-l2cap.o CC bt-sdp.o CC bt-hci.o CC bt-hid.o CC usb-bt.o CC buffered_file.o CC migration.o CC migration-tcp.o CC net.o CC qemu-sockets.o CC qemu-char.o CC net-checksum.o CC savevm.o CC cache-utils.o CC migration-exec.o CC audio/audio.o CC audio/noaudio.o qemu-char.c:1123:7: warning: "CONFIG_STUBDOM" is not defined CC audio/wavaudio.o CC audio/mixeng.o CC audio/sdlaudio.o CC audio/ossaudio.o CC audio/wavcapture.o CC sdl.o CC x_keymap.o CC vnc.o CC d3des.o LINK qemu-nbd-xen LINK qemu-img-xen AR libqemu_common.a === PCI passthrough capability has been enabled === === PCI passthrough capability has been enabled === make[5]: Entering directory `/import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-remote/i386-dm' CC i386-dm/vl.o CC i386-dm/monitor.o CC i386-dm/pci.o CC i386-dm/loader.o CC i386-dm/isa_mmio.o CC i386-dm/machine.o CC i386-dm/dma-helpers.o CC i386-dm/virtio.o CC i386-dm/virtio-blk.o CC i386-dm/virtio-net.o CC i386-dm/virtio-console.o CC i386-dm/fw_cfg.o /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/vl.c: In function ‘main’: /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/vl.c:5656: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/vl.c:6098: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/vl.c:6119: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result CC i386-dm/lsi53c895a.o CC i386-dm/esp.o CC i386-dm/usb-ohci.o CC i386-dm/eeprom93xx.o CC i386-dm/eepro100.o CC i386-dm/ne2000.o CC i386-dm/pcnet.o CC i386-dm/rtl8139.o CC i386-dm/e1000.o CC i386-dm/msmouse.o CC i386-dm/sb16.o CC i386-dm/es1370.o CC i386-dm/ac97.o CC i386-dm/pcspk.o CC i386-dm/ide.o CC i386-dm/pckbd.o CC i386-dm/ps2.o CC i386-dm/vga.o CC i386-dm/dma.o CC i386-dm/fdc.o CC i386-dm/mc146818rtc.o CC i386-dm/serial.o CC i386-dm/i8259.o CC i386-dm/i8254.o CC i386-dm/pc.o CC i386-dm/cirrus_vga.o CC i386-dm/parallel.o CC i386-dm/piix_pci.o CC i386-dm/usb-uhci.o CC i386-dm/hpet.o CC i386-dm/device-hotplug.o CC i386-dm/pci-hotplug.o CC i386-dm/piix4acpi.o CC i386-dm/xenstore.o CC i386-dm/xen_platform.o CC i386-dm/xen_machine_fv.o CC i386-dm/xen_machine_pv.o CC i386-dm/xen_backend.o CC i386-dm/xenfb.o /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/xenstore.c: In function ‘xenstore_parse_domain_config’: /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/xenstore.c:562: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/xenstore.c:564: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c: In function ‘xen_be_get_xendev’: /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c:211: error: too few arguments to function ‘xc_evtchn_open’ /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c:217: warning: passing argument 1 of ‘xc_evtchn_fd’ makes pointer from integer without a cast /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg//tools/libxc/xenctrl.h:851: note: expected ‘struct xc_evtchn *’ but argument is of type ‘int’ /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c:220: warning: passing argument 1 of ‘xc_gnttab_open’ from incompatible pointer type /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg//tools/libxc/xenctrl.h:1252: note: expected ‘struct xentoollog_logger *’ but argument is of type ‘struct xc_interface *’ /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c:220: error: too few arguments to function ‘xc_gnttab_open’ /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c:223: warning: passing argument 1 of ‘xc_evtchn_close’ makes pointer from integer without a cast /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg//tools/libxc/xenctrl.h:846: note: expected ‘struct xc_evtchn *’ but argument is of type ‘int’ /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c: In function ‘xen_be_del_xendev’: /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c:271: warning: passing argument 1 of ‘xc_evtchn_close’ makes pointer from integer without a cast /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg//tools/libxc/xenctrl.h:846: note: expected ‘struct xc_evtchn *’ but argument is of type ‘int’ /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c:273: error: too many arguments to function ‘xc_gnttab_close’ CC i386-dm/xen_console.o /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c: In function ‘xen_be_evtchn_event’: /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c:633: warning: passing argument 1 of ‘xc_evtchn_pending’ makes pointer from integer without a cast /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg//tools/libxc/xenctrl.h:892: note: expected ‘struct xc_evtchn *’ but argument is of type ‘int’ /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c:639: warning: passing argument 1 of ‘xc_evtchn_unmask’ makes pointer from integer without a cast /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg//tools/libxc/xenctrl.h:898: note: expected ‘struct xc_evtchn *’ but argument is of type ‘int’ /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c: In function ‘xen_be_bind_evtchn’: /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c:683: warning: passing argument 1 of ‘xc_evtchn_bind_interdomain’ makes pointer from integer without a cast /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg//tools/libxc/xenctrl.h:871: note: expected ‘struct xc_evtchn *’ but argument is of type ‘int’ /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c:689: warning: passing argument 1 of ‘xc_evtchn_fd’ makes pointer from integer without a cast /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg//tools/libxc/xenctrl.h:851: note: expected ‘struct xc_evtchn *’ but argument is of type ‘int’ /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c: In function ‘xen_be_unbind_evtchn’: /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c:698: warning: passing argument 1 of ‘xc_evtchn_fd’ makes pointer from integer without a cast /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg//tools/libxc/xenctrl.h:851: note: expected ‘struct xc_evtchn *’ but argument is of type ‘int’ /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c:699: warning: passing argument 1 of ‘xc_evtchn_unbind’ makes pointer from integer without a cast /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg//tools/libxc/xenctrl.h:885: note: expected ‘struct xc_evtchn *’ but argument is of type ‘int’ /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c: In function ‘xen_be_send_notify’: /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_backend.c:706: warning: passing argument 1 of ‘xc_evtchn_notify’ makes pointer from integer without a cast /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg//tools/libxc/xenctrl.h:857: note: expected ‘struct xc_evtchn *’ but argument is of type ‘int’ make[5]: *** [xen_backend.o] Error 1 make[5]: *** Waiting for unfinished jobs.... /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_console.c: In function ‘con_initialise’: /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_console.c:235: error: too many arguments to function ‘xc_gnttab_map_grant_ref’ /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_console.c: In function ‘con_disconnect’: /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_console.c:264: warning: passing argument 2 of ‘xc_gnttab_munmap’ makes pointer from integer without a cast /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg//tools/libxc/xenctrl.h:1314: note: expected ‘void *’ but argument is of type ‘int’ /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_console.c:264: warning: passing argument 3 of ‘xc_gnttab_munmap’ makes integer from pointer without a cast /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg//tools/libxc/xenctrl.h:1314: note: expected ‘uint32_t’ but argument is of type ‘void *’ /import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-dir/hw/xen_console.c:264: error: too many arguments to function ‘xc_gnttab_munmap’ make[5]: *** [xen_console.o] Error 1 make[5]: Leaving directory `/import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-remote/i386-dm' make[4]: *** [subdir-i386-dm] Error 2 make[4]: Leaving directory `/import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools/ioemu-remote' make[3]: *** [subdir-install-ioemu-dir] Error 2 make[3]: Leaving directory `/import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools' make[2]: *** [subdirs-install] Error 2 make[2]: Leaving directory `/import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg/tools' make[1]: *** [install-tools] Error 2 make[1]: Leaving directory `/import/opalssd/bedge/src/xen/pkg-build/xen-unstable.hg' make: *** [dist.4.1.0-22640-"0.bedge"] Error 2 Let me know if I should provide the whole thing. My build command is: export KERNELS="" ; \ export DISTDIR=/import/opalssd/bedge/src/xen/pkg-build/dist.4.1.0-22640-"0.bedge" ; \ export PYTHON_PREFIX_ARG="" ; \ export CONFIG_LEAF_DIR=default ; \ export SUBSYS_DIR=/var/run ; \ export INITD_DIR=/etc/init.d ; \ make clean ; make -j8 dist ) -Bruce _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |