Gentoo Archives: gentoo-user

From: Klaus Ethgen <Klaus+gentoo@××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Kernel compile error
Date: Wed, 25 Apr 2018 07:03:33
Message-Id: 20180425070320.GA11432@ikki.ethgen.ch
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 Hi,
5
6 I stumbled into the next problem.
7
8 I do have a decent kernel compile knowledge but that seems to be gentoo
9 specific.
10
11 I have a old i686 machine where I installed gentoo on. Now when I did
12 the kernel the first time, it worked well. everything fine exept some
13 minor stuff (see below).
14 --- /etc/kernels/kernel-config-x86-4.9.76-gentoo-r1 2018-04-25 07:48:25.735961235 +0100
15 +++ .config 2018-04-25 07:48:25.830960047 +0100
16 @@ -480,7 +480,6 @@
17 # CONFIG_PHYS_ADDR_T_64BIT is not set
18 CONFIG_BOUNCE=y
19 CONFIG_VIRT_TO_BUS=y
20 -CONFIG_MMU_NOTIFIER=y
21 # CONFIG_KSM is not set
22 CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
23 # CONFIG_TRANSPARENT_HUGEPAGE is not set
24 @@ -1528,7 +1527,7 @@
25 # CONFIG_DM_THIN_PROVISIONING is not set
26 # CONFIG_DM_CACHE is not set
27 # CONFIG_DM_ERA is not set
28 -# CONFIG_DM_MIRROR is not set
29 +CONFIG_DM_MIRROR=m
30 # CONFIG_DM_RAID is not set
31 # CONFIG_DM_ZERO is not set
32 # CONFIG_DM_MULTIPATH is not set
33 @@ -1805,8 +1804,8 @@
34 #
35 CONFIG_INPUT_MOUSEDEV=m
36 # CONFIG_INPUT_MOUSEDEV_PSAUX is not set
37 -CONFIG_INPUT_MOUSEDEV_SCREEN_X=1600
38 -CONFIG_INPUT_MOUSEDEV_SCREEN_Y=1200
39 +CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
40 +CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
41 # CONFIG_INPUT_JOYDEV is not set
42 CONFIG_INPUT_EVDEV=y
43 # CONFIG_INPUT_EVBUG is not set
44 @@ -2463,12 +2462,12 @@
45 # CONFIG_AGP_ALI is not set
46 # CONFIG_AGP_ATI is not set
47 # CONFIG_AGP_AMD is not set
48 -# CONFIG_AGP_AMD64 is not set
49 +CONFIG_AGP_AMD64=y
50 CONFIG_AGP_INTEL=y
51 # CONFIG_AGP_NVIDIA is not set
52 -# CONFIG_AGP_SIS is not set
53 +CONFIG_AGP_SIS=y
54 # CONFIG_AGP_SWORKS is not set
55 -# CONFIG_AGP_VIA is not set
56 +CONFIG_AGP_VIA=y
57 # CONFIG_AGP_EFFICEON is not set
58 CONFIG_INTEL_GTT=y
59 CONFIG_VGA_ARB=y
60 @@ -2489,7 +2488,7 @@
61 # CONFIG_DRM_I2C_SIL164 is not set
62 # CONFIG_DRM_I2C_NXP_TDA998X is not set
63 CONFIG_DRM_RADEON=m
64 -CONFIG_DRM_RADEON_USERPTR=y
65 +# CONFIG_DRM_RADEON_USERPTR is not set
66 # CONFIG_DRM_AMDGPU is not set
67
68 #
69
70 But now, when I try to compile the kernel, I get the following error:
71 ...
72 make[2]: *** [scripts/kconfig/Makefile:39: silentoldconfig] Fehler 1
73 make[1]: *** [Makefile:541: silentoldconfig] Fehler 2
74 SYSTBL arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h
75 make: *** Keine Regel vorhanden, um das Ziel »include/config/auto.conf«,
76 benötigt von »include/config/kernel.release«, zu erstellen. Schluss.
77 make: *** Es wird auf noch nicht beendete Prozesse gewartet....
78 SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_32.h
79 SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_64.h
80 SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_x32.h
81 * Gentoo Linux Genkernel; Version 3.4.52.4
82 * Running with options: --btrfs --lvm --menuconfig --kernel-cc=/usr/lib/ccache/bin/gcc all
83 * Using genkernel.conf from /etc/genkernel.conf
84 * Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86/config.sh ..
85 * Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86/modules_load ..
86
87 * ERROR: Failed to compile the "prepare" target...
88 *
89 * -- Grepping log... --
90 *
91 *
92 * -- End log... --
93 *
94 * Please consult /var/log/genkernel.log for more information and any
95 * errors that were reported above.
96 *
97 * Report any genkernel bugs to bugs.gentoo.org and
98 * assign your bug to genkernel@g.o. Please include
99 * as much information as you can in your bug report; attaching
100 * /var/log/genkernel.log so that your issue can be dealt with effectively.
101 *
102 * Please do *not* report compilation failures as genkernel bugs!
103
104 I even try to compile with exactly the same config that compiled some
105 days before but got the same error.
106
107 The installed kernel sources and genkernel are:
108 [IP-] [ ] sys-kernel/genkernel-3.4.52.4-r2:0
109 [IP-] [ ] sys-kernel/gentoo-sources-4.9.76-r1:4.9.76-r1
110
111 As the error is completely without a meaning for me, maybe others have
112 an Idea.
113
114 Regards
115 Klaus
116 - --
117 Klaus Ethgen http://www.ethgen.ch/
118 pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@××××××.ch>
119 Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
120 -----BEGIN PGP SIGNATURE-----
121 Comment: Charset: ISO-8859-1
122
123 iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlrgKDIACgkQpnwKsYAZ
124 9qyYvQwAtK+EA0Kv8Vt5443fml9mh0te6k/WUMlAps0u0Ds58NU+IBYebcLCasmM
125 SG/SDjt/WSJCeb9LQ0w8W9xpi5NAn2HpUiKdpZHeyqiJ5EqHxE6qAMHbsdgSsybY
126 SskRr8KX3gIErJR6KVLhYxpb1oOZVwaAVCp970c7TpEFiIezNTROX31/olsImDPj
127 6n5EtAYwogdq32AC7Q5BWuiElWtnmNw5JOal3LlDL0Z0uITm9R+WFzcAsegwYpgF
128 hgjndQsNFen4CSDXy+t6nxEuByPWEA3Jcz20tHwah3pO5X+kt7Ev3P5Y53vQIq8p
129 MqFfrwro1/I1fenAqnaYyaedAumgJYSIjgbcCTRgWUY27DX6Ogft1HKjOh3/Jf54
130 a/7BqpRo9CqI62/WYdVTChCZitESIagfZvkrrT+x9D8l2Xfz0FbIpeOeA5SxHoim
131 GmLfBaRXYHTcznbl+tn07xylFhYCzPIcmtA4Q3cKDx7cUGcJlVlTGnYCp7ZpjQvD
132 4nB6ebuf
133 =igJv
134 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-user] Kernel compile error "Christoph Böhmwalder" <christoph@×××××××××××.at>
Re: [gentoo-user] Kernel compile error Alexander Kapshuk <alexander.kapshuk@×××××.com>
Re: [gentoo-user] Strange compile errors Klaus Ethgen <Klaus+gentoo@××××××.de>