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

Xen compile error



i try to compile the lates Release 4.14.0 and get stuck here




libxlu_pci.c: In function ‘xlu_pci_parse_bdf’:
libxlu_pci.c:32:18: error: ‘func’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
   32 |     pcidev->func = func;
      |     ~~~~~~~~~~~~~^~~~~~
libxlu_pci.c:51:29: note: ‘func’ was declared here
   51 |     unsigned dom, bus, dev, func, vslot = 0;
      |                             ^~~~
libxlu_pci.c:31:17: error: ‘dev’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
   31 |     pcidev->dev = dev;
      |     ~~~~~~~~~~~~^~~~~
libxlu_pci.c:51:24: note: ‘dev’ was declared here
   51 |     unsigned dom, bus, dev, func, vslot = 0;
      |                        ^~~
libxlu_pci.c:30:17: error: ‘bus’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
   30 |     pcidev->bus = bus;
      |     ~~~~~~~~~~~~^~~~~
libxlu_pci.c:51:19: note: ‘bus’ was declared here
   51 |     unsigned dom, bus, dev, func, vslot = 0;
      |                   ^~~
libxlu_pci.c:29:20: error: ‘dom’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
   29 |     pcidev->domain = domain;
      |     ~~~~~~~~~~~~~~~^~~~~~~~
libxlu_pci.c:51:14: note: ‘dom’ was declared here
   51 |     unsigned dom, bus, dev, func, vslot = 0;
      |              ^~~
cc1: all warnings being treated as errors
make[5]: *** [/home/adminjs/xen/tools/libxl/../../tools/Rules.mk:216: 
libxlu_pci.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory '/home/adminjs/xen/tools/libxl'
make[4]: *** [/home/adminjs/xen/tools/../tools/Rules.mk:240: 
subdir-install-libxl] Error 2
make[4]: Leaving directory '/home/adminjs/xen/tools'
make[3]: *** [/home/adminjs/xen/tools/../tools/Rules.mk:235: subdirs-install] 
Error 2
make[3]: Leaving directory '/home/adminjs/xen/tools'
make[2]: *** [Makefile:72: install] Error 2
make[2]: Leaving directory '/home/adminjs/xen/tools'
make[1]: *** [Makefile:134: install-tools] Error 2
make[1]: Leaving directory '/home/adminjs/xen'
make: *** [Makefile:170: world] Error 2



Sent with ProtonMail Secure Email.

Attachment: publickey - ba1020@protonmail.ch - 0x949AA924.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature


 


Rackspace

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