Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: julcar on May 13, 2018, 03:06:26 PM
-
TinyCore 9.0 running on virtual machine
Trying to compile some drivers from sources, so installed linux-kernel-sources-env.tcz and all of his dependences.
Running /usr/local/bin/linux-kernel-sources-env.sh
Alright until the section "preparing kernel src...."
extracting kernel src... tar: short read
Step 1 "make mproper"... make: *** No rule to make target 'mrproper'. Stop.
Step 2 "make oldconfig" make: *** No rule to make target 'oldconfig'. Stop.
Step 3 "make prepare" make: *** No rule to make target 'prepare'. Stop.
Step 4 "make modules_prepare" make: *** No rule to make target 'modules_prepare'. Stop.
Module.symvers-4.14.10-tinycore copied
make: *** No targets specified and no makefile found. Stop.
After running the script, I am unable to compile anything because the error make: *** No rule to make target 'xxx'. Stop. appears everytime.
-
Hello julcar
iirc the “short read” error indicates an issue with the Linux kernel source file. Possibly corrupted due out of memory, bad download, changed tar version, etc etc.
I will check if there’s been any recent changes. Meanwhile I recommend downloading the kernel source file manually and store locally for this and future needs. The script will find and use locally stored source files first.
Sent from my iPad using Tapatalk
-
Hello julcar
Sorry I can't duplicate on tc9.x x86 the expanded source files alone will need almost 1 GB of free space if that helps
-
Yes, you're right, the VM seemed to have less resources than needed, on my laptop which have 4gb ram, the script runs w/o problems, thanks for your help.