WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: kernel modules compile!  (Read 2252 times)

Offline dicorer

  • Jr. Member
  • **
  • Posts: 61
kernel modules compile!
« on: April 17, 2015, 08:46:31 AM »
Did compile all my custom programs with gcc4.9&friends coming from ubuntu repo, noprob.
But now I got stuck with this small kernel module, a SD card, which I can't get to compile.
Did get linux-goldfish-headers, created link build and gcc4.7 to the default gcc4.9, but still fails asking for generated/autoconf.h, tried also with other default modules, and so on...

I have the feeling I'm going off track with that...
Someone knows how to compile a kernel module in dCore-utopic?
Thanks

Offline dicorer

  • Jr. Member
  • **
  • Posts: 61
Re: kernel modules compile!
« Reply #1 on: April 17, 2015, 11:43:50 AM »
am I facing some kind of kernel bug or what?
/usr/src/linux-headers-3.16.0-23-generic/include/linux/cputime.h
contains a not existing include:
Code: [Select]
#include <asm/cputime.h>it exists /usr/src/linux-headers-3.16.0-23-generic/include/asm-generic, but not asm...
it existed smtg like that in 3.4, 3.13... but not 3.16... am I right?

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: kernel modules compile!
« Reply #2 on: April 18, 2015, 08:43:07 AM »
Refer to the standard TC method of compiling kernels with the TC kernel sources, we do it the same on dCore.

Offline dicorer

  • Jr. Member
  • **
  • Posts: 61
Re: kernel modules compile!
« Reply #3 on: April 18, 2015, 08:46:12 AM »
I was afraid you said so...