You are not logged in.

#1 2009-08-28 15:39:06

Coacher
Guest

Simple kernel-headers question.

Hi all!

I am going to install my own kernel, but due to stability issues also going to save the default one.
If I modify INSTALL_HDR_PATH according to my choice, will it be the correct headers directory for my new kernel or programs will still check old /usr/include?

#2 2009-08-28 15:42:22

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Simple kernel-headers question.

why do you want to mess with kernel-headers ?

you don't have to for building/using your own custom kernel


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#3 2009-08-28 15:49:10

Coacher
Guest

Re: Simple kernel-headers question.

Because of some soft may need it for compilation.
I want to tune it for my hardware.

P.S. sry for my english.

Last edited by Coacher (2009-08-28 15:51:44)

#4 2009-08-28 17:05:51

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Simple kernel-headers question.

which soft?
you want to tune headers for your hardware?
I don't know what you are smoking, but you might consider slowing down a bit.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#5 2009-08-28 17:19:09

Coacher
Guest

Re: Simple kernel-headers question.

1. I want to tune up only kernel.
2. So headers should have the version of kernel I have(2.6.30.4), not the default one(2.6.30). Defaults are placed at /usr/include, so I want to move my own to any other place(for example /usr/include/mykernel).
P.S. Its a holiday: Slackware 13.0 is out!! So smoking a bit is necessary to celebrate it^^

Last edited by Coacher (2009-08-28 17:19:39)

#6 2009-08-28 17:45:29

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Simple kernel-headers question.

Coacher wrote:

1. I want to tune up only kernel.
2. So headers should have the version of kernel I have(2.6.30.4), not the default one(2.6.30). Defaults are placed at /usr/include, so I want to move my own to any other place(for example /usr/include/mykernel).
P.S. Its a holiday: Slackware 13.0 is out!! So smoking a bit is necessary to celebrate it^^

1. imo it's not very useful, but why not.
2. this is completly wrong

btw the current kernel26 and kernel-headers packages are (coincidentally) both at 2.6.30.5


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#7 2009-08-28 18:21:58

Coacher
Guest

Re: Simple kernel-headers question.

shining wrote:

2. this is completly wrong

What exactly is wrong?

#8 2009-08-28 18:32:35

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Simple kernel-headers question.

kernel headers need to match what is used to build the glibc library, not the current kernel.  If they did you wouldn't be able to have more than one kernel installed at the same time (they'd need separate headers).


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#9 2009-08-28 18:56:28

Coacher
Guest

Re: Simple kernel-headers question.

Aha! Thanks for explanation loafer! So, it seems, that I needn't to do any changes with headers until I would build glibc?

#10 2009-08-28 19:49:12

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Simple kernel-headers question.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#11 2009-08-29 11:46:54

Coacher
Guest

Re: Simple kernel-headers question.

Thanks for that link, Mr.Elendig.

Board footer

Powered by FluxBB