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

Replies

Subject Author
Re: [gentoo-user] uninstalled linux-headers Tamer Higazi <th982a@××××××××××.com>
Re: [gentoo-user] uninstalled linux-headers Neil Bothwick <neil@××××××××××.uk>