2005-01-29 22:35:21

by Zoltan NAGY

[permalink] [raw]
Subject: 2.6.11-rc2-{mm2,bk7} does not compile with UML

Hello!

Here is the error:

nagyz@vertigo:~/uml/linux$ ARCH=um make vmlinux
...
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -ffreestanding -O2 -fno-omit-frame-pointer -g -U__i386__
-Ui386 -D__arch_um__ -DSUBARCH=\"i386\" -Iarch/um/include
-I/home/nagyz/uml/linux/arch/um/kernel/skas/include -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE -c -o arch/um/kernel/process.o
arch/um/kernel/process.c
arch/um/kernel/process.c: In function `check_ptrace':
arch/um/kernel/process.c:321: error: `PTRACE_SETOPTIONS' undeclared
(first use in this function)
arch/um/kernel/process.c:321: error: (Each undeclared identifier is
reported only once
arch/um/kernel/process.c:321: error: for each function it appears in.)
arch/um/kernel/process.c:321: error: `PTRACE_O_TRACESYSGOOD' undeclared
(first use in this function)
make[1]: *** [arch/um/kernel/process.o] Error 1
make: *** [arch/um/kernel] Error 2
nagyz@vertigo:~/uml/linux$

any ideas?

Regards,

--
Zoltan NAGY,
Software Engineer