View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Kernel Source is missing
PostPosted: Sat Jul 10, 2004 12:07 pm 
Offline
Joined: Wed May 12, 2004 1:13 am
Posts: 82
Location: Germany
hello Guys,

i tried to compile the i2c module for the kernel of knoppmyth r4v4.1 but the kerel Source is missing,

a cant either find them on apt-get and so is my question,

where can i find and how di i install the kernel sources for
kernel-image-2.4.25-chw 10.00.Custom

Thanks...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 10, 2004 12:39 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
the kernel source is installed with the system. it just needs to be unpacked and configured. it should be in /usr/src/ somewhere.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 12, 2004 4:21 pm 
Offline
Joined: Wed May 12, 2004 1:13 am
Posts: 82
Location: Germany
Thanks, found them...
but how to install them?

there is a bz2 compressed kernel-source archive, but there is allready a link from usr/src/linux to the kernel headers.

Where should i put the kernel source so a program that should be compiled finds them?

:?:

My Problem is that i try to compile the i2c and the lm_sensors stuff for getting tv-out with my voodoo3 to work, but when i type make in the i2c directory it says:

grep: /lib/modules/2.4.25-chw/build/Makefile: Datei oder Verzeichnis nicht gefunden
grep: /lib/modules/2.4.25-chw/build/include/linux/autoconf.h: Datei oder Verzeichnis nicht gefunden
grep: /lib/modules/2.4.25-chw/build/.config: Datei oder Verzeichnis nicht gefunden
grep: /lib/modules/2.4.25-chw/build/.config: Datei oder Verzeichnis nicht gefunden
grep: /lib/modules/2.4.25-chw/build/.config: Datei oder Verzeichnis nicht gefunden
grep: /lib/modules/2.4.25-chw/build/.config: Datei oder Verzeichnis nicht gefunden
grep: /lib/modules/2.4.25-chw/build/.config: Datei oder Verzeichnis nicht gefunden
grep: /lib/modules/2.4.25-chw/build/.config: Datei oder Verzeichnis nicht gefunden
grep: /lib/modules/2.4.25-chw/build/.config: Datei oder Verzeichnis nicht gefunden
grep: /lib/modules/2.4.25-chw/build/.config: Datei oder Verzeichnis nicht gefunden
grep: /lib/modules/2.4.25-chw/build/.config: Datei oder Verzeichnis nicht gefunden
grep: /lib/modules/2.4.25-chw/build/.config: Datei oder Verzeichnis nicht gefunden
grep: /lib/modules/2.4.25-chw/build/.config: Datei oder Verzeichnis nicht gefunden
grep: /lib/modules/2.4.25-chw/build/.config: Datei oder Verzeichnis nicht gefunden
Makefile:168: kernel/i2c-core.d: Datei oder Verzeichnis nicht gefunden
Makefile:168: kernel/i2c-dev.d: Datei oder Verzeichnis nicht gefunden
Makefile:168: kernel/i2c-algo-bit.d: Datei oder Verzeichnis nicht gefunden
Makefile:168: kernel/i2c-algo-biths.d: Datei oder Verzeichnis nicht gefunden
Makefile:168: kernel/i2c-elv.d: Datei oder Verzeichnis nicht gefunden
Makefile:168: kernel/i2c-velleman.d: Datei oder Verzeichnis nicht gefunden
Makefile:168: kernel/i2c-algo-pcf.d: Datei oder Verzeichnis nicht gefunden
Makefile:168: kernel/i2c-proc.d: Datei oder Verzeichnis nicht gefunden
Makefile:168: kernel/i2c-pport.d: Datei oder Verzeichnis nicht gefunden
grep: /lib/modules/2.4.25-chw/build/.config: Datei oder Verzeichnis nicht gefunden

Error - missing file /lib/modules/2.4.25-chw/build/.config !!
Verify kernel source is in /lib/modules/2.4.25-chw/build and then
cd to /lib/modules/2.4.25-chw/build and run 'make config' !!

Exception: if you're using a stock RedHat/Fedora kernel...
(1) Install the appropriate kernel-source RPM.
(2) Copy the appropriate config...
from /lib/modules/2.4.25-chw/build/configs/<...>
to /lib/modules/2.4.25-chw/build/.config
(3) Do *NOT* 'make dep' or 'make config'.

make: *** [/lib/modules/2.4.25-chw/build/.config] Fehler 1


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 16, 2004 1:28 pm 
Offline
Joined: Wed May 12, 2004 1:13 am
Posts: 82
Location: Germany
up up

how do i install these kernel sources... :?:


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 16, 2004 2:54 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
they are already there. you just have to extract them.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 18, 2004 5:17 am 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
Try the first few steps in my DVB guide:

http://mysettopbox.tv/phpBB2/viewtopic.php?t=1357

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 16, 2004 7:02 am 
Offline
Joined: Fri May 07, 2004 11:45 am
Posts: 7
but why should i do that, i don't want dvb support, i only want to compile something with the kernel sources,
what is the command line to extract the sources, sorry but until now i have only worked with rpm based ditributions... :cry:


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 16, 2004 7:38 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
Quote:
but why should i do that, i don't want dvb support


That's why he said "the first few steps" rather than the whole thing. :) His first few steps describe how to get sudo working and then includes the commands to decompress the kernel source.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 19, 2004 1:08 pm 
Offline
Joined: Fri May 07, 2004 11:45 am
Posts: 7
OK thanks,

was too stupid for clean reading... :?

I'll try to compile the i2c modules once again... :roll:


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu