WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] trouble building 4.0.1

No but I'll look at it now.

Thanks,
Dana

On Oct 1, 2010, at 8:10 AM, SpiegelEiXXL wrote:

> Did you try the patch describted here?
> http://www.gossamer-threads.com/lists/xen/devel/179690
> 
> On 01.10.2010 13:58, Dana Rawding wrote:
>> I finally decided to build 4.0.1 on my OpenSuSE box.  I've been plodding 
>> along and resolving issues/dependencies as needed but now I'm stumped.  
>> While building I get the following message:
>> 
>> cc1: warnings being treated as errors
>> netfront.c:41:32: error: variably modified ‘tx_freelist’ at file scope
>> netfront.c:44:34: error: variably modified ‘rx_buffers’ at file scope
>> netfront.c:45:34: error: variably modified ‘tx_buffers’ at file scope
>> make[3]: *** [/usr/src/xen-4.0.1/stubdom/mini-os-x86_32-ioemu/netfront.o] 
>> Error 1
>> make[3]: Leaving directory `/usr/src/xen-4.0.1/extras/mini-os'
>> make[2]: *** [ioemu-stubdom] Error 2
>> make[2]: Leaving directory `/usr/src/xen-4.0.1/stubdom'
>> make[1]: *** [install-stubdom] Error 2
>> make[1]: Leaving directory `/usr/src/xen-4.0.1'
>> make: *** [world] Error 2
>> 
>> I had to go back a ways to find any warnings.  This is what I found:
>> 
>> /usr/src/xen-4.0.1/stubdom/ioemu/hw/xen_machine_fv.c:43:0: warning: 
>> "test_bit" redefined
>> /usr/src/xen-4.0.1/stubdom/../extras/mini-os/include/x86/os.h:233:0: note: 
>> this is the location of the previous definition
>>   CC    i386-stubdom/xen_machine_pv.o
>>   CC    i386-stubdom/xen_backend.o
>> /usr/src/xen-4.0.1/stubdom/ioemu/hw/xen_backend.c: In function 
>> ‘xenstore_update’:
>> /usr/src/xen-4.0.1/stubdom/ioemu/hw/xen_backend.c:592:16: warning: format 
>> ‘%llx’ expects type ‘long long unsigned int *’, but argument 3 has type 
>> ‘intptr_t *’
>> /usr/src/xen-4.0.1/stubdom/ioemu/hw/xen_backend.c:592:16: warning: format 
>> ‘%llx’ expects type ‘long long unsigned int *’, but argument 5 has type 
>> ‘intptr_t *’
>> /usr/src/xen-4.0.1/stubdom/ioemu/hw/xen_backend.c:592:16: warning: format 
>> ‘%llx’ expects type ‘long long unsigned int *’, but argument 3 has type 
>> ‘intptr_t *’
>> /usr/src/xen-4.0.1/stubdom/ioemu/hw/xen_backend.c:592:16: warning: format 
>> ‘%llx’ expects type ‘long long unsigned int *’, but argument 5 has type 
>> ‘intptr_t *’
>> /usr/src/xen-4.0.1/stubdom/ioemu/hw/xen_backend.c:594:5: warning: format 
>> ‘%llx’ expects type ‘long long unsigned int *’, but argument 3 has type 
>> ‘intptr_t *’
>> /usr/src/xen-4.0.1/stubdom/ioemu/hw/xen_backend.c:594:5: warning: format 
>> ‘%llx’ expects type ‘long long unsigned int *’, but argument 3 has type 
>> ‘intptr_t *’
>>   CC    i386-stubdom/xenfb.o
>>   CC    i386-stubdom/xen_console.o
>>   CC    i386-stubdom/exec-dm.o
>>   CC    i386-stubdom/pci_emulation.o
>>   CC    i386-stubdom/helper2.o
>>   CC    i386-stubdom/battery_mgmt.o
>>   CC    i386-stubdom/xenfbfront.o
>> /usr/src/xen-4.0.1/stubdom/ioemu/xenfbfront.c: In function 
>> ‘xenfb_pv_display_vram’:
>> /usr/src/xen-4.0.1/stubdom/ioemu/xenfbfront.c:361:1: warning: control 
>> reaches end of non-void function
>>   CC    i386-stubdom/pass-through.o
>> /usr/src/xen-4.0.1/stubdom/ioemu/hw/pass-through.c: In function 
>> ‘pt_bar_reg_restore’:
>> /usr/src/xen-4.0.1/stubdom/ioemu/hw/pass-through.c:4148:9: warning: right 
>> shift count>= width of type
>>   CC    i386-stubdom/pt-msi.o
>> In file included from 
>> /usr/src/xen-4.0.1/stubdom/ioemu/hw/pass-through.h:22:0,
>>                  from /usr/src/xen-4.0.1/stubdom/ioemu/hw/pt-msi.h:5,
>>                  from /usr/src/xen-4.0.1/stubdom/ioemu/hw/pt-msi.c:22:
>> /usr/src/xen-4.0.1/stubdom/ioemu/hw/pci.h:172:0: warning: "PCI_STATUS_66MHZ" 
>> redefined
>> /usr/src/xen-4.0.1/stubdom/cross-root-i686/i686-xen-elf/include/pci/header.h:31:0:
>>  note: this is the location of the previous definition
>> /usr/src/xen-4.0.1/stubdom/ioemu/hw/pci.h:174:0: warning: 
>> "PCI_STATUS_FAST_BACK" redefined
>> /usr/src/xen-4.0.1/stubdom/cross-root-i686/i686-xen-elf/include/pci/header.h:33:0:
>>  note: this is the location of the previous definition
>>   CC    i386-stubdom/block-vbd.o
>> 
>> Not sure if these are related to the error or not.  Anyone have an idea as 
>> to what to do?
>> 
>> Thanks,
>> Dana
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>> 
>> 
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>