I'm not sure what that file is you installed but is's not the proper Mandrake 
linux kerner source file you want.
kernel-source-2.4.22-10mdk.i586.rpm
ftp://ftp.planetmirror.com/pub/mandrake/9.2/i586/Mandrake/RPMS/kernel-source-2.4.22-10mdk.i586.rpm
That is mandrake-linux's kernel source file and will allow you to compile your 
own kernel so it should have every thing you need. the kernel-xxxx.src.rpm is 
for rpmbuild for producing a new rpm. If it doesn't work can you please run.
uname -a
and post the text here as you may be using a different kernel.
Also once you get the net and urpmi up and working urpmf is the tool to use 
when you need to find a single file.
for example 
urpmf version.h
lists all RPMS that have a file called version.h in them.
Also have you got glibc-devel installed as that was reported as including 
version.h? glibc-devel:/usr/include/linux/version.h
urpmi glibc-devel 
as su will install it off the cd's for you.
Chad


Douglas Royds wrote:
> Encouraged by a posting on alt.os.linux.mandrake, I took another crack
> at my downloaded RPM file, with the following result:
>
>
> rpm -ivh kernel-2.4.22.10mdk-1-1mdk.src.rpm
>
>
> [EMAIL PROTECTED] src]$ ls /usr/src/RPM/SOURCES
> linux-2.4.22-q10.tar.bz2  linux-mdkconfig.h
> linux-merge-modules.awk  README.Mandrake
> linux-2.4.22.tar.bz2      linux-merge-config.awk  README.kernel-sources
>
>
> I used file-roller to extract part of linux-2.4.22.tar.bz2 (there must
> have been a command-line way of doing this). I now have a bucket-full of
> header files in /usr/src/linux-2.4.22/include/linux/, but no version.h,
> being the file that gave me the error message in the first place. Here's
> the error message again:
>
>
> #error "To build kernel modules please do the following:"
> #error ""
> #error " o Have the kernel sources installed"
>
>
> Done. Hooray.
>
>
> #error " o Make sure that the symbolic link"
> #error "   /lib/modules/`uname -r`/build exists and points to"
> #error "   the matching kernel source directory"
>
>
> Which directory do they mean? I assume /usr/src/linux-2.4.22/. Anyway,
> how do you make a symbolic link? I think that I can do it in Nautilus,
> but how do you do it at the command line?
>
>
> #error " o Now copy /boot/vmlinuz.version.h to"
> #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
>
>
> Gotcha. There is no /boot/vmlinuz.version.h. Here's /boot:
>
>
> [EMAIL PROTECTED] src]$ ls /boot
> boot.0300            diag2.img                kernel.h@
> message-graphic          us.klt
> config@              grub/                    kernel.h-2.4.22-10mdk
> message-text             vmlinuz@
> config-2.4.22-10mdk  initrd-2.4.22-10mdk.img  map
> System.map@              vmlinuz-2.4.22-10mdk
> diag1.img            initrd.img@              message@
> System.map-2.4.22-10mdk
>
>
> What do I do now? Buy an Apple? Man, this is a steep learning curve.
> Freedom sure don't come cheap. When's that
> bring-it-along-and-give-it-a-crack night? This is a laptop, after all.

Reply via email to