From: Oliver Seufer (OS_at_SerNet.DE)
Date: Fri Nov 30 2001 - 05:37:23 EST
Hello,
I try to compile the V-Serverpatch on my sparc. The following error occurs:
ld -m elf64_sparc -T arch/sparc64/vmlinux.lds arch/sparc64/kernel/head.o arch/sp
--start-group \
arch/sparc64/kernel/kernel.o arch/sparc64/mm/mm.o kernel/kernel.o mm/mm.
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/n
net/network.o \
/usr/src/linux-2.4.16/lib/lib.a /usr/src/linux-2.4.16/lib/lib.a /usr/src
--end-group \
-o vmlinux
kernel/kernel.o: In function `sys_alloc_s_info':
kernel/kernel.o(.text+0xfec4): undefined reference to `vmalloc'
make: *** [vmlinux] Error 1
The following patch resolves the problem:
*** linux-2.4.16/kernel/sys.c Fri Nov 30 09:49:27 2001
--- linux-2.4.16-ctx-4/kernel/sys.c Fri Nov 30 09:50:04 2001
***************
*** 7,10 ****
--- 7,11 ----
#include <linux/module.h>
#include <linux/mm.h>
+ #include <linux/vmalloc.h>
#include <linux/utsname.h>
#include <linux/mman.h>
O. Seufer
-- _ | Oliver Seufer | Tel.: ++49-551-370000-0 |_ |\ | | Service Network GmbH | FAX: ++49-551-370000-9 ._|ER | \|ET | Bahnhofsallee 1b | mailto:OS_at_SerNet.DE Service Network | D-37081 Goettingen | http://www.SerNet.DE/
This archive was generated by hypermail 2.1.4 : Mon Aug 19 2002 - 12:01:00 EDT