Xen 4.1.1 kernel build failure
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
Signature · 6 lines
---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
Quoted 6 lines · Christoph Egger
Hi,
xen/drivers/char/console.cfails to compile because it includes <xen/stdarg.h> itself and then again via <xen/lib.h>.
Quoted 6 lines
Then gcc fails with redefining
va_listinxen/include/xen/stdarg.h.One way to fix it is to remove the <
xen/stdarg.h> inclusion fromxen/drivers/char/console.c.
A second way to fix it is to add a multiple inclusion protection toxen/include/xen/stdarg.h
I'll do both. :-)
-- Keir
Quoted 3 lines
Christoph