Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Maybe it is looking for it in the wrong location? What happens if you copy that file into /usr/include/ ?

    Comment


    • #3
      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.

      Comment


      • #4
        Try removing the folder and clone again.

        Comment


        • #5
          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.

          Comment

          Working...
          X