Results 1 to 5 of 5

Thread: "make" failing

  1. #1

    Default "make" failing

    I'm attempting to install a WLAN card driver from source, as that's all that's available.

    I'm getting:

    make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No such file or directory

    Build appears to be a link pointing to "/usr/src/linux-2.6.31.5-0.1-obj/x86_64/desktop".

    "linux-2.6.31.5-0.1-obj" doesn't exist.

    Completely lost here.

  2. #2
    Join Date
    Jan 2009
    Location
    43.009 N, 73.172 W
    Posts
    189

    Default Re: "make" failing

    You need to install the kernel-xxxx-devel rpm package. The xxxx is for the type of kernel you are running. kernel-desktop-devel or default, or debug, etc.

    Get the rpm for your kernel version and install with rpm -ivh yourpackage

    I should add you could also install it from Yast2.
    Last edited by udaman; 17-Feb-2010 at 08:05. Reason: more info.

  3. #3

    Default Re: "make" failing

    Ok, I've got a little further: more errors!

    I'm going to come at this from a different angle. Here's the portion of the readme that came with the driver source that I don't understand:

    2> In Makefile
    define the linux kernel source include file path LINUX_SRC
    modify to meet your need.



    3> In os/linux/config.mk
    define the GCC and LD of the target machine
    define the compiler flags CFLAGS
    modify to meet your need.



    4> $make

  4. #4

    Default Re: "make" failing

    Ah, thank you udaman!

    It got quite a lot further into it this time, but quit with errors 1 and 2, repeatedly stating that within the source code "os/linux/.../common/eeprom.c", "struct task_struct" has no member named "fsuid", nor one name "fsgid"...

    Any ideas anyone?

  5. #5
    Join Date
    Jan 2009
    Location
    43.009 N, 73.172 W
    Posts
    189

    Default Re: "make" failing

    It would help if you would paste the error messages from the build. They may give clues as to what is missing.

    I'm assuming you are doing this as root, and have already done ./configure, if it warrants.

    If it is still asking for the src path enter this command as root, LINUX_SRC=/usr/src/linux

    check it with "echo $LINUX_SRC"

    The GCC and LD are your compiler and linker paths.

Posting Permissions

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