Vraag & Antwoord

OS Linux

[debian] ati driver compileren met make-kpkg

Anoniem
None
4 antwoorden
  • Hallo ik ben deze guide aan het volgen http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html#bin

    dit heb ik gedaan:
    1 apt-get install fglrx-driver fglrx-kernel-src
    van :
    deb http://www.stanchina.net/~flavio/debian/ ./

    kernel sources, headers en alle andere tools etc geinstalleerd
    ln -s /usr/src/kernel-source-2.6.8 /usr/src/linux

    2 tar xzvf /usr/src/fglrx-kernel-src.tar.gz
    de fglrx-kernel-src staat dan in /usr/src/modules

    3 cd /usr/src/linux/
    daarna de boel met make menuconfig ingesteld

    make SUBDIRS=/usr/src/modules/fglrx-kernel-src modules
    en dan krijg ik een heel zooi errors

    [code:1:4ac8c07574]
    laaste stuk:
    /usr/src/modules/fglrx-kernel-src/agp3.c:682: error: `ncapid' undeclared (firstuse in this function)
    /usr/src/modules/fglrx-kernel-src/agp3.c:684: error: `major' undeclared (first use in this function)
    /usr/src/modules/fglrx-kernel-src/agp3.c:690: error: invalid use of undefined type `struct agp_bridge_data'
    /usr/src/modules/fglrx-kernel-src/agp3.c:690: error: invalid use of undefined type `struct agp_bridge_data'
    /usr/src/modules/fglrx-kernel-src/agp3.c:690: error: `agp_3_0' undeclared (first use in this function)
    /usr/src/modules/fglrx-kernel-src/agp3.c: At top level:
    include/linux/elf.h:438: warning: array `_DYNAMIC' assumed to have one element

    include/linux/fs.h:277: error: storage size of `ia_atime' isn't known
    include/linux/fs.h:278: error: storage size of `ia_mtime' isn't known
    include/linux/fs.h:279: error: storage size of `ia_ctime' isn't known
    include/linux/quota.h:217: error: storage size of `dq_wait_unused' isn't known
    include/linux/quota.h:223: error: storage size of `dq_dqb' isn't known
    include/linux/fs.h:357: error: storage size of `bd_sem' isn't known
    include/linux/fs.h:358: error: storage size of `bd_mount_sem' isn't known
    include/linux/fs.h:432: error: storage size of `i_atime' isn't known
    include/linux/fs.h:433: error: storage size of `i_mtime' isn't known
    include/linux/fs.h:434: error: storage size of `i_ctime' isn't known
    include/linux/fs.h:442: error: storage size of `i_sem' isn't known
    include/linux/fs.h:443: error: storage size of `i_alloc_sem' isn't known
    include/linux/fs.h:449: error: storage size of `i_data' isn't known
    include/linux/fs.h:576: error: storage size of `f_owner' isn't known
    include/linux/fs.h:754: error: storage size of `s_umount' isn't known
    include/linux/fs.h:755: error: storage size of `s_lock' isn't known
    include/linux/fs.h:772: error: storage size of `s_wait_unfrozen' isn't known
    include/linux/fs.h:782: error: storage size of `s_vfs_rename_sem' isn't known
    /usr/src/modules/fglrx-kernel-src/agp3.c:145: error: storage size of `target' isn't known
    /usr/src/modules/fglrx-kernel-src/agp3.c:99: warning: `agp_3_0_dev_list_sort' defined but not used
    /usr/src/modules/fglrx-kernel-src/agp3.c:128: warning: `agp_3_0_isochronous_node_enable' defined but not used
    /usr/src/modules/fglrx-kernel-src/agp3.c:354: warning: `agp_3_0_nonisochronous_node_enable' defined but not used
    {standard input}: Assembler messages:
    {standard input}:4667: Error: symbol `y_max' is already defined
    {standard input}:4679: Error: symbol `ret' is already defined
    {standard input}:4685: Error: symbol `ret' is already defined
    {standard input}:4691: Error: symbol `ret' is already defined
    {standard input}:4697: Error: symbol `mcapndx' is already defined
    {standard input}:4739: Error: symbol `dev' is already defined
    {standard input}:4745: Error: symbol `ret' is already defined
    {standard input}:4763: Error: symbol `ret' is already defined
    {standard input}:4769: Error: symbol `ret' is already defined
    {standard input}:4781: Error: symbol `cal_cycle' is already defined
    {standard input}:4787: Error: symbol `_y' is already defined
    {standard input}:4793: Error: symbol `tmp' is already defined
    {standard input}:4799: Error: symbol `ret' is already defined
    {standard input}:4805: Error: symbol `pos' is already defined
    {standard input}:4811: Error: symbol `dev' is already defined
    {standard input}:4817: Error: symbol `mcapndx' is already defined
    {standard input}:4823: Error: symbol `pos' is already defined
    make[1]: *** [/usr/src/modules/fglrx-kernel-src/agp3.o] Error 1
    make: *** [_module_/usr/src/modules/fglrx-kernel-src] Error 2
    [/code:1:4ac8c07574]
  • ok ik heb het nogmaals geprobeerd met verse sources
    en dan in /usr/src/linux
    make-kpkg –append-to-version=.080204 –added-modules fglrx-kernel-src kernel_image kernel_modules

    dit keer zeg ie dat ie fglrx goed pakt en uiteindelijk geeft ie zonder fouten een
    fglrx-kernel*.deb
    en een kernel*.deb

    deze heb ik geinstalleerd en nu de nieuwe kernel geboot.
    maar ik kan nog steeds geen modprobe fglrx doen
    iemand nog iets wat ik ben vergeten?
  • depmod -a was het……
  • gefeliciteerd

Beantwoord deze vraag

Dit is een gearchiveerde pagina. Antwoorden is niet meer mogelijk.