Results 1 to 5 of 5

Thread: Can't compile recent git versions of xfree86-video-ati

  1. #1
    Join Date
    Jan 2008
    Posts
    150

    Default Can't compile recent git versions of xfree86-video-ati

    I regularly compile mesa-git, libdrm-git and xfree86-video-ati-git on my slackware-current systems and had not problem whatsoever for at least the last year.
    However, for about one month, xfree8-video-ati refuses to build anymore, complaining that it doesn't find the xorg-server.h header, as far as I understand (I'm really less than an amateur in C programming) :


    Code:
    config.status: executing libtool commands
    
            prefix:              /usr
            exec_prefix:         ${prefix}
            libdir:              /usr/lib
            includedir:          /usr/include
    
            CFLAGS:              -O3 -fPIC -march=opteron
            CXXFLAGS:            -O3 -fPIC -march=opteron
            Macros:              
    
            Run 'make' to build xf86-video-ati
    
    make  all-recursive
    make[1] : on entre dans le répertoire « /usr/src/CVS/xf86-video-ati »
    Making all in src
    
    make[2] : on entre dans le répertoire « /usr/src/CVS/xf86-video-ati/src »
      CC     ati.lo
      CC     atimodule.lo
    In file included from ati.c:57:0:
    ../config.h:4:25: fatal error: xorg-server.h: No such file or directory
     #include "xorg-server.h"
                             ^
    compilation terminated.
    In file included from atimodule.c:24:0:
    ../config.h:4:25: fatal error: xorg-server.h: No such file or directory
     #include "xorg-server.h"
                             ^
    compilation terminated.
    make[2]: *** [atimodule.lo] Erreur 1
    make[2]: *** Attente des tâches non terminées....
    make[2]: *** [ati.lo] Erreur 1
    make[2] : on quitte le répertoire « /usr/src/CVS/xf86-video-ati/src »
    make[1]: *** [all-recursive] Erreur 1
    make[1] : on quitte le répertoire « /usr/src/CVS/xf86-video-ati »
    make: *** [all] Erreur 2
    Of course, xorg-server.h is in /usr/include/xorg. So I don't understand what's going on.
    I last managed to compile the driver on the 2013/07/08. I usually run a git pull about once a week and I don't see what I could have upgraded on the system that could have an impact at this level.
    If someone has an idea, it will be appreciated.

  2. #2

    Default

    Maybe it is looking for it in the wrong location? What happens if you copy that file into /usr/include/ ?

  3. #3
    Join Date
    Jan 2008
    Posts
    150

    Default

    Well, it finds it but after that fails on another header which is located in /usr/include/xorg.
    And if I force the header path /usr/include/xorg in the C_FLAGS, it fails to find some XCB dri header which are located in another /usr/include subdir.
    The weird thing is that other packages like libdrm, mesa compile fine. Only the xf86-video-ati package fails to explore /usr/include subdirs for headers.

  4. #4

    Default

    Try removing the folder and clone again.

  5. #5
    Join Date
    Jan 2008
    Posts
    150

    Default

    Done that, no luck. Well, I finally added all the required include paths using C_FLAGS with configure and it worked....
    Probably something weird with my system.

Posting Permissions

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