LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 12-20-2008, 10:18 PM   #1
mk27
Member
 
Registered: Sep 2008
Distribution: fedora, gentoo, ubuntu
Posts: 147

Rep: Reputation: 23
coretemp module not in .config (2.6.27.9)


Does anyone know how to compile a kernel module that's in-tree?

2.6.27.9 source includes coretemp.c, but it cannot be built because "make config" produces a .config file which lacks CONFIG_SENSORS_CORETEMP (ie, there is no possible option to make "coretemp"), and if you insert it, Make removes it. I tried:

Code:
cd driver/hwmon
gcc -o coretemp.ko -c -O2 -W -Wall -isystem ../../include -D__KERNEL__ -DMODULE
But this does not come close to working.

What can be done??!!?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
coretemp temperatures accurate ? CPU overheat ? H_TeXMeX_H Linux - Hardware 9 11-18-2008 02:16 PM
PHP module config problem? Manxa Linux - Newbie 2 09-01-2008 09:52 PM
Kernel 2.6 module load config yhus Linux - Kernel 1 07-06-2006 04:53 AM
iptables module config swmok Linux - Networking 3 04-17-2005 08:42 AM
Module config for GTXP (cs4624) MFC Linux - Hardware 6 03-14-2005 04:44 PM


All times are GMT -5. The time now is 07:48 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration