[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] build xen 4.5.0 on ubuntu vivid 15.04: ocaml linking errors at end of build
hello Xen, working in a vivid domU in debian8 dom0, I'm trying to build from source. Why would this build be so different than deb8, which was a slamdunk? Everything is building except oxenstored. The only thing left to compile was pv-grub. ----------- warnings -------------------- snip Installed /home/tlviewer/xen-4.5.0/dist/install/usr/lib/ocaml/stublibs/dllxenlight_stubs.so.owner ./libsystemd_stubs.a(systemd_stubs.o): In function `ocaml_sd_listen_fds': /home/tlviewer/xen-4.5.0/tools/ocaml/xenstored/systemd_stubs.c:68: undefined reference to `sd_listen_fds' /home/tlviewer/xen-4.5.0/tools/ocaml/xenstored/systemd_stubs.c:70: undefined reference to `sd_notifyf' /home/tlviewer/xen-4.5.0/tools/ocaml/xenstored/systemd_stubs.c:77: undefined reference to `sd_notifyf' ./libsystemd_stubs.a(systemd_stubs.o): In function `oxen_get_sd_fd': /home/tlviewer/xen-4.5.0/tools/ocaml/xenstored/systemd_stubs.c:39: undefined reference to `sd_is_socket_unix' /home/tlviewer/xen-4.5.0/tools/ocaml/xenstored/systemd_stubs.c:39: undefined reference to `sd_is_socket_unix' ./libsystemd_stubs.a(systemd_stubs.o): In function `oxen_verify_socket_socket': /home/tlviewer/xen-4.5.0/tools/ocaml/xenstored/systemd_stubs.c:52: undefined reference to `sd_notifyf' ./libsystemd_stubs.a(systemd_stubs.o): In function `ocaml_sd_booted': /home/tlviewer/xen-4.5.0/tools/ocaml/xenstored/systemd_stubs.c:103: undefined reference to `sd_booted' ./libsystemd_stubs.a(systemd_stubs.o): In function `ocaml_sd_notify_ready': /home/tlviewer/xen-4.5.0/tools/ocaml/xenstored/systemd_stubs.c:116: undefined reference to `sd_notify' collect2: error: ld returned 1 exit status File "caml_startup", line 1: Error: Error during linking make[5]: *** [oxenstored] Error 2 make[4]: *** [subdir-install-xenstored] Error 2 make[3]: *** [subdirs-install] Error 2 make[2]: *** [subdir-install-ocaml] Error 2 make[1]: *** [subdirs-install] Error 2 make: *** [install-tools] Error 2 -------------------------------------- snip warnings ------------- ----------------------------- errors ------------ make[7]: Leaving directory '/home/tlviewer/xen-4.5.0/tools/ocaml/libs/xl' make[6]: Leaving directory '/home/tlviewer/xen-4.5.0/tools/ocaml/libs' make[5]: Leaving directory '/home/tlviewer/xen-4.5.0/tools/ocaml/libs' make[4]: Leaving directory '/home/tlviewer/xen-4.5.0/tools/ocaml' make[4]: Entering directory '/home/tlviewer/xen-4.5.0/tools/ocaml' make -C xenstored install make[5]: Entering directory '/home/tlviewer/xen-4.5.0/tools/ocaml/xenstored' MLBIN oxenstored /home/tlviewer/xen-4.5.0/tools/ocaml/xenstored/../Makefile.rules:94: recipe for target 'oxenstored' failed make[5]: Leaving directory '/home/tlviewer/xen-4.5.0/tools/ocaml/xenstored' /home/tlviewer/xen-4.5.0/tools/ocaml/../../tools/Rules.mk:116: recipe for target 'subdir-install-xenstored' failed make[4]: Leaving directory '/home/tlviewer/xen-4.5.0/tools/ocaml' /home/tlviewer/xen-4.5.0/tools/ocaml/../../tools/Rules.mk:111: recipe for target 'subdirs-install' failed make[3]: Leaving directory '/home/tlviewer/xen-4.5.0/tools/ocaml' /home/tlviewer/xen-4.5.0/tools/../tools/Rules.mk:116: recipe for target 'subdir-install-ocaml' failed make[2]: Leaving directory '/home/tlviewer/xen-4.5.0/tools' /home/tlviewer/xen-4.5.0/tools/../tools/Rules.mk:111: recipe for target 'subdirs-install' failed make[1]: Leaving directory '/home/tlviewer/xen-4.5.0/tools' Makefile:69: recipe for target 'install-tools' failed ------------------------ snip errors ----------------------- -------------------- ./configure ------------------- ~/xen-4.5.0$ ./configure --enable-systemd --libdir=/usr/lib --enable-ocamltools --enable-efi --prefix=/usr --with-systemd=/lib/systemd/system --with-extra-qemuU-configure-args="--enable-spice --enable-usb-redir" checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu Will build the following subsystems: xen tools stubdom docs configure: creating ./config.status config.status: creating config/Toplevel.mk config.status: creating config/Paths.mk === configuring in tools (/home/tlviewer/xen-4.5.0/tools) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--enable-systemd' '--libdir=/usr/lib' '--enable-ocamltools' '--enable-efi' '--with-systemd=/lib/systemd/system' '--with-extra-qemuU-configure-args=--enable-spice --enable-usb-redir' --cache-file=/dev/null --srcdir=. checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for bison... /usr/bin/bison checking for flex... /usr/bin/flex checking for perl... /usr/bin/perl checking for ocamlc... ocamlc OCaml version is 4.01.0 OCaml library path is /usr/lib/ocaml checking for ocamlopt... ocamlopt checking for ocamlc.opt... no checking for ocamlopt.opt... no checking for ocaml... ocaml checking for ocamldep... ocamldep checking for ocamlmktop... ocamlmktop checking for ocamlmklib... ocamlmklib checking for ocamldoc... ocamldoc checking for ocamlbuild... ocamlbuild checking for ocamlfind... ocamlfind checking for gawk... no checking for mawk... mawk checking for checkpolicy... checkpolicy checking for bash... /bin/bash checking for python... /usr/bin/python checking for python version >= 2.3 ... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for python-config... /usr/bin/python-config checking Python.h usability... yes checking Python.h presence... yes checking for Python.h... yes checking for PyArg_ParseTuple in -lpython2.7... yes checking for xgettext... /usr/bin/xgettext checking for as86... /usr/bin/as86 checking for ld86... /usr/bin/ld86 checking for bcc... /usr/bin/bcc checking for iasl... /usr/bin/iasl checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking for uuid_clear in -luuid... yes checking uuid.h usability... no checking uuid.h presence... no checking for uuid.h... no checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for clear in -lcurses... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for clear in -lncurses... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for glib... yes checking for wget... /usr/bin/wget checking bzlib.h usability... no checking bzlib.h presence... no checking for bzlib.h... no checking lzma.h usability... yes checking lzma.h presence... yes checking for lzma.h... yes checking for lzma_stream_decoder in -llzma... yes checking lzo/lzo1x.h usability... no checking lzo/lzo1x.h presence... no checking for lzo/lzo1x.h... no checking for io_setup in -laio... yes checking for MD5 in -lcrypto... yes checking ext2fs/ext2fs.h usability... yes checking ext2fs/ext2fs.h presence... yes checking for ext2fs/ext2fs.h... yes checking for ext2fs_open2 in -lext2fs... yes checking ext4fs/ext2fs.h usability... no checking ext4fs/ext2fs.h presence... no checking for ext4fs/ext2fs.h... no checking for gcry_md_hash_buffer in -lgcrypt... no checking for pthread flag... -pthread checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking for openpty et al... -lutil checking for yajl_alloc in -lyajl... yes checking for deflateCopy in -lz... yes checking for libiconv_open in -liconv... no checking yajl/yajl_version.h usability... yes checking yajl/yajl_version.h presence... yes checking for yajl/yajl_version.h... yes checking sys/eventfd.h usability... yes checking sys/eventfd.h presence... yes checking for sys/eventfd.h... yes checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking for LIBNL3... no configure: WARNING: Disabling support for Remus network buffering. Please install libnl3 libraries, command line tools and devel headers - version 3.2.8 or higher checking for SYSTEMD... yes checking for SYSTEMD... yes configure: creating ./config.status config.status: creating ../config/Tools.mk config.status: creating hotplug/FreeBSD/rc.d/xencommons config.status: creating hotplug/Linux/init.d/sysconfig.xencommons config.status: creating hotplug/Linux/init.d/xen-watchdog config.status: creating hotplug/Linux/init.d/xencommons config.status: creating hotplug/Linux/init.d/xendomains config.status: creating hotplug/Linux/systemd/proc-xen.mount config.status: creating hotplug/Linux/systemd/var-lib-xenstored.mount config.status: creating hotplug/Linux/systemd/xen-qemu-dom0-disk-backend.service config.status: creating hotplug/Linux/systemd/xen-watchdog.service config.status: creating hotplug/Linux/systemd/xenconsoled.service config.status: creating hotplug/Linux/systemd/xendomains.service config.status: creating hotplug/Linux/systemd/xenstored.service config.status: creating hotplug/Linux/systemd/xenstored.socket config.status: creating hotplug/Linux/systemd/xenstored_ro.socket config.status: creating hotplug/Linux/vif-setup config.status: creating hotplug/Linux/xen-backend.rules config.status: creating hotplug/Linux/xen-hotplug-common.sh config.status: creating hotplug/Linux/xendomains config.status: creating hotplug/NetBSD/rc.d/xencommons config.status: creating config.h config.status: config.h is unchanged === configuring in stubdom (/home/tlviewer/xen-4.5.0/stubdom) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--enable-systemd' '--libdir=/usr/lib' '--enable-ocamltools' '--enable-efi' '--with-systemd=/lib/systemd/system' '--with-extra-qemuU-configure-args=--enable-spice --enable-usb-redir' --cache-file=/dev/null --srcdir=. checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu xyy checking for wget... /usr/bin/wget checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for cmake... no Will build the following stub domains: pv-grub xenstore-stubdom ioemu-stubdom configure: creating ./config.status config.status: creating ../config/Stubdom.mk === configuring in docs (/home/tlviewer/xen-4.5.0/docs) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--enable-systemd' '--libdir=/usr/lib' '--enable-ocamltools' '--enable-efi' '--with-systemd=/lib/systemd/system' '--with-extra-qemuU-configure-args=--enable-spice --enable-usb-redir' --cache-file=/dev/null --srcdir=. checking for fig2dev... no configure: WARNING: fig2dev is not available so some documentation won't be built checking for pod2man... /usr/bin/pod2man checking for pod2html... /usr/bin/pod2html checking for pod2text... /usr/bin/pod2text checking for pandoc... /usr/bin/pandoc checking for markdown... no checking for markdown_py... /usr/bin/markdown_py checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating ../config/Docs.mk ----------------------------- snip configure ----------------- _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |