Results 1 to 3 of 3

Thread: AMD Catalyst 13.12 on 12.04 failed because of missing kernerl headers

  1. #1
    Join Date
    Mar 2014
    Beans
    1

    AMD Catalyst 13.12 on 12.04 failed because of missing kernerl headers

    The installation failed when I ran dpkg -i *.deb and gave this error:

    dpkg: dependency problems prevent configuration of fglrx:
    fglrx depends on linux-headers-generic | linux-headers-generic-lts-quantal | linux-headers; however:
    Package linux-headers-generic is not installed.
    Package linux-headers-generic-lts-quantal is not installed.
    Package linux-headers is not installed.

    I've done this before, but I just can't figure it out now.
    I tried sudo apt-get install linux-headers-$(uname -r) and it says the newest is already installed.
    Please help!

    EDIT ran apt-get -f install for the headers, but it gave an error. I'm not sure if it failed, this is what it said

    Error! Bad return status for module build on kernel: 3.11.0-18-generic (x86_64)
    Consult /var/lib/dkms/fglrx/13.251/build/make.log for more information.

    Here's the make.log
    DKMS make.log for fglrx-13.251 for kernel 3.11.0-18-generic (x86_64)
    Sat Mar 22 00:46:57 CET 2014
    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.11.0-18-generic/build SUBDIRS=/var/lib/dkms/fglrx/13.251/build/2.6.x modules
    make[1]: Entering directory `/usr/src/linux-headers-3.11.0-18-generic'
    CC [M] /var/lib/dkms/fglrx/13.251/build/2.6.x/firegl_public.o
    CC [M] /var/lib/dkms/fglrx/13.251/build/2.6.x/kcl_acpi.o
    /var/lib/dkms/fglrx/13.251/build/2.6.x/kcl_acpi.c: In function ‘KCL_ACPI_ParseTable’:
    /var/lib/dkms/fglrx/13.251/build/2.6.x/kcl_acpi.c:999:5: warning: passing argument 1 of ‘(acpi_status (*)(u32, void *, void *))handler’ makes integer from pointer without a cast [enabled by default]
    /var/lib/dkms/fglrx/13.251/build/2.6.x/kcl_acpi.c:999:5: note: expected ‘u32’ but argument is of type ‘struct acpi_table_header *’
    /var/lib/dkms/fglrx/13.251/build/2.6.x/kcl_acpi.c:999:5: error: too few arguments to function ‘(acpi_status (*)(u32, void *, void *))handler’
    make[2]: *** [/var/lib/dkms/fglrx/13.251/build/2.6.x/kcl_acpi.o] Error 1
    make[1]: *** [_module_/var/lib/dkms/fglrx/13.251/build/2.6.x] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-18-generic'
    make: *** [kmod_build] Error 2
    build failed with return value 2
    Last edited by piecezzz; March 22nd, 2014 at 12:55 AM.

  2. #2
    Join Date
    Jul 2006
    Location
    Michigan
    Beans
    1
    Distro
    Kubuntu 5.10

    Re: AMD Catalyst 13.12 on 12.04 failed because of missing kernerl headers

    I'm having the same problem as you, I can't find any help for it online either.

  3. #3
    Join Date
    May 2013
    Location
    Hamunaptra
    Beans
    622
    Distro
    Ubuntu Studio

    Re: AMD Catalyst 13.12 on 12.04 failed because of missing kernerl headers

    A little more information please:
    Did you have any Fglrx drivers installed , and did you purge them before trying to install the new one?
    Did you get Fglrx 3.12 from AMD website ?

    Generally different Fglrx versions have incompatibility with Xorg server versions.
    so, it is best to use the Fglrx version that is available in the Ubuntu Repos.

    Have a look here to see if following the steps helps:: https://help.ubuntu.com/community/BinaryDriverHowto/AMD

    Edit: It seems like you have 13.251 version installed , you need to purge that first and reboot.
    Last edited by su:bhatta; April 11th, 2014 at 04:53 AM.
    bhatta

    May the Source be with you !
    Ash nazg durbatulûk, ash nazg gimbatul, ash nazg thrakatulûk, agh
    'Buntu-ishi krimpatul !

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
  •