[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Problem compiling Xen-4.7 with qemu-traditional for IGD passthrough
On Thu, Jan 05, 2017 at 02:21:40PM -0500, Bill Mccabe wrote: > Thanks, those rules are extremely helpful and have helped me get > through many build errors. Now I am getting another one though: > > > cc > -I/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/qemu-xen-dir/tcg > -I/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/qemu-xen-dir/tcg/i386 > -I/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/qemu-xen-dir/linux-headers > -I/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/qemu-xen-dir/linux-headers > -I. > -I/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/qemu-xen-dir > -I/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/qemu-xen-dir/include > -Ihw/9pfs -Ihw/9pfs -I/usr/include/pixman-1 -Werror -fPIE -DPIE -m64 > -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings > -Wmissing-prototypes -fno-strict-aliasing -fno-common > -DXC_WANT_COMPAT_EVTCHN_API=1 -DXC_WANT_COMPAT_GNTTAB_API=1 > -DXC_WANT_COMPAT_MAP_FOREIGN_API=1 > -I/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/../tools/include > > -I/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/../tools/libs/toollog/include > > -I/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/../tools/libs/evtchn/include > > -I/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/../tools/libs/gnttab/include > > -I/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/../tools/libs/foreignmemory/include > > -I/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/../tools/libxc/include > > -I/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/../tools/xenstore/include > > -I/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/../tools/xenstore/compat/include > -Wendif-labels -Wempty-body -Wnested-externs -Wformat-security > -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration > -Wold-style-definition -Wtype-limits -fstack-protector-strong > -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 > -I/usr/include/libpng16 -I/usr/include/spice-server > -I/usr/include/spice-1 -I/usr/include/libusb-1.0 > -I/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/qemu-xen-dir/tests > -MMD -MP -MT hw/9pfs/virtio-9p-local.o -MF hw/9pfs/virtio-9p-local.d > -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread > -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include > -g -c -o hw/9pfs/virtio-9p-local.o hw/9pfs/virtio-9p-local.c > hw/9pfs/virtio-9p-local.c: In function ‘local_readdir_r’: > hw/9pfs/virtio-9p-local.c:396:5: error: ‘readdir_r’ is deprecated > [-Werror=deprecated-declarations] > ret = readdir_r(fs->dir, entry, result); > ^~~ > In file included from /usr/include/features.h:364:0, > from /usr/include/stdio.h:27, > from > /usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/qemu-xen-dir/include/qemu/fprintf-fn.h:12, > from > /usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/qemu-xen-dir/include/qemu-common.h:18, > from > /usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/qemu-xen-dir/include/hw/hw.h:5, > from > /usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/qemu-xen-dir/include/hw/virtio/virtio.h:17, > from hw/9pfs/virtio-9p-local.c:14: > /usr/include/dirent.h:189:12: note: declared here > extern int __REDIRECT (readdir_r, > ^ > cc1: all warnings being treated as errors Please do not top-post. Looks like you are using glib >= 2.24, you will need (at least) this patch series for QEMU: https://lists.gnu.org/archive/html/qemu-devel/2016-06/msg00675.html (or else disable treating warnings as errors). Roger. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx https://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |