Messages in this thread | | | Date | Tue, 30 Mar 1999 11:53:19 +0200 | From | Bert de Bruijn <> | Subject | Re: linux-2.2.3-ac4 on SPARC doesn't link |
| |
In article <199903231230.IAA04704@pincoya.inf.utfsm.cl> you wrote: : Last lines of "make vmlinux" are:
: [root@pincoya linux]# tail Log-2.2.3-ac4 : arch/sparc/kernel/kernel.o arch/sparc/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/sparc/math-emu/math-emu.o arch/sparc/boot/btfix.o \ : fs/filesystems.a \ : net/network.a \ : drivers/block/block.a drivers/char/char.a drivers/misc/misc.a drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a drivers/sbus/sbus.a drivers/video/video.a \ : /usr/src/linux-2.2.3-ac/lib/lib.a /usr/src/linux-2.2.3-ac/lib/lib.a /usr/src/linux-2.2.3-ac/arch/sparc/prom/promlib.a /usr/src/linux-2.2.3-ac/arch/sparc/lib/lib.a \ : --end-group \ : -o vmlinux : fs/filesystems.a(proc.o): In function `mem_read': : proc.o(.text+0x1ed8): undefined reference to `pte_read' : make: *** [vmlinux] Error 1
: Sure enough, fs/proc/mem.c uses pte_read(), which seems to be #defined in : each include/asm-<target>/pgtable.h, but not for SPARC.
This is still not fixed in 2.2.5ac1.
The kernels in the ultrapenguin distro seem to avoid this by using a different fs/proc/mem.c, where pte_read is not called.
-- /* Bert de Bruijn E-mail: bob@ulyssis.student.kuleuven.ac.be */ /* http://www.ulyssis.student.kuleuven.ac.be/students/Bert.de.Bruijn/ */
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |