Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: makoto on June 21, 2013, 06:26:45 AM

Title: linux-headers-3.0.21-tinycore64
Post by: makoto on June 21, 2013, 06:26:45 AM
I noticed that linux-headers-3.0.21-tinycore is in the repo but linux-headers-3.0.21-tinycore64 isn't. When I try to install fglrx it gives out unmatched kernel version. What should I do?
Title: Re: linux-headers-3.0.21-tinycore64
Post by: Juanito on June 21, 2013, 07:00:19 AM
If you mean that you'd like to compile a 64bit module for fglrx, then you can use the kernel source and config-3.0.21-tinycore64/Module.symvers-3.0.21-tinycore64 from here:

http://www.tinycorelinux.net/4.x/x86/release/src/kernel/
Title: Re: linux-headers-3.0.21-tinycore64
Post by: makoto on June 21, 2013, 08:17:27 AM
Thanks. But could you give some steps? Do I need to download the kernel source code instead of kernel headers? And how to use the file Module.symvers-3.0.21-tinycore64?
Title: Re: linux-headers-3.0.21-tinycore64
Post by: Juanito on June 21, 2013, 11:06:30 PM
The kernel headers extension functions as a kind of short cut to avoid downloading and preparing the full kernel source in order to compile a kernel module.

Without the 64bit kernel headers you will need the full kernel source and to prepare with with the 64bit config and Module.symvers:

Code: [Select]
$ make mrproper
$ cp config-KERNEL .config
$ make oldconfig
$ make prepare
$ make modules_prepare
$ cp Module.symvers-KERNEL Module.symvers
$ make SUBDIRS=scripts/mod
Title: Re: linux-headers-3.0.21-tinycore64
Post by: makoto on June 21, 2013, 11:12:57 PM
Thank you. I'll try.