LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-28-2014, 05:48 PM   #1
jayhel
Member
 
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161

Rep: Reputation: 15
Where are the Kernel Headers?


Hi!

I recompiled linux 3.10.17 on my laptop and installed it:

image: vmlinuz-custom-3.10.17

It is working fine.

Now I am trying to install vmware-workstion 7.
The installer doesn't find the kernel headers, so I get a message:

"Kernel headers for version 3.10.17-smp were not found."

An input box allow to navigate the system tree. I tried everything I could imagine, to no avail. Always the same message.

So the question is: where are the Kernel Headers?

Thank you for your answer in advance

JL
 
Old 04-28-2014, 05:50 PM   #2
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,071

Rep: Reputation: Disabled
Make sure the kernel-headers package is installed.
 
Old 04-28-2014, 06:06 PM   #3
jayhel
Member
 
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161

Original Poster
Rep: Reputation: 15
Ok. I tried to find it under extra.
I didn't. in 14.1
 
Old 04-28-2014, 06:12 PM   #4
genss
Member
 
Registered: Nov 2013
Posts: 186

Rep: Reputation: Disabled
it's in d
 
Old 04-28-2014, 06:22 PM   #5
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,159

Rep: Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013
Recommended reading: Building a Linux Kernel from source from Eric Hameleers.
 
Old 04-28-2014, 06:22 PM   #6
jayhel
Member
 
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161

Original Poster
Rep: Reputation: 15
Ok. I found them.

BTW what a nice place to hide them!

Thanks,

JL
 
Old 04-28-2014, 06:31 PM   #7
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,159

Rep: Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013
Quote:
Originally Posted by jayhel View Post
BTW what a nice place to hide them!
Not really hidden. The d series contains stuff needed to compile programs and that's exactly the purpose of kernel headers, so they are in the right place.

Last edited by Didier Spaier; 04-29-2014 at 04:00 AM. Reason: Wording changed.
 
Old 04-28-2014, 08:18 PM   #8
jayhel
Member
 
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161

Original Poster
Rep: Reputation: 15
Ah yeah! Got it!
d for development, of course
 
Old 04-28-2014, 09:08 PM   #9
jayhel
Member
 
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161

Original Poster
Rep: Reputation: 15
Now that I got them, Vmware's installer doesn't accept them!
I got the message:

"Kernel headers for version 3.10.17-smp were not found."

so I tried by renaming the folder /usr/include/linux to .../3.10.17-smp, and .../linux 3.10.17, and... nix!

Quote:
Originally Posted by Didier Spaier View Post
Recommended reading: Building a Linux Kernel from source from Eric Hameleers.
I've been reading this excellent link page once in a while for the last 10 years now. I have to admit that although it is crystal clear for recompiling, however the section "Slackware kernel-headers package" is a bit blurry in my mind and does not help me much.

Slackware installed on my laptop with the "vmlinuz-huge-smp-3.10.17-smp" image from Pat.

I made some attempts to simplify it and compile some sections of it instead of loading modules: not a good idea.

So I recompiled it as it originally was on my machine with the zcat /proc/config.gz > /usr/src/linux/.config file.

I called the recompiled image "vmlinuz-custom-3.10.17" and the System.map file "System.map-custom-3.10.17".

The only change I made is the boot up logo: I changed the 4 yellow pingins to 4 Slackware blue "S".

So the questions now is:

What should I do to have the Kernel-headers to be recognized by an installer (like Vmware's) that need them?

JL
 
Old 04-28-2014, 09:38 PM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,546

Rep: Reputation: 419Reputation: 419Reputation: 419Reputation: 419Reputation: 419
My suggestion would be to use the latest VMWare Workstation
It works for me out of the box for Slackware 14.1
 
Old 04-28-2014, 10:05 PM   #11
jayhel
Member
 
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161

Original Poster
Rep: Reputation: 15
Hi!

I tried to install:

.../Downloads/VMware-Workstation-Full-10.0.2-1744117.i386.bundle

under Slackware 14.1 stock.

It started with a nice gtk interface to install and ended up with "Installation failed".

Is this the latest vmware-workstation you are referring to?

Rgs,

JL
 
Old 04-28-2014, 10:46 PM   #12
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, FreeBSD 10.0, CRUX 3.1
Posts: 3,005
Blog Entries: 15

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
Be aware that the Kernel Headers are NOT technically part of the actual Linux Kernel. They are actually more a part of glibc, and actually are known as the glibc-linux-kernel-headers. These headers are NEVER updated even if you replace the kernel. They are ONLY ever updated if you rebuild glibc.
 
Old 04-29-2014, 12:12 AM   #13
genss
Member
 
Registered: Nov 2013
Posts: 186

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
Be aware that the Kernel Headers are NOT technically part of the actual Linux Kernel. They are actually more a part of glibc, and actually are known as the glibc-linux-kernel-headers. These headers are NEVER updated even if you replace the kernel. They are ONLY ever updated if you rebuild glibc.
they are part of the kernel
check out include/linux/ and such in the kernel source

glibc does repackage them thou
https://sourceware.org/ml/libc-help/.../msg00026.html
 
Old 04-29-2014, 12:44 AM   #14
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,546

Rep: Reputation: 419Reputation: 419Reputation: 419Reputation: 419Reputation: 419
Quote:
Originally Posted by jayhel View Post
Hi!

I tried to install:

.../Downloads/VMware-Workstation-Full-10.0.2-1744117.i386.bundle

under Slackware 14.1 stock.

It started with a nice gtk interface to install and ended up with "Installation failed".

Is this the latest vmware-workstation you are referring to?

Rgs,

JL
Yes, use ./VMware-Workstation-Full-10.0.2-1744117.i386.bundle --ignore-errors to install it
 
1 members found this post helpful.
Old 04-29-2014, 05:07 AM   #15
enorbet
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 14 is Main OpSys on Main PC, 2ndary are OpenSuSe 13 and SolydK
Posts: 682

Rep: Reputation: 279Reputation: 279Reputation: 279
I'm sure someone will correct me if I'm mistaken but it seems to me the kernel-headers package is a workaround so that a precompiled kernel like huge.s or hugesmp.s can be shipped fully functional. If you build or rebuild a kernel from source and go through each step including "make modules&&make modules_install" it is fully qualified and no headers package is required. The error message seems improperly worded and the fault of that version of VMWare, not a problem in kernel compiling.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[kernel-headers-3.2.45-x86-3] OR [kernel-headers-3.2.45_smp-x86-3]? Sefid par Slackware 3 07-24-2013 09:59 AM
[SOLVED] After upgrading to kernel 3.8 module-assistant can't find kernel headers (Debian Sid) odiseo77 Debian 9 05-16-2013 07:59 PM
Trying to install ethernet adapter driver, not finding kernel-devel or kernel-headers oneFishtwoFish Red Hat 5 08-31-2010 06:24 PM
Zypper wants to dl the wrong kernel headers... YaST doesnt have current headers zorb Suse/Novell 2 11-28-2009 11:12 AM
Automatic removal of kernel headers package when kernel packages are removed bgoodr Debian 3 12-30-2008 08:14 PM


All times are GMT -5. The time now is 03:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration