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

Re: [Xen-devel] Errors when build 2.6.31-rc8


  • To: Jun Koi <junkoi2004@xxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Sat, 5 Sep 2009 04:31:27 -0700 (PDT)
  • Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Sat, 05 Sep 2009 04:32:06 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=oIiiVcY9V9Px29eV7IUiLMIdYyPCiXAYMszZdFs9WUwbrzW/8zLMd8uOfGA9COrOtvQA59yvWPR9pntkh3pRRTNzn8h5ZC3EHeEiUBactE/i1PKNFqFX8GkjdoMCFHJ+P+4Ejbidxnso4MJcsrhnh9cnjhtr33WZeEEm5dP4OOU=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Original clone & checkout:-

# git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen
# cd linux-2.6-xen
# git checkout origin/rebase/master -b rebase/master

Boris

--- On Sat, 9/5/09, Jun Koi <junkoi2004@xxxxxxxxx> wrote:

From: Jun Koi <junkoi2004@xxxxxxxxx>
Subject: Re: [Xen-devel] Errors when build 2.6.31-rc8
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: "Jeremy Fitzhardinge" <jeremy@xxxxxxxx>, "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Date: Saturday, September 5, 2009, 7:24 AM

Where did you clone this from? Is it the vanilla Linux kernel, or
xentinized kernel?

thanks,
J

On Sat, Sep 5, 2009 at 8:18 PM, Boris Derzhavets<bderzhavets@xxxxxxxxx> wrote:
> After fresh git clone, git checkout tune "make menuconfig" the same way as
> for RC6
>
> When build :-
>
> In file included from /usr/src/linux-2.6-xen/arch/x86/include/asm/agp.h:5,
>                  from drivers/gpu/drm/ttm/ttm_agp_backend.c:40:
> include/linux/swiotlb.h:48: warning: âenum dma_data_directionâ declared
> inside parameter list
> include/linux/swiotlb.h:48: warning: its scope is only this definition or
> declaration, which is probably not what you want
> include/linux/swiotlb.h:51: warning: âenum dma_data_directionâ declared
> inside parameter list
> include/linux/swiotlb.h:63: warning: âenum dma_data_directionâ declared
> inside parameter list
> include/linux/swiotlb.h:68: warning: âenum dma_data_directionâ declared
> inside parameter list
> include/linux/swiotlb.h:72: warning: âenum dma_data_directionâ declared
> inside parameter list
> include/linux/swiotlb.h:76: warning: âenum dma_data_directionâ declared
> inside parameter list
> include/linux/swiotlb.h:80: warning: âenum dma_data_directionâ declared
> inside parameter list
> include/linux/swiotlb.h:84: warning: âenum dma_data_directionâ declared
> inside parameter list
> include/linux/swiotlb.h:89: warning: âenum dma_data_directionâ declared
> inside parameter list
> include/linux/swiotlb.h:94: warning: âenum dma_data_directionâ declared
> inside parameter list
> In file included from /usr/src/linux-2.6-xen/arch/x86/include/asm/agp.h:9,
>                  from drivers/gpu/drm/ttm/ttm_agp_backend.c:40:
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h: In function
> âget_dma_opsâ:
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h:29: error:
> dereferencing pointer to incomplete type
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h:32: error:
> dereferencing pointer to incomplete type
> In file included from
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h:37,
>                  from /usr/src/linux-2.6-xen/arch/x86/include/asm/agp.h:9,
>                  from drivers/gpu/drm/ttm/ttm_agp_backend.c:40:
> include/asm-generic/dma-mapping-common.h: At top level:
> include/asm-generic/dma-mapping-common.h:12: warning: âenum
> dma_data_directionâ declared inside parameter list
> include/asm-generic/dma-mapping-common.h:11: error: parameter 4 (âdirâ) has
> incomplete type
> include/asm-generic/dma-mapping-common.h: In function
> âdma_map_single_attrsâ:
> include/asm-generic/dma-mapping-common.h:18: error: implicit declaration of
> function âvalid_dma_directionâ
> In file included from
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h:37,
>                  from /usr/src/linux-2.6-xen/arch/x86/include/asm/agp.h:9,
>                  from drivers/gpu/drm/ttm/ttm_agp_backend.c:40:
> include/asm-generic/dma-mapping-common.h:19: error: dereferencing pointer to
> incomplete type
> include/asm-generic/dma-mapping-common.h: At top level:
> include/asm-generic/dma-mapping-common.h:31: warning: âenum
> dma_data_directionâ declared inside parameter list
> include/asm-generic/dma-mapping-common.h:30: error: parameter 4 (âdirâ) has
> incomplete type
> include/asm-generic/dma-mapping-common.h: In function
> âdma_unmap_single_attrsâ:
> include/asm-generic/dma-mapping-common.h:36: error: dereferencing pointer to
> incomplete type
> include/asm-generic/dma-mapping-common.h:37: error: dereferencing pointer to
> incomplete type
> include/asm-generic/dma-mapping-common.h: At top level:
> include/asm-generic/dma-mapping-common.h:43: warning: âenum
> dma_data_directionâ declared inside parameter list
> include/asm-generic/dma-mapping-common.h:42: error: parameter 4 (âdirâ) has
> incomplete type
> include/asm-generic/dma-mapping-common.h: In function âdma_map_sg_attrsâ:
> include/asm-generic/dma-mapping-common.h:52: error: dereferencing pointer to
> incomplete type
> include/asm-generic/dma-mapping-common.h: At top level:
> include/asm-generic/dma-mapping-common.h:60: warning: âenum
> dma_data_directionâ declared inside parameter list
> include/asm-generic/dma-mapping-common.h:59: error: parameter 4 (âdirâ) has
> incomplete type
> include/asm-generic/dma-mapping-common.h: In function âdma_unmap_sg_attrsâ:
> include/asm-generic/dma-mapping-common.h:66: error: dereferencing pointer to
> incomplete type
> include/asm-generic/dma-mapping-common.h:67: error: dereferencing pointer to
> incomplete type
> include/asm-generic/dma-mapping-common.h: At top level:
> include/asm-generic/dma-mapping-common.h:72: warning: âenum
> dma_data_directionâ declared inside parameter list
> include/asm-generic/dma-mapping-common.h:72: error: parameter 5 (âdirâ) has
> incomplete type
> include/asm-generic/dma-mapping-common.h: In function âdma_map_pageâ:
> include/asm-generic/dma-mapping-common.h:79: error: dereferencing pointer to
> incomplete type
> include/asm-generic/dma-mapping-common.h: At top level:
> include/asm-generic/dma-mapping-common.h:86: warning: âenum
> dma_data_directionâ declared inside parameter list
> include/asm-generic/dma-mapping-common.h:86: error: parameter 4 (âdirâ) has
> incomplete type
> include/asm-generic/dma-mapping-common.h: In function âdma_unmap_pageâ:
> include/asm-generic/dma-mapping-common.h:91: error: dereferencing pointer to
> incomplete type
> include/asm-generic/dma-mapping-common.h:92: error: dereferencing pointer to
> incomplete type
> include/asm-generic/dma-mapping-common.h: At top level:
> include/asm-generic/dma-mapping-common.h:98: warning: âenum
> dma_data_directionâ declared inside parameter list
> include/asm-generic/dma-mapping-common.h:98: error: parameter 4 (âdirâ) has
> incomplete type
> include/asm-generic/dma-mapping-common.h: In function
> âdma_sync_single_for_cpuâ:
> include/asm-generic/dma-mapping-common.h:103: error: dereferencing pointer
> to incomplete type
> include/asm-generic/dma-mapping-common.h:104: error: dereferencing pointer
> to incomplete type
> include/asm-generic/dma-mapping-common.h: At top level:
> include/asm-generic/dma-mapping-common.h:111: warning: âenum
> dma_data_directionâ declared inside parameter list
> include/asm-generic/dma-mapping-common.h:111: error: parameter 4 (âdirâ) has
> incomplete type
> include/asm-generic/dma-mapping-common.h: In function
> âdma_sync_single_for_deviceâ:
> include/asm-generic/dma-mapping-common.h:116: error: dereferencing pointer
> to incomplete type
> include/asm-generic/dma-mapping-common.h:117: error: dereferencing pointer
> to incomplete type
> include/asm-generic/dma-mapping-common.h: At top level:
> include/asm-generic/dma-mapping-common.h:126: warning: âenum
> dma_data_directionâ declared inside parameter list
> include/asm-generic/dma-mapping-common.h:126: error: parameter 5 (âdirâ) has
> incomplete type
> include/asm-generic/dma-mapping-common.h: In function
> âdma_sync_single_range_for_cpuâ:
> include/asm-generic/dma-mapping-common.h:131: error: dereferencing pointer
> to incomplete type
> include/asm-generic/dma-mapping-common.h:132: error: dereferencing pointer
> to incomplete type
> include/asm-generic/dma-mapping-common.h:137: error: type of formal
> parameter 4 is incomplete
> include/asm-generic/dma-mapping-common.h: At top level:
> include/asm-generic/dma-mapping-common.h:144: warning: âenum
> dma_data_directionâ declared inside parameter list
> include/asm-generic/dma-mapping-common.h:144: error: parameter 5 (âdirâ) has
> incomplete type
> include/asm-generic/dma-mapping-common.h: In function
> âdma_sync_single_range_for_deviceâ:
> include/asm-generic/dma-mapping-common.h:149: error: dereferencing pointer
> to incomplete type
> include/asm-generic/dma-mapping-common.h:150: error: dereferencing pointer
> to incomplete type
> include/asm-generic/dma-mapping-common.h:155: error: type of formal
> parameter 4 is incomplete
> include/asm-generic/dma-mapping-common.h: At top level:
> include/asm-generic/dma-mapping-common.h:160: warning: âenum
> dma_data_directionâ declared inside parameter list
> include/asm-generic/dma-mapping-common.h:160: error: parameter 4 (âdirâ) has
> incomplete type
> include/asm-generic/dma-mapping-common.h: In function âdma_sync_sg_for_cpuâ:
> include/asm-generic/dma-mapping-common.h:165: error: dereferencing pointer
> to incomplete type
> include/asm-generic/dma-mapping-common.h:166: error: dereferencing pointer
> to incomplete type
> include/asm-generic/dma-mapping-common.h: At top level:
> include/asm-generic/dma-mapping-common.h:173: warning: âenum
> dma_data_directionâ declared inside parameter list
> include/asm-generic/dma-mapping-common.h:173: error: parameter 4 (âdirâ) has
> incomplete type
> include/asm-generic/dma-mapping-common.h: In function
> âdma_sync_sg_for_deviceâ:
> include/asm-generic/dma-mapping-common.h:178: error: dereferencing pointer
> to incomplete type
> include/asm-generic/dma-mapping-common.h:179: error: dereferencing pointer
> to incomplete type
> In file included from /usr/src/linux-2.6-xen/arch/x86/include/asm/agp.h:9,
>                  from drivers/gpu/drm/ttm/ttm_agp_backend.c:40:
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h: In function
> âdma_mapping_errorâ:
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h:42: error:
> dereferencing pointer to incomplete type
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h:43: error:
> dereferencing pointer to incomplete type
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h: At top level:
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h:60: warning: âenum
> dma_data_directionâ declared inside parameter list
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h:60: error:
> parameter 4 (âdirâ) has incomplete type
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h: In function
> âdma_alloc_coherent_maskâ:
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h:77: error:
> dereferencing pointer to incomplete type
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h:79: error:
> implicit declaration of function âDMA_BIT_MASKâ
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h: In function
> âdma_alloc_coherentâ:
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h:114: error:
> implicit declaration of function âis_device_dma_capableâ
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h:117: error:
> dereferencing pointer to incomplete type
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h:120: error:
> dereferencing pointer to incomplete type
> In file included from /usr/src/linux-2.6-xen/arch/x86/include/asm/agp.h:9,
>                  from drivers/gpu/drm/ttm/ttm_agp_backend.c:40:
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h: In function
> âdma_free_coherentâ:
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h:138: error:
> dereferencing pointer to incomplete type
> /usr/src/linux-2.6-xen/arch/x86/include/asm/dma-mapping.h:139: error:
> dereferencing pointer to incomplete type
> make[4]: *** [drivers/gpu/drm/ttm/ttm_agp_backend.o] Error 1
> make[3]: *** [drivers/gpu/drm/ttm] Error 2
> make[2]: *** [drivers/gpu/drm] Error 2
> make[1]: *** [drivers/gpu] Error 2
> make: *** [drivers] Error 2
>
> Boris
>
>
>
> _______________________________________________
> 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

 


Rackspace

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