|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 0/9] xen: build fixes with gcc5 and binutils 2.25.0
On Tue, Feb 9, 2016 at 8:39 AM, Ian Campbell <ian.campbell@xxxxxxxxxx> wrote:
>> And then:
>>
>> === PCI passthrough capability has been enabled ===
>> CC qemu-nbd.o
>> In file included from ./xen-config-host.h:19:0,
>> from ./config-host.h:18,
>> from ./qemu-common.h:33,
>> from qemu-nbd.c:20:
>> /usr/local/include/xenctrl.h:1229:9: error: unknown type name
>> âxen_sysctl_topologyinfo_tâ
>> typedef xen_sysctl_topologyinfo_t xc_topologyinfo_t;
>
> If this was building from xen.git then the problem would appear to be that
> it is picking up headers from /usr/local instead of the ones from in tree
> (i.e. the libraries its just built).
All the stuff in /usr/local was Xen related, so I rm -rf'd it, then
started a fresh build. It now fails with the following on a debian
testing with all the packages updated to today's latest.
make[4]: Entering directory
'/home/mcgrof/devel/xen/tools/qemu-xen-traditional-dir-remote'
=== PCI passthrough capability has been enabled ===
CC qemu-nbd.o
CC qemu-tool.o
CC osdep.o
CC cutils.o
In file included from config-host.h:20:0,
from osdep.c:25:
xen-config-host.h:19:21: fatal error: xenctrl.h: No such file or directory
compilation terminated.
If I just cd into that directory (tools/qemu-xen-traditional-dir/),
run ./configure and build it fails with:
mcgrof@garbanzo ~/devel/xen/tools/qemu-xen-traditional-dir (git::dummy)$ make
LINK qemu-nbd
LINK qemu-img
CC net.o
In file included from net.c:104:0:
/home/mcgrof/devel/xen/tools/qemu-xen-traditional-dir/slirp/libslirp.h:8:1:
error: invalid use of ârestrictâ
void slirp_init(int restrict, char *special_ip);
^
/home/mcgrof/devel/xen/tools/qemu-xen-traditional-dir/slirp/libslirp.h:8:1:
error: invalid use of ârestrictâ
net.c: In function ânet_tap_shutdown_allâ:
net.c:1992:37: warning: unused variable âiohâ [-Wunused-variable]
struct IOHandlerRecord **pioh, *ioh;
^
net.c:1992:30: warning: unused variable âpiohâ [-Wunused-variable]
struct IOHandlerRecord **pioh, *ioh;
^
/home/mcgrof/devel/xen/tools/qemu-xen-traditional-dir/rules.mak:3:
recipe for target 'net.o' failed
make: *** [net.o] Error 1
I can probably fix this but if people are considering upgrading --
well my effort is pointless. The above seem to be related to gcc
upgrade. How is it only I'm running into this?
If I git clean -f -x -d, cd to the main home dir of xen, then git
clean -f -x -d, then ./configure and a fresh make world it fails on
the same failure on not finding xenctrl.h again.
:(
Luis
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |