WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline freyone

  • WikiUser
  • *
  • Posts: 23
compile error,cannot find build of kernel source
« on: March 07, 2017, 05: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: 1344
Re: compile error,cannot find build of kernel source
« Reply #1 on: March 07, 2017, 05: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

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

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 2297
Re: compile error,cannot find build of kernel source
« Reply #3 on: March 07, 2017, 10:37:33 PM »
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 07, 2017, 10:43:06 PM by coreplayer2 »