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

[Xen-users] Re: make world fails with ASM errors



Duncan Morgan <dmorgan <at> gmi-mr.com> writes:
> cc1: warnings being treated as errors
> In file included from /home/dmorgan/xen-3.0.1/xen/include/asm/mpspec.h:5,
>                  from /home/dmorgan/xen-3.0.1/xen/include/asm/smp.h:18,
>                  from /home/dmorgan/xen-3.0.1/xen/include/xen/smp.h:13,
>                  from /home/dmorgan/xen-3.0.1/xen/include/xen/sched.h:8,
>                  from x86_32/asm-offsets.c:9:
> /home/dmorgan/xen-3.0.1/xen/include/asm/mpspec_def.h:78: warning: ÃâËpackedÃââ
> attribute ignored for field of type ÃâËunsigned char[5u]Ãââ


Hi,

I've just come across this error myself and found the following solution. I'm no
expert by any means but this seems to work ok. I basically followed the
instructions here [http://lkml.org/lkml/2005/12/27/153].

Edit the file: /tmp/xen-3.0.1/xen/include/asm/mpspec_def.h
and change line 78 from:

unsigned char mpc_bustype[6] __attribute((packed));

to:

unsigned char mpc_bustype[6];


All should compile then.
Hope that helps.

--
Andrew Thompson
http://www.downthewire.co.uk


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


 


Rackspace

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