[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Compiling Xen 4.7.0 with gcc 6.1.1



The Arch Linux Xen package has been stuck on 4.5.1 for a while
(https://aur.archlinux.org/packages/xen/). I was hoping to update the
package to 4.7.0.

I downloaded the source from
http://bits.xensource.com/oss-xen/release/4.7.0/xen-4.7.0.tar.gz and
then did

   ./configure PYTHON=/usr/bin/python2 --prefix=/usr --enable-systemd
    make LANG=C PYTHON=python2

This gives me an error

core/stringextra.c: In function 'strtok':
core/stringextra.c:189:18: error: nonnull argument 's' compared to
NULL [-Werror=nonnull-compare]
  sbegin  = s ? s : ___strtok;
            ~~~~~~^~~~~~~~~~~

Potentially this has something to do with the fact that I am using gcc 6.1.1.

Any help would be appreciated.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.