WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: compile error,cannot find build of kernel source  (Read 2378 times)

Offline freyone

  • Newbie
  • *
  • Posts: 24
compile error,cannot find build of kernel source
« on: March 07, 2017, 08:35:49 PM »

make[6]: *** /lib/modules/4.2.9-tinycore/build: No such file or directory.  Stop.

i have install the kernel src by apps tool.

root@box:/mnt/sda1/smb/lingzhp/vpls# ls /lib/modules/4.2.9-tinycore/                                                       
kernel/          kernel.tclocal   modules.alias    modules.dep      modules.symbols
root@box:/mnt/sda1/smb/lingzhp/vpls# ls /lib/modules/4.2.9-tinycore/kernel                                                 
arch/     crypto/   drivers/  fs/       lib/      net/      security/

i see on other linux ,
-bash-4.1$ ls /lib/modules/2.6.32-71.el6.i686
build   modules.alias      modules.dep          modules.inputmap     modules.ofmap     modules.symbols      updates
.....

who can tell me i how to install the src .

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: compile error,cannot find build of kernel source
« Reply #1 on: March 07, 2017, 08:39:10 PM »
Have you tried the  linux-kernel-sources-env.tcz  extension?
After installing, run  linux-kernel-sources-env.sh .
Download a copy and keep it handy: Core book ;)

Offline freyone

  • Newbie
  • *
  • Posts: 24
Re: compile error,cannot find build of kernel source
« Reply #2 on: March 08, 2017, 01:24:49 AM »
thanks.it is ok.need to run linux-kernel-sources-env.sh.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: compile error,cannot find build of kernel source
« Reply #3 on: March 08, 2017, 01:37:33 AM »
thanks.it is ok.need to run linux-kernel-sources-env.sh.
Is this a question?

Did you install
"linux-kernel-sources-env.tcz" and
"compiletc.tcz" extensions ?? 

These are the only two extensions you'll need.
« Last Edit: March 08, 2017, 01:43:06 AM by coreplayer2 »