* Xen 4.1.1 kernel build failure
@ 2011-06-16 10:56 Christoph Egger
2011-06-16 11:24 ` Keir Fraser
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Egger @ 2011-06-16 10:56 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
Hi,
xen/drivers/char/console.c fails to compile because it
includes <xen/stdarg.h> itself and then again via <xen/lib.h>.
Then gcc fails with redefining va_list in xen/include/xen/stdarg.h.
One way to fix it is to remove the <xen/stdarg.h> inclusion
from xen/drivers/char/console.c.
A second way to fix it is to add a multiple inclusion protection
to xen/include/xen/stdarg.h
Christoph
--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Xen 4.1.1 kernel build failure
2011-06-16 10:56 Xen 4.1.1 kernel build failure Christoph Egger
@ 2011-06-16 11:24 ` Keir Fraser
0 siblings, 0 replies; 2+ messages in thread
From: Keir Fraser @ 2011-06-16 11:24 UTC (permalink / raw)
To: Christoph Egger, xen-devel@lists.xensource.com
On 16/06/2011 11:56, "Christoph Egger" <Christoph.Egger@amd.com> wrote:
>
> Hi,
>
> xen/drivers/char/console.c fails to compile because it
> includes <xen/stdarg.h> itself and then again via <xen/lib.h>.
>
> Then gcc fails with redefining va_list in xen/include/xen/stdarg.h.
>
> One way to fix it is to remove the <xen/stdarg.h> inclusion
> from xen/drivers/char/console.c.
> A second way to fix it is to add a multiple inclusion protection
> to xen/include/xen/stdarg.h
I'll do both. :-)
-- Keir
> Christoph
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-16 11:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-16 10:56 Xen 4.1.1 kernel build failure Christoph Egger
2011-06-16 11:24 ` Keir Fraser
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.