Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

how to make linux-header and kbuild package on debian ?

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
lihui2090
Posts: 9
Joined: 2015-08-27 02:14

how to make linux-header and kbuild package on debian ?

#1 Post by lihui2090 »

I have a intel board,and compile the kernel 2.6.39 .
Now i need compile a kernel modules ,it need the linux-headers and kbuild .
How can i make the packges like the linux-headers-2.6.39-1-686-pae_2.6.39-1_i386.deb ,linux-headers-2.6.39-1-common_2.6.39-1_i386.deb,linux-kbuild-2.6.39_2.6.39-1_i386.deb?
My needs are linux-headers-2.6.39-686-pae_2.6.39_i386.deb ,linux-headers-2.6.39-common_2.6.39_i386.deb,linux-kbuild-2.6.39_2.6.39_i386.deb
Last edited by lihui2090 on 2015-09-07 07:20, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: i have a quesiton how to make linux-header and kbuild?

#2 Post by Head_on_a_Stick »

Which version of Debian are you using?

That kernel is ancient.

You could try:

Code: Select all

# apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-kbuild
deadbang

lihui2090
Posts: 9
Joined: 2015-08-27 02:14

Re: how to make linux-header and kbuild package on debian ?

#3 Post by lihui2090 »

I have use the cmd you give .
The return is 2.6.39
In the debian have no the version .
ths very much.

Code: Select all

root@ubuntu:/usr/src# apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-kbuild
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package linux-headers-2.6.39
E: Couldn't find any package by regex 'linux-headers-2.6.39'
E: Unable to locate package linux-kbuild

root@ubuntu:/boot# uname -r|sed 's,[^-]*-[^-]*-,,'
2.6.39

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: how to make linux-header and kbuild package on debian ?

#4 Post by Head_on_a_Stick »

Please post the output of:

Code: Select all

lsb_release -a
cat /etc/debian_version
uname -a
deadbang

Post Reply