Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: freyone on March 07, 2017, 08:35:49 PM

Title: compile error,cannot find build of kernel source
Post by: freyone 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 .
Title: Re: compile error,cannot find build of kernel source
Post by: Misalf 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 .
Title: Re: compile error,cannot find build of kernel source
Post by: freyone on March 08, 2017, 01:24:49 AM
thanks.it is ok.need to run linux-kernel-sources-env.sh.
Title: Re: compile error,cannot find build of kernel source
Post by: coreplayer2 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.