|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [PATCH] Fix linux compilation on x86-64
 
 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
 
 |   
 
 | 
    | 
  
  
    |   | 
    |