WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: linux-headers-3.0.21-tinycore64  (Read 3362 times)

Offline makoto

  • Newbie
  • *
  • Posts: 26
linux-headers-3.0.21-tinycore64
« 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?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: linux-headers-3.0.21-tinycore64
« Reply #1 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/

Offline makoto

  • Newbie
  • *
  • Posts: 26
Re: linux-headers-3.0.21-tinycore64
« Reply #2 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?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: linux-headers-3.0.21-tinycore64
« Reply #3 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

Offline makoto

  • Newbie
  • *
  • Posts: 26
Re: linux-headers-3.0.21-tinycore64
« Reply #4 on: June 21, 2013, 11:12:57 PM »
Thank you. I'll try.