Someone can explain me this error?

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

 



Hi,

I'm trying to compile 2.6.22 kernel with patch-2.6.21.3-rt9.

I have this error but i don't understand what type of error it is.
Someone can explain me this error? Or suggest me how can resolve it?
What mean "error: expected declaration specifiers or ‘...’ before
‘mmu_gathers’" ?

Thanks in advance.

Ciao,
Alessio


In file included from include/asm/tlb.h:18,
                 from arch/i386/mm/init.c:43:
include/asm-generic/tlb.h:49: error: expected declaration specifiers or
‘...’ before ‘mmu_gathers’
include/asm-generic/tlb.h:49: warning: data definition has no type or
storage class
include/asm-generic/tlb.h:49: warning: type defaults to ‘int’ in
declaration of ‘DECLARE_PER_CPU_LOCKED’
include/asm-generic/tlb.h: In function ‘tlb_gather_mmu’:
include/asm-generic/tlb.h:58: warning: implicit declaration of function
‘__get_cpu_lock’
include/asm-generic/tlb.h:58: error: ‘mmu_gathers’ undeclared (first use
in this function)
include/asm-generic/tlb.h:58: error: (Each undeclared identifier is
reported only once
include/asm-generic/tlb.h:58: error: for each function it appears in.)
include/asm-generic/tlb.h:58: error: invalid lvalue in unary ‘&’
include/asm-generic/tlb.h:58: warning: type defaults to ‘int’ in
declaration of ‘type name’
include/asm-generic/tlb.h:58: error: invalid lvalue in unary ‘&’
include/asm-generic/tlb.h:58: error: invalid lvalue in unary ‘&’
include/asm-generic/tlb.h:58: warning: type defaults to ‘int’ in
declaration of ‘type name’
include/asm-generic/tlb.h:58: error: invalid lvalue in unary ‘&’
include/asm-generic/tlb.h:58: warning: implicit declaration of function
‘__get_cpu_var_locked’
include/asm-generic/tlb.h:58: error: invalid lvalue in unary ‘&’
include/asm-generic/tlb.h: In function ‘tlb_finish_mmu’:
include/asm-generic/tlb.h:96: error: ‘mmu_gathers’ undeclared (first use
in this function)
include/asm-generic/tlb.h:96: error: invalid lvalue in unary ‘&’
include/asm-generic/tlb.h:96: warning: type defaults to ‘int’ in
declaration of ‘type name’
include/asm-generic/tlb.h:96: error: invalid lvalue in unary ‘&’
include/asm-generic/tlb.h:96: error: invalid lvalue in unary ‘&’
include/asm-generic/tlb.h:96: warning: type defaults to ‘int’ in
declaration of ‘type name’
include/asm-generic/tlb.h:96: error: invalid lvalue in unary ‘&’
arch/i386/mm/init.c: At top level:
arch/i386/mm/init.c:50: error: expected declaration specifiers or ‘...’
before ‘mmu_gathers’
arch/i386/mm/init.c:50: warning: data definition has no type or storage
class
arch/i386/mm/init.c:50: warning: type defaults to ‘int’ in declaration
of ‘DEFINE_PER_CPU_LOCKED’


-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux