Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user@g.o
From: Georgi Georgiev <chutz@...>
Subject: Re: Re: Vmware modules doesn't build for gentoo-2.6.9-gentoo-r3 kernel
Date: Tue, 07 Dec 2004 09:49:18 +0900
On Tue, 07 Dec 2004 01:48:51 +0100, Bastian Balthazar Bux wrote:

> Georgi Georgiev wrote:
>>>the ones installed by sys-kernel/linux26-headers are in
>>>/usr/include/linux. BTW can someone explain me why this package exist?
>>>It's not enaugh the linux ones, the only answer I can give myself is not
>>>to be constricted to recompile a bunch of programs every time u change
>>>kernel. It's the right answer ?
>>>    
>>>    
>>>
>>glibc compiles against the headers in /usr/include/linux. Programs that
>>link against glibc (read: all programs) need to include the headers that
>>glibc was built against in order to link properly. These headers need to
>>always correspond to the version that glibc was compiled against. Hence
>>the warnings that the linux-headers ebuild spits out at installation,
>>reminding you to recompile glibc next.
>>
>>
>>  
> mmmh I belive you but in this case why not keep gentoo-dev-sources and
> linux26-headers and avoid download of two kernel sources, or ask at the
> installer which kernel he/she want to run ?

Because programs may break against the latest headers. I had problems when
I first tried linux26-headers on my system, because iptables for example
failed to compile. Considering how often external kernel modules fail
because of changes to the kernel structures, it is understandable that the
version of the headers you use to compile your userland applications has
to be a tested one, and not necessarily related to the version of the
kernel you are running.

-- 
\    Georgi Georgiev   \  Never trust a child farther than you can     \
 /    chutz@...     / throw it.                                     /
\   +81(90)6266-1163   \                                               \



--
gentoo-user@g.o mailing list

References:
Re: Vmware modules doesn't build for gentoo-2.6.9-gentoo-r3 kernel
-- Martin Larsson
Re: Vmware modules doesn't build for gentoo-2.6.9-gentoo-r3 kernel
-- Bastian Balthazar Bux
Re: Vmware modules doesn't build for gentoo-2.6.9-gentoo-r3 kernel
-- Georgi Georgiev
Re: Re: Vmware modules doesn't build for gentoo-2.6.9-gentoo-r3 kernel
-- Bastian Balthazar Bux
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: Vmware modules doesn't build for gentoo-2.6.9-gentoo-r3 kernel
Next by thread:
Re: Re: Vmware modules doesn't build for gentoo-2.6.9-gentoo-r3 kernel
Previous by date:
Re: init.d/net* scripts fail with baselayout-1.11.7-r2
Next by date:
Re: init.d/net* scripts fail with baselayout-1.11.7-r2


Updated May 04, 2012

Summary: Archive of the gentoo-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.