nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   SUSE10, missing kernel source files... (http://www.nvnews.net/vbulletin/showthread.php?t=62671)

windwos 01-04-06 11:08 AM

SUSE10, missing kernel source files...
 
I'm new to linux and I've been trying to install the nforce2 drivers, but I'm missing the kernel source files, it says, and I can't find them. Where can I get them?
I get that error during install about kernel.h...
Sound and network works tho, but not that good.
Haven't installed graphics drivers yet, but I will..

sgamm 01-04-06 11:29 AM

Re: SUSE10, missing kernel source files...
 
Quote:

Originally Posted by windwos
I'm new to linux and I've been trying to install the nforce2 drivers, but I'm missing the kernel source files, it says, and I can't find them. Where can I get them?


Hi,

There are many mirrors the have it, but here is one location:

ftp://mirrors.kernel.org/opensuse/di...urce/suse/i586


Stan

windwos 01-05-06 03:29 AM

Re: SUSE10, missing kernel source files...
 
Thanks. I downloaded the "kernel-source-2.6.13-15.i586.rpm" and installed it with YaST, it does it all automatically. :p

Anyhow, I found the kernel.h in "/usr/src/linux-2.6.13-15/include/linux" and linked it with "-kernel-source-/usr/src/linux-2.6.13-15/include/linux" as the installer said, but then I got another error:

ERROR: ./nvsound/main/conftest.sh: line 9: cc: command not found

If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the appropriate nvidia-installer command line option.

Uhm, how do I do that then?

windwos 01-05-06 06:47 AM

Re: SUSE10, missing kernel source files...
 
Crap! My kernel default is "2.6.13-15.7". I've downloaded "kernel-source-2.6.13-15.7.pm.0.i586.rpm", but do I have to uninstall the previous kernel source? If so, how do I do that?
edit: ok I deleted it with yast and installed the other one but it's still the same.

rpm -qa | grep kernel:
kernel-source-2.6.13-15.7.pm.0
kernel-default-2.6.13-15.7

Is it the .pm.0?

edit: downloaded another without the .pm.0, same thing.
I'm not downloading updates, am I?
edit: ok, I messed around with some files and managed to isnall them, installer said it's installed now. Going for the graphics driver now :p

sgamm 01-05-06 11:12 AM

Re: SUSE10, missing kernel source files...
 
Quote:

Originally Posted by windwos
Crap! My kernel default is "2.6.13-15.7". I've downloaded "kernel-source-2.6.13-15.7.pm.0.i586.rpm", but do I have to uninstall the previous kernel source? If so, how do I do that?
edit: ok I deleted it with yast and installed the other one but it's still the same.

rpm -qa | grep kernel:
kernel-source-2.6.13-15.7.pm.0
kernel-default-2.6.13-15.7

Is it the .pm.0?

edit: downloaded another without the .pm.0, same thing.
I'm not downloading updates, am I?
edit: ok, I messed around with some files and managed to isnall them, installer said it's installed now. Going for the graphics driver now :p

Hi,

The link I sent earlier has rpm files compiled for the i586. Many of the Suse RPMs are i586. RPM files for other architechtures are in different directories on the same server. You just need to go up a level or so and look around for what you need.

Sounds like you got the wrong source files for the installed kernel.

Hope the graphics driver works Ok for you.


Stan

ze moo 01-05-06 09:43 PM

Re: SUSE10, missing kernel source files...
 
Quote:

Originally Posted by windwos
ERROR: ./nvsound/main/conftest.sh: line 9: cc: command not found

Sounds like your still missing some required packages ... gcc maybe?

try adding a new yast installation repository to your system
yast->installation source-> http
server:
ftp-stud.fht-esslingen.de (e.g.)
path:
/pub/Mirrors/ftp.opensuse.org/opensuse/distribution/SL-10.0-OSS/inst-source/

add kernel-source, gcc, make etc...

then try to rebuild the module

hope that helps :)

cheers


All times are GMT -5. The time now is 06:15 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.