hi,
I have this error message building gspcav1-20071224 (from AUR)
in archlinux-powerpc (kernel-2.6.26)
can you suggest me ? ... in kernel 2.6.25 it building OK
...
...
make -C /lib/modules/`uname -r`/build
SUBDIRS=/home/sacarde/pkg/gspcav1all/src/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.26-ARCH'
CC [M] /home/sacarde/pkg/gspcav1all/src/gspcav1-20071224/gspca_core.o
In file included from include/asm/pgtable-ppc32.h:4,
from include/asm/pgtable.h:15,
from include/linux/mm.h:39,
from /home/sacarde/pkg/gspcav1all/src/gspcav1-20071224/gspca_core.c:46:
include/asm-generic/pgtable-nopmd.h:15: error: conflicting types for 'pmd_t'
include/asm/page.h:76: error: previous declaration of 'pmd_t' was here
In file included from include/asm/pgtable-ppc32.h:4,
from include/asm/pgtable.h:15,
from include/linux/mm.h:39,
from /home/sacarde/pkg/gspcav1all/src/gspcav1-20071224/gspca_core.c:46:
include/asm-generic/pgtable-nopmd.h:46:1: warning: "pmd_val" redefined
In file included from include/asm/thread_info.h:26,
from include/linux/thread_info.h:47,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/stat.h:60,
from include/linux/module.h:10,
from /home/sacarde/pkg/gspcav1all/src/gspcav1-20071224/gspca_core.c:39:
include/asm/page.h:81:1: warning: this is the location of the previous
definition
In file included from include/asm/pgtable-ppc32.h:4,
from include/asm/pgtable.h:15,
from include/linux/mm.h:39,
from /home/sacarde/pkg/gspcav1all/src/gspcav1-20071224/gspca_core.c:46:
include/asm-generic/pgtable-nopmd.h:47:1: warning: "__pmd" redefined
In file included from include/asm/thread_info.h:26,
from include/linux/thread_info.h:47,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/stat.h:60,
from include/linux/module.h:10,
from /home/sacarde/pkg/gspcav1all/src/gspcav1-20071224/gspca_core.c:39:
include/asm/page.h:86:1: warning: this is the location of the previous
definition
In file included from include/linux/highmem.h:24,
from include/linux/pagemap.h:10,
from /home/sacarde/pkg/gspcav1all/src/gspcav1-20071224/gspca_core.c:51:
include/asm/highmem.h: In function 'kmap_atomic':
include/asm/highmem.h:87: error: 'CONFIG_HIGHMEM_START' undeclared (first use
in this function)
include/asm/highmem.h:87: error: (Each undeclared identifier is reported only
once
include/asm/highmem.h:87: error: for each function it appears in.)
include/asm/highmem.h: In function 'kunmap_atomic':
include/asm/highmem.h:103: error: 'CONFIG_HIGHMEM_START' undeclared (first use
in this function)
include/asm/highmem.h: In function 'kmap_atomic_to_page':
include/asm/highmem.h:124: error: 'CONFIG_HIGHMEM_START' undeclared (first use
in this function)
make[2]: *** [/home/sacarde/pkg/gspcav1all/src/gspcav1-20071224/gspca_core.o]
Error 1
make[1]: *** [_module_/home/sacarde/pkg/gspcav1all/src/gspcav1-20071224] Error
2
make[1]: Leaving directory `/usr/src/linux-2.6.26-ARCH'
make: *** [default] Error 2
thank you
sacarde(a)tiscali.it