* UM Linux 2.6.0-test5 (-mm2) fails to build
@ 2003-09-16 1:49 Peter Lieverdink
2003-09-16 5:54 ` Bryan O'Sullivan
0 siblings, 1 reply; 2+ messages in thread
From: Peter Lieverdink @ 2003-09-16 1:49 UTC (permalink / raw)
To: jdike; +Cc: linux-kernel
Hi Jeff,
I'm having a play with UML (on Debian testing, gcc 2.95.4, x86 box) and the
um kernel fails to build. Same on Debian unstable with gcc-3.3. Looks like
either a missing include or changed struct. (or both) My experience extends
about as far as trying to include <asm/cache.h> (which defines
CONFIG_X86_L1_CACHE_SHIFT) in "include/linux/sched.h" but that didn't work,
oh well :-)
Hopefully a more or less useful bugreport.
- Peter.
--
make -f scripts/Makefile.build obj=arch/um/util
gcc -o arch/um/util/mk_task_user.o -c arch/um/util/mk_task_user.c
CC arch/um/util/mk_task_kern.o
In file included from include/asm/thread_info.h:13,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/um/util/mk_task_kern.c:1:
include/asm/processor.h:66: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here
(not in a function)
include/asm/processor.h:66: requested alignment is not a constant
In file included from include/linux/gfp.h:4,
from include/linux/slab.h:15,
from include/linux/percpu.h:4,
from include/linux/sched.h:31,
from arch/um/util/mk_task_kern.c:1:
include/linux/mmzone.h:60: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not
in a function)
include/linux/mmzone.h:60: requested alignment is not a constant
arch/um/util/mk_task_kern.c: In function `main':
arch/um/util/mk_task_kern.c:13: structure has no member named `regs'
make[1]: *** [arch/um/util/mk_task_kern.o] Error 1
make: *** [arch/um/util] Error 2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: UM Linux 2.6.0-test5 (-mm2) fails to build
2003-09-16 1:49 UM Linux 2.6.0-test5 (-mm2) fails to build Peter Lieverdink
@ 2003-09-16 5:54 ` Bryan O'Sullivan
0 siblings, 0 replies; 2+ messages in thread
From: Bryan O'Sullivan @ 2003-09-16 5:54 UTC (permalink / raw)
To: Peter Lieverdink; +Cc: jdike, linux-kernel
On Mon, 2003-09-15 at 18:49, Peter Lieverdink wrote:
> Hopefully a more or less useful bugreport.
You're not doing the build correctly. Read the docs. All your
invocations of make must have ARCH=um somewhere.
<b
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-16 5:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-16 1:49 UM Linux 2.6.0-test5 (-mm2) fails to build Peter Lieverdink
2003-09-16 5:54 ` Bryan O'Sullivan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®