Other Help Topics :: kernel source needed
Hello.
Is there a way I can get the kernel-source of the 2.4.20-xfs?
I need it to put the Cisco-Vpn-Client in DSL to use our Intranet at home.
When there is a download, can anyone tell me also how to set it up in the system.
Hardwaredetails::
l7s7a2 amd 1700+
512mb ddr
thanks allot
You can always get the kernel source from kernel.org or using apt-get. It should be unpacked in /usr/src/linux
I tried to get the kernel via apt-get and i patched it with 2.4.20-xfs-all.bz2.
but there is still the problem that the source can't be found.
the error message says:
file not found: linux/version.h
so do i have to do something else than apt-get and unzip the kernel and patch it?
thanks for reply
Did you get the kernel or the kernel source? The source should be a tarball or something.tgz file of a round 50 MB or so which unpacks to around 120MB. I'm guessing that you're not trying to compile the progarm- it just needs to know what kernel version you are using in order to configure itself. On my fullblown Slackware linux 8.1 this file is found all over the ~/src directory but it only shows up in two places as ~linux/version.h - they are:
/usr/include/linux/version.h
/usr/src/linux-?.?.??/include/linux/version.h
The question marks would be replaced with 2.4.20 (and maybe -xfs)
in the case of DSL
The file consists of just 3 lines which identify the kernel version:
#define UTS_RELEASE "2.4.18"
#define LINUX_VERSION_CODE 132114
#define blah,blah,blah
Do this to see if the file exixts anywhere on your system. Type:
sudo su
updatedb
This will create a database of all your files. Then type:
locate linux/version.h
If the file is found then make sure it is in the right places as above. Good luck!
OK, I did it so far, i forgot the mkae dep, this is building the version.h .
But now i have a new problem.
When is start the installscript it says:
asm/spinlock.h - assambly directive not found
what the hell is that!
Next Page...
original here.