Results 1 to 7 of 7

Thread: Configuring Kernel Sources - Help Needed

  1. #1
    Join Date
    Jun 2008
    Location
    Somerset. UK
    Posts
    111

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

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,336
    Blog Entries
    15

    Default Re: Configuring Kernel Sources - Help Needed

    Quote Originally Posted by Myrlyn
    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;
    Code:
    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


  3. #3
    Join Date
    Jun 2008
    Location
    Somerset. UK
    Posts
    111

    Default Re: Configuring Kernel Sources - Help Needed

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

    Thanks Malcolm!!!

  4. #4
    Join Date
    Jun 2008
    Location
    Somerset. UK
    Posts
    111

    Default Re: Configuring Kernel Sources - Help Needed

    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

  5. #5

    Default Re: Configuring Kernel Sources - Help Needed

    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 ?

  6. #6
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,317

    Default Re: Configuring Kernel Sources - Help Needed

    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

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: Configuring Kernel Sources - Help Needed

    Quote Originally Posted by hendersj View Post
    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 openSUSE Forums FAQ
    Jim, this thread is about 11.1, which is no longer supported.....

    @vikrantmakwana 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.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •