2.4.20 compilation failure
Hi all...
I downloaded 2.4.20 from kernel.org and tried compiling it (my install
defaulted to 2.2.20). I had a problem initially with some variables not
getting set but found that was a result of my having done "make xconfig"
which is ackowledged broken on the aurora-devel list archives on the
web. "make menuconfig" fixed that.
However, I now have another problem and I can't find any reference to
this after much googling;
mm/mm.o: In function `kmap_high':
mm/mm.o(.text+0x11b18): undefined reference to `pkmap_base'
mm/mm.o(.text+0x11b7c): undefined reference to `pkmap_base'
mm/mm.o(.text+0x11bd4): undefined reference to `pkmap_base'
mm/mm.o(.text+0x11c10): undefined reference to `pkmap_base'
mm/mm.o: In function `kunmap_high':
mm/mm.o(.text+0x11c6c): undefined reference to `pkmap_base'
mm/mm.o(.text+0x11c8c): more undefined references to `pkmap_base' follow
make: *** [vmlinux] Error 1
Bones:/usr/src/linux#
Further;
Bones:/usr/src/linux# grep -r 'pkmap_base' *
Binary file arch/sparc/boot/vmlinux.o matches
arch/sparc/mm/srmmu.c:unsigned long pkmap_base;
arch/sparc/mm/srmmu.c:unsigned long pkmap_base_end;
arch/sparc/mm/srmmu.c: pkmap_base = SRMMU_NOCACHE_VADDR +
srmmu_nocache_size + 0x40000;
arch/sparc/mm/srmmu.c: pkmap_base_end = pkmap_base + LAST_PKMAP *
PAGE_SIZE;
arch/sparc/mm/srmmu.c: srmmu_allocate_ptable_skeleton(pkmap_base,
pkmap_base_end);
arch/sparc/mm/srmmu.c: pgd = pgd_offset_k(pkmap_base);
arch/sparc/mm/srmmu.c: pmd = pmd_offset(pgd, pkmap_base);
arch/sparc/mm/srmmu.c: pte = pte_offset(pmd, pkmap_base);
include/asm-sparc/highmem.h:extern unsigned long pkmap_base;
include/asm-sparc/highmem.h:#define PKMAP_NR(virt) ((virt -
pkmap_base) >> PAGE_SHIFT)
include/asm-sparc/highmem.h:#define PKMAP_ADDR(nr)
(pkmap_base + ((nr) << PAGE_SHIFT))
include/asm/highmem.h:extern unsigned long pkmap_base;
include/asm/highmem.h:#define PKMAP_NR(virt) ((virt -
pkmap_base) >> PAGE_SHIFT)
include/asm/highmem.h:#define PKMAP_ADDR(nr) (pkmap_base +
((nr) << PAGE_SHIFT))
Binary file mm/highmem.o matches
Binary file mm/mm.o matches
Of which "arch/sparc/mm/srmmu.c:unsigned long pkmap_base;" seems to be
the relevant line, though I'm no expert in these matters.
This is an SS5...anyone know anything about this? Cheers.../Taras
Reply to: