Gentoo Archives: gentoo-user

From: Marc Blumentritt <marc.blumentritt@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Problem with compiling kernel
Date: Tue, 12 May 2009 19:05:20
Message-Id: guch73$oeq$2@ger.gmane.org
In Reply to: [gentoo-user] Problem with compiling kernel by Marc Blumentritt
1 Marc Blumentritt schrieb:
2 > Hi,
3 >
4 > when I try to compile a kernel again (meaning after compiling it and
5 > building the modules), I get this error message:
6 >
7 > hive linux # make && make modules_install && make
8 > [...]
9 > INSTALL sound/core/snd-timer.ko
10 > INSTALL sound/core/snd.ko
11 > INSTALL sound/drivers/mpu401/snd-mpu401-uart.ko
12 > INSTALL sound/pci/ac97/snd-ac97-codec.ko
13 > INSTALL sound/pci/snd-via82xx-modem.ko
14 > INSTALL sound/pci/snd-via82xx.ko
15 > INSTALL sound/soc/snd-soc-core.ko
16 > INSTALL sound/soundcore.ko
17 > DEPMOD 2.6.29-gentoo-r3
18 > CHK include/linux/version.h
19 > CHK include/linux/utsrelease.h
20 > SYMLINK include/asm -> include/asm-x86
21 > CALL scripts/checksyscalls.sh
22 > CHK include/linux/compile.h
23 > /usr/src/linux-2.6.29-gentoo-r3/usr/Makefile:41: *** mixed implicit and
24 > normal rules. Stop.
25 > make: *** [usr] Error 2
26 >
27 > The same happens with stable gentoo-sources and stable vanilla sources.
28 >
29 > This thing worked a few weeks again (I first noticed the error
30 > yesterday, but this does not mean, that it was the first time the error
31 > there).
32 >
33 > Any ideas, what could be wrong or how to identify the problem?
34 >
35
36 I forgot to add the following information:
37 1.) I used fresh kernel sources (meaning fresh download and installation
38 via portage).
39
40 2.) When I try to remove the compiled file by running "make clean" I get
41 the following error:
42 hive linux # make clean
43 CLEAN arch/x86/boot/compressed
44 CLEAN arch/x86/boot
45 CLEAN /usr/src/linux-2.6.29-gentoo-r3
46 CLEAN arch/x86/kernel/acpi/realmode
47 CLEAN arch/x86/kernel/cpu
48 CLEAN arch/x86/kernel
49 CLEAN arch/x86/vdso
50 CLEAN drivers/char
51 CLEAN init
52 CLEAN kernel
53 CLEAN lib
54 /usr/src/linux-2.6.29-gentoo-r3/usr/Makefile:41: *** mixed implicit and
55 normal rules. Stop.
56 make: *** [_clean_usr] Error 2
57
58 Again, this happens with stable gentoo and vanilla sources, too.
59
60 Any ideas?
61 Marc