LinHES Forums
http://forum.linhes.org/

Kernel Source is missing
http://forum.linhes.org/viewtopic.php?f=14&t=1935
Page 1 of 1

Author:  wulf [ Sat Jul 10, 2004 12:07 pm ]
Post subject:  Kernel Source is missing

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...

Author:  Xsecrets [ Sat Jul 10, 2004 12:39 pm ]
Post subject: 

the kernel source is installed with the system. it just needs to be unpacked and configured. it should be in /usr/src/ somewhere.

Author:  wulf [ Mon Jul 12, 2004 4:21 pm ]
Post subject: 

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

Author:  wulf [ Fri Jul 16, 2004 1:28 pm ]
Post subject: 

up up

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

Author:  Xsecrets [ Fri Jul 16, 2004 2:54 pm ]
Post subject: 

they are already there. you just have to extract them.

Author:  nigelpearson [ Sun Jul 18, 2004 5:17 am ]
Post subject: 

Try the first few steps in my DVB guide:

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

Author:  mephizto [ Mon Aug 16, 2004 7:02 am ]
Post subject: 

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:

Author:  ceenvee703 [ Mon Aug 16, 2004 7:38 am ]
Post subject: 

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.

Author:  mephizto [ Thu Aug 19, 2004 1:08 pm ]
Post subject: 

OK thanks,

was too stupid for clean reading... :?

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

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/