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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH] Fix linux compilation on x86-64

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Fix linux compilation on x86-64
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: 2007年1月21日 11:25:15 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2007年1月21日 08:24:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1D93799.790F%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

This is what I get:

INSTALL sound/usb/usx2y/snd-usb-usx2y.ko
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b / -r 2.6.18-xen; fi
WARNING: //lib/modules/2.6.18-xen/kernel/drivers/char/drm/drm.ko needs unknown symbol init_level4_pgt
make[3]: Leaving directory `/root/xen-unstable.hg/build-linux-2.6.18-xen_x86_64'
make -C build-linux-2.6.18-xen_x86_64 ARCH=x86_64 INSTALL_PATH=/ vmlinuz
make[3]: Entering directory `/root/xen-unstable.hg/build-linux-2.6.18-xen_x86_64'
make -C /root/xen-unstable.hg/linux-2.6.18-xen O=/root/xen-unstable.hg/build-linux-2.6.18-xen_x86_64 vmlinuz
Using /root/xen-unstable.hg/linux-2.6.18-xen as source for kernel
GEN /root/xen-unstable.hg/build-linux-2.6.18-xen_x86_64/Makefile
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
CC lib/../arch/i386/kernel/swiotlb.o
/root/xen-unstable.hg/linux-2.6.18-xen/lib/../arch/i386/kernel/swiotlb.c:50: error: static declaration of ‘swiotlb_force’ follows non-static declaration
include2/asm/swiotlb.h:45: error: previous declaration of ‘swiotlb_force’ was here
make[6]: *** [lib/../arch/i386/kernel/swiotlb.o] Error 1
make[5]: *** [lib] Error 2
make[4]: *** [vmlinuz] Error 2
make[3]: *** [vmlinuz] Error 2
make[3]: Leaving directory `/root/xen-unstable.hg/build-linux-2.6.18-xen_x86_64'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/root/xen-unstable.hg'
make[1]: *** [linux-2.6-xen-install] Error 2
make[1]: Leaving directory `/root/xen-unstable.hg'
make: *** [install-kernels] Error 1


Stefan

Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote on 01/21/2007 10:30:33 AM:

> I don't see swiotlb_force used outside of swiotlb.c. How is the build broken
> (it works for me)?
>
> -- Keir
>
> On 20/1/07 5:22 pm, "Stefan Berger" <stefanb@xxxxxxxxxx> wrote:
>
> > This patch fixes Linux 2.6.18 compilation on x86-64 and also works on
> > i386.
> >
> > Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
> >
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-devel
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH 0/2] dump-core take 3 , Isaku Yamahata
Next by Date: Re: [Xen-devel] [PATCH] Fix linux compilation on x86-64 , Stephan Seitz
Previous by Thread: Re: [Xen-devel] [PATCH] Fix linux compilation on x86-64 , Keir Fraser
Next by Thread: Re: [Xen-devel] [PATCH] Fix linux compilation on x86-64 , Stephan Seitz
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /