Results 1 to 2 of 2

Thread: FGRLX fails to build with kernel 3

  1. #1
    Join Date
    Oct 2009
    Beans
    10

    Angry FGRLX fails to build with kernel 3

    When I try to install fglrx, the installation fails, and the following is written to the make log:

    Code:
    DKMS make.log for fglrx-8.840 for kernel 3.0.0-12-lowlatency (x86_64)
    Mon Oct  3 11:16:01 JST 2011
    AMD kernel module generator version 2.1
    doing Makefile based build for kernel 2.6.x and higher
    rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
    make -C /lib/modules/3.0.0-12-lowlatency/build SUBDIRS=/var/lib/dkms/fglrx/8.840/build/2.6.x modules
    make[1]: Entering directory `/usr/src/linux-headers-3.0.0-12-lowlatency'
      CC [M]  /var/lib/dkms/fglrx/8.840/build/2.6.x/firegl_public.o
    /var/lib/dkms/fglrx/8.840/build/2.6.x/firegl_public.c:117:28: fatal error: linux/smp_lock.h: No such file or directory
    compilation terminated.
    make[2]: *** [/var/lib/dkms/fglrx/8.840/build/2.6.x/firegl_public.o] Error 1
    make[1]: *** [_module_/var/lib/dkms/fglrx/8.840/build/2.6.x] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-12-lowlatency'
    make: *** [kmod_build] Error 2
    build failed with return value 2
    After trying to copy the missing file into the include folder:

    Code:
    sudo cp src/linux-headers-2.6.38-11-generic/include/linux/smp_lock.h src/linux-headers-3.0.0-12-lowlatency/include/linux/
    the install fails again, with the following log:

    Code:
    sh: getcwd() failed: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    sh: getcwd() failed: No such file or directory
    make.log: No such file or directory
    I really don't have a clue what to do about this. Any suggestions?

  2. #2
    Join Date
    Oct 2009
    Beans
    10

    Re: FGRLX fails to build with kernel 3

    Bump...

Tags for this Thread

Bookmarks

Posting Permissions

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