Gentoo Archives: gentoo-user

From: Bastian Balthazar Bux <BastianBalthazarBux@×××××××××.it>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Vmware modules doesn't build for gentoo-2.6.9-gentoo-r3 kernel
Date: Tue, 07 Dec 2004 00:19:23
Message-Id: 41B4FDF3.6040603@pnpitalia.it
In Reply to: [gentoo-user] Re: Vmware modules doesn't build for gentoo-2.6.9-gentoo-r3 kernel by Georgi Georgiev
1 Georgi Georgiev wrote:
2
3 >On Tue, 07 Dec 2004 00:02:49 +0100, Bastian Balthazar Bux wrote:
4 >
5 >
6 >
7 >>Martin Larsson wrote:
8 >>
9 >>
10 >>
11 >>>On Tue, 9 Nov 2004 11:58:14 -0600, Chris Cox <onebeer32@×××××××.com>
12 >>>wrote:
13 >>>
14 >>>
15 >>>
16 >>>
17 >>>>What is the location of the directory of C header files that match your
18 >>>>running
19 >>>>kernel? [/lib/modules/2.6.9-gentoo-r3/build/include]
20 >>>>
21 >>>>
22 >>>>
23 >>>>
24 >>>>
25 >>>Maybe your header files are in /usr/src/linux/include ?
26 >>>
27 >>>
28 >
29 >Or maybe you're using KERNEL_OUTPUT? In that case vmware modules
30 >compilation fails badly before it has started. You can get my patched
31 >ebuilds from my personal portage overlay at
32 >rsync://rsync.gg3.net/gentoo-portage-chutz/app-emulation/vmware-workstation/.
33 >These cut out large portions of vmware-config.pl that do nothing but ask
34 >silly questions (like "where are your headers", since it is gentoo policy
35 >that /usr/src/linux should point to your current kernel) and also patch
36 >the appropriate makefiles.
37 >
38 >
39 >
40 >>the ones installed by sys-kernel/linux26-headers are in
41 >>/usr/include/linux. BTW can someone explain me why this package exist?
42 >>It's not enaugh the linux ones, the only answer I can give myself is not
43 >>to be constricted to recompile a bunch of programs every time u change
44 >>kernel. It's the right answer ?
45 >>
46 >>
47 >
48 >glibc compiles against the headers in /usr/include/linux.
49 >Programs that link against glibc (read: all programs) need to include the
50 >headers that glibc was built against in order to link properly. These
51 >headers need to always correspond to the version that glibc was compiled
52 >against. Hence the warnings that the linux-headers ebuild spits out at
53 >installation, reminding you to recompile glibc next.
54 >
55 >
56 >
57 mmmh I belive you but in this case why not keep gentoo-dev-sources and
58 linux26-headers and avoid download of two kernel sources, or ask at the
59 installer which kernel he/she want to run ?
60
61
62 --
63 gentoo-user@g.o mailing list

Replies