search for: xtl_createlogger_stdiostream

Displaying 6 results from an estimated 6 matches for "xtl_createlogger_stdiostream".

2011 Mar 21
9
Build problem: note: ''xtl_createlogger_stdiostream'' is defined in DSO .. so try adding it to the linker command line... libxenctrl.so.4.0: could not read symbols: Invalid operation
...onrad/ssd/xtt/xen-unstable/tools/libxl/../../tools/libxc -Wl,-rpath-link=/home/konrad/ssd/xtt/xen-unstable/tools/libxl/../../tools/xenstore -Wl,-rpath-link=/home/konrad/ssd/xtt/xen-unstable/tools/libxl/../../tools/blktap2/control -lxenlight /usr/bin/ld: xl.o: undefined reference to symbol ''xtl_createlogger_stdiostream'' /usr/bin/ld: note: ''xtl_createlogger_stdiostream'' is defined in DSO /home/konrad/ssd/xtt/xen-unstable/tools/libxl/../../tools/libxc/libxenctrl.so.4.0 so try adding it to the linker command line /home/konrad/ssd/xtt/xen-unstable/tools/libxl/../../tools/libxc/libxenctrl.so...
2020 Feb 20
2
Re: build problem with libxl
I use centos 7 (7.7.1908). these pkgs are installed: xen-hypervisor-4.12.2-1.el7.x86_64 xen-devel-4.12.2-1.el7.x86_64 qemu-xen-4.12.1-1.el7.x86_64 xen-runtime-4.12.2-1.el7.x86_64 xen-licenses-4.12.2-1.el7.x86_64 xen-4.12.2-1.el7.x86_64 xen-libs-4.12.2-1.el7.x86_64 xen-ovmf-20180825-1.gitef529e6ab.el7.x86_64 even with --with-libxl it doesnt work... --- ------ Greetz Am 20.02.2020 11:31, schrieb
2020 Feb 20
2
Re: build problem with libxl
...figure:23718: result: yes > configure:23718: checking libxlutil.h presence > configure:23718: clang -E conftest.c > configure:23718: $? = 0 > configure:23718: result: yes > configure:23718: checking for libxlutil.h > configure:23718: result: yes > configure:23743: checking for xtl_createlogger_stdiostream in > -lxentoollog > configure:23768: clang -o conftest -g -ggdb3 conftest.c > -lxentoollog -lutil -ltirpc -lpthread -ldl >&5 > configure:23768: $? = 0 > configure:23777: result: yes > configure:23791: checking whether LIBXL_DOMAIN_TYPE_PVH is declared > configure:23...
2020 Feb 20
0
Re: build problem with libxl
...;&5 configure:23718: $? = 0 configure:23718: result: yes configure:23718: checking libxlutil.h presence configure:23718: clang -E conftest.c configure:23718: $? = 0 configure:23718: result: yes configure:23718: checking for libxlutil.h configure:23718: result: yes configure:23743: checking for xtl_createlogger_stdiostream in -lxentoollog configure:23768: clang -o conftest -g -ggdb3 conftest.c -lxentoollog -lutil -ltirpc -lpthread -ldl >&5 configure:23768: $? = 0 configure:23777: result: yes configure:23791: checking whether LIBXL_DOMAIN_TYPE_PVH is declared configure:23791: clang -c -g -ggdb3 conftest....
2020 Feb 21
0
Re: build problem with libxl
...yes >>configure:23718: checking libxlutil.h presence >>configure:23718: clang -E conftest.c >>configure:23718: $? = 0 >>configure:23718: result: yes >>configure:23718: checking for libxlutil.h >>configure:23718: result: yes >>configure:23743: checking for xtl_createlogger_stdiostream in >>-lxentoollog >>configure:23768: clang -o conftest -g -ggdb3 conftest.c >>-lxentoollog -lutil -ltirpc -lpthread -ldl >&5 >>configure:23768: $? = 0 >>configure:23777: result: yes >>configure:23791: checking whether LIBXL_DOMAIN_TYPE_PVH is declared...
2010 Sep 09
2
[PATCH]: add libxl python binding
...self == NULL) + return NULL; + + memset(&self->ctx, 0, sizeof(self->ctx)); + self->logger = NULL; + self->minmsglevel = XTL_PROGRESS; + + return (PyObject *)self; +} + +static int +PyXl_init(XlObject *self, PyObject *args, PyObject *kwds) +{ + self->logger = xtl_createlogger_stdiostream(stderr, self->minmsglevel, 0); + if (!self->logger) { + PyErr_SetString(xl_error_obj, "cannot init xl logger"); + return -1; + } + + if ( libxl_ctx_init(&self->ctx, LIBXL_VERSION, + (xentoollog_logger*)self->logger) ) { + PyErr...