Configuring Kernel Sources - Help Needed

I am using opensuse 11.1. I have upgraded the kernel to 2.6.29-1.1-pae (to get my TV card running). I did this by installing pre-compiled kernel packages from OBS. My machine seems to run perfectly under the new kernel.

I am now trying to get my modem working using drivers from the linmodem project. I have never installed drivers which need compiling before.

I have installed the kernel-source package, and the correct kernel-syms package for 2.6.29-pae, together with its required dependencies.

My problem is that when I try to configure the kernel sources, following either instructions from linmodems, or those given in the readme.suse documentation file, I get the error message to “make oldconfig”:

HOSTCC scripts/basic/fixdep
/bin/sh: gcc: command not found
make[1]: *** [scripts/basic/fixdep] Error 127
make: *** [scripts_basic] Error 2

I understand that this is a symptom of not having gcc installed, but I DO have gcc43 installed.

I would be very grateful for any help, as I am a complete newbie in this area, and don’t know where to start.

Thanks in advance.

Hi
But do you have gcc installed? gcc is a symlink to gcc-4.3. Else export;


export CC=/usr/bin/gcc-4.3


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 2 days 19:05, 2 users, load average: 0.05, 0.02, 0.00
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

How embarrassing! I hadn’t installed GCC - just GCC-43.

Thanks Malcolm!!!

I’m sorry to say I’m still having problems (due, I’m sure, to my lack of knowledge).

I have now configured the kernel-sources, and all seems to be OK, but when I try to build the module, it fails, The relevant error message seems to be:

make: *** /usr/src/packages/BUILD/kernel-pae-2.6.29/linux-2.6.29: No such file or directory. Stop.

Can anyone help?

Thanks

I have the similar problem. I am installing the NVidia GFORCE 400 series driver, following the steps in driver installation, it required the gcc and make , so i zypper-installed them. Now when again i m starting the driver installation, it asks about the kernel-source missing. I again zypper-installed the kernel-sources and started the driver installation, but now it is saying that kernel-sources is not configured. how to configure the kernel-sources ?

On Mon, 14 Nov 2011 15:26:02 +0000, vikrantmakwana wrote:

> I have the similar problem. I am installing the NVidia GFORCE 400 series
> driver, following the steps in driver installation, it required the gcc
> and make , so i zypper-installed them. Now when again i m starting the
> driver installation, it asks about the kernel-source missing. I again
> zypper-installed the kernel-sources and started the driver installation,
> but now it is saying that kernel-sources is not configured. how to
> configure the kernel-sources ?

Try installing kernel-devel as well. You might also need the devel
package for the kernel you’re running if that doesn’t pull it in.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Jim, this thread is about 11.1, which is no longer supported…

@vikrantmakwana](http://forums.opensuse.org/members/vikrantmakwana.html) If you’re on 11.1, upgrade to 11.4, then install the “kernel-development-pattern”, that should give you all you need. But…the GeForce 400 series is very old. Don’t expect much from the graphics, or from watching youtube videos.