WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Kernel Headers? - 3.16.6-tinycore  (Read 5403 times)

Offline tembenite

  • Newbie
  • *
  • Posts: 2
Kernel Headers? - 3.16.6-tinycore
« on: May 25, 2015, 07:23:11 PM »
Hello,
    I'm trying to create Kernel Headers in order to install Vmware-Tools. I see there are a number of guides on here on the Vmware Tools portion, and I'm relatively confident I can figure that out.

What I'm having a difficult time is getting the Linux Kernel Headers. There does not appear to be any headers in the tce repository for the current 3.16.6.

As a result I figured I'd just download the kernel source and attempt to create my own headers.

I downloaded and executed the package:
linux-kernel-sources-env

This gave me the Linux Source at:
/usr/src/linux-3.16.6

From my Googling online, I *think* to create the Linux Kernel Headers I then need to execute:
make headers_install
From within the:
/usr/src/linux-3.16.6

(But I'm not positive, 'cuz I'm pretty new to this)

However, when I do that, this is erroring out:

Code: [Select]
[tt]tc@box:/usr/src/linux-3.16.6$ make headers_install
  CHK     include/generated/uapi/linux/version.h
  HOSTCC  arch/x86/tools/relocs_32.o
In file included from arch/x86/tools/relocs_32.c:1:0:
arch/x86/tools/relocs.h:17:32: fatal error: tools/le_byteshift.h: No such file or directory
 #include <tools/le_byteshift.h>
                                ^
compilation terminated.
scripts/Makefile.host:134: recipe for target 'arch/x86/tools/relocs_32.o' failed
make[1]: *** [arch/x86/tools/relocs_32.o] Error 1
arch/x86/Makefile:181: recipe for target 'archscripts' failed
make: *** [archscripts] Error 2
[/tt]

Can anyone help point me in the right direction here?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: Kernel Headers? - 3.16.6-tinycore
« Reply #1 on: May 25, 2015, 11:07:07 PM »
You need the linux-3.16.2_api_headers extension (which is loaded by the compiletc meta-extension)