LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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: 741

Rep: Reputation: Disabled
it's in d
 
Old 04-28-2014, 06:22 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
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
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
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: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
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
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
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: 741

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
 
1 members found this post helpful.
Old 04-29-2014, 12:44 AM   #14
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
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
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
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



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) Hungry ghost 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 / openSUSE 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration