2.6.9-rc1-mm5 compile errors

From: Badari Pulavarty (pbadari_at_us.ibm.com)
Date: 09/13/04

  • Next message: Linus Torvalds: "Linux 2.6.9-rc2"
    To: akpm@osdl.org
    Date:	13 Sep 2004 09:35:56 -0700
    
    

    Hi Andrew,

    I get following compile errors on PPC64 (P3) box while trying
    to build 2.6.9-rc1-mm5.

    Are these known/fixed ?

    Thanks,
    Badari

    mm/mempolicy.c: In function `get_zonemask':
    mm/mempolicy.c:419: error: `maxnode' undeclared (first use in this
    function)
    mm/mempolicy.c:419: error: (Each undeclared identifier is reported only
    once
    mm/mempolicy.c:419: error: for each function it appears in.)
    arch/ppc64/kernel/pSeries_pci.c: In function `pcibios_fixup_bus':
    arch/ppc64/kernel/pSeries_pci.c:607: error: redeclaration of `dev'
    arch/ppc64/kernel/pSeries_pci.c:604: error: `dev' previously declared
    here
    arch/ppc64/kernel/pSeries_pci.c:604: warning: unused variable `dev'
    make[1]: *** [arch/ppc64/kernel/pSeries_pci.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make[1]: *** [mm/mempolicy.o] Error 1
    make: *** [mm] Error 2
    make: *** Waiting for unfinished jobs....
    arch/ppc64/kernel/pSeries_htab.c: In function
    `pSeries_hpte_updateboltedpp':
    arch/ppc64/kernel/pSeries_htab.c:243: warning: `flags' might be used
    uninitialized in this function
    arch/ppc64/kernel/prom.c: In function `map_interrupt':
    arch/ppc64/kernel/prom.c:1808: warning: `newintrc' might be used
    uninitialized in this function
    arch/ppc64/kernel/prom.c:1808: warning: `newaddrc' might be used
    uninitialized in this function

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Linus Torvalds: "Linux 2.6.9-rc2"

    Relevant Pages

    • Re: [PATCH] error path in setup_arg_pages() misses vm_unacct_memory()
      ... leaks 4kB into Committed_AS each time? ... occur on ppc64, each time an ELF binary is run, if vDSO is enabled. ... can we trust callers to maintain total_vm? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Why no bigphysarea in mainline?
      ... works on PPC64 so that this hack will work, ... We don't tend to change code for ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: topology api confusion
      ... I suspect that it's supposed to be unconditionally included at ... Since it doesnt look like this will be resolved by 2.6.13 and NUMA is ... overriding all the ppc64 specific functions when NUMA is on. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: topology api confusion
      ... I suspect that it's supposed to be unconditionally included at ... > overriding all the ppc64 specific functions when NUMA is on. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [Linux-fbdev-devel] Re: [ACPI] inappropriate use of in_atomic()
      ... Benjamin Herrenschmidt wrote: ... > Note that it would be interesting to fix that (I mean the reliability of ... CONFIG_PREEMPT (which ppc64 doesn't support). ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)