Gentoo Archives: gentoo-user

From: Tamer Higazi <th982a@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] uninstalled linux-headers
Date: Thu, 16 May 2013 13:21:13
Message-Id: 5194DD36.6040000@googlemail.com
In Reply to: Re: [gentoo-user] uninstalled linux-headers by Tamer Higazi
1 Michael!
2 You didn't get my question.... Where does Gentoo install the
3 linux-headers, after compilining on the system?!
4
5
6 Tamer
7
8
9 Am 16.05.2013 15:16, schrieb Tamer Higazi:
10 > Hi Michael,
11 > Nope, I don't get them there.....
12 >
13 >
14 > 1st question) where are the headers installed at all?!
15 > 2nd) where are the headers already compiled to get?!
16 >
17 >
18 > Tamer
19 >
20 >
21 >>
22 >>>>> Install linux-headers-3.9 into
23 >> /var/tmp/portage/sys-kernel/linux-headers-3.9/image/ category sys-kernel
24 >> make -j5 headers_install
25 >> INSTALL_HDR_PATH=/var/tmp/portage/sys-kernel/linux-headers-3.9/image///usr/include/..
26 >> ARCH=x86 CROSS_COMPILE=x86_64-pc-linux-gnu-
27 >> CHK include/generated/uapi/linux/version.h
28 >> UPD include/generated/uapi/linux/version.h
29 >> WRAP arch/x86/include/generated/asm/clkdev.h
30 >> SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
31 >> SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h
32 >> SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
33 >> SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
34 >> HOSTCC arch/x86/tools/relocs
35 >> In file included from /usr/include/errno.h:35:0,
36 >> from arch/x86/tools/relocs.c:6:
37 >> /usr/include/bits/errno.h:24:26: fatal error: linux/errno.h: No such
38 >> file or directory
39 >> compilation terminated.
40 >> make[1]: *** [arch/x86/tools/relocs] Error 1
41 >> make: *** [archscripts] Error 2
42 >> make: *** Waiting for unfinished jobs....
43 >> emake failed
44 >> * ERROR: sys-kernel/linux-headers-3.9 failed (install phase):
45 >> * (no error message)
46 >> *
47 >> * Call stack:
48 >> * ebuild.sh, line 93: Called src_install
49 >> * environment, line 2830: Called kernel-2_src_install
50 >> * environment, line 2006: Called install_headers
51 >> * environment, line 1895: Called die
52 >> * The specific snippet of code:
53 >> * emake headers_install INSTALL_HDR_PATH="${D}"/${ddir}/..
54 >> ${xmakeopts} || die;
55 >> *
56 >> * If you need support, post the output of `emerge --info
57 >> '=sys-kernel/linux-headers-3.9'`,
58 >> * the complete build log and the output of `emerge -pqv
59 >> '=sys-kernel/linux-headers-3.9'`.
60 >> * The complete build log is located at
61 >> '/var/tmp/portage/sys-kernel/linux-headers-3.9/temp/build.log'.
62 >> * The ebuild environment file is located at
63 >> '/var/tmp/portage/sys-kernel/linux-headers-3.9/temp/environment'.
64 >> * Working directory:
65 >> '/var/tmp/portage/sys-kernel/linux-headers-3.9/work/gentoo-headers-base-3.9'
66 >> * S:
67 >> '/var/tmp/portage/sys-kernel/linux-headers-3.9/work/gentoo-headers-base-3.9'
68 >>
69 >>
70 >> Luckily, I qpkg'ed linux-headers before.
71 >>
72 >> Maybe you can try installing a binary package of linux-headers from
73 >> tinderbox? http://tinderbox.dev.gentoo.org/
74 >>
75 >>> zcat /proc/config.gz >/usr/src/linux/.config
76 >>>
77 >>>> I tried, but got at the linux-headers problems.....
78 >>>
79 >>> How is anybody supposed to answer that? You tried something but you don't
80 >>> say what and it gave a problem, which you also keep to yourself. If you
81 >>> want helpful answers, you have to ask helpful questions.
82 >>>
83 >>
84 >> true
85 >>
86 >
87 >

Replies

Subject Author
[gentoo-user] Re: uninstalled linux-headers Nikos Chantziaras <realnc@×××××.com>