Announcement

Collapse
No announcement yet.

Building xf86-video-ati in Arch failed

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

  • Building xf86-video-ati in Arch failed

    Greetings and salutations! XD

    I'm still trying out Arch Linux, and I wanted to test the ati driver from git. So I brought my Arch partition up-to-the-minute and followed Agd5f's instructions for installing xf86-video-ati from git.

    I fail.

    Basically, I got to the "make" step, and weirdness ensued.

    [darkfire@myhost xf86-video-ati]$ sudo make
    Making all in src
    CC radeon_accel.o
    In file included from radeon_accel.c:79:
    radeon.h:76:23: error: GL/glxint.h: No such file or directory
    In file included from radeon_accel.c:79:
    radeon.h:542: error: expected specifier-qualifier-list before ?__GLXvisualConfig?
    radeon_accel.c: In function ?RADEONCPGetBuffer?:
    radeon_accel.c:704: error: ?struct radeon_dri? has no member named ?buffers?
    radeon_accel.c: In function ?RADEONSetupMemXAA_DRI?:
    radeon_accel.c:1142: error: ?struct radeon_dri? has no member named ?depthBits?
    radeon_accel.c:1152: error: ?struct radeon_dri? has no member named ?frontOffset?
    radeon_accel.c:1153: error: ?struct radeon_dri? has no member named ?frontPitch?
    radeon_accel.c:1154: error: ?struct radeon_dri? has no member named ?backPitch?
    radeon_accel.c:1171: error: ?struct radeon_dri? has no member named ?depthPitch?
    radeon_accel.c:1172: error: ?struct radeon_dri? has no member named ?depthPitch?
    radeon_accel.c:1176: error: ?struct radeon_dri? has no member named ?gartSize?
    radeon_accel.c:1178: error: ?struct radeon_dri? has no member named ?ringSize?
    radeon_accel.c:1180: error: ?struct radeon_dri? has no member named ?bufSize?
    radeon_accel.c:1182: error: ?struct radeon_dri? has no member named ?gartTexSize?
    radeon_accel.c:1192: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1196: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1201: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1208: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1209: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1211: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1212: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1219: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1220: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1229: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1230: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1236: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1249: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1249: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1252: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1253: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1260: error: ?struct radeon_dri? has no member named ?log2TexGran?
    radeon_accel.c:1261: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1261: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1263: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1269: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1270: error: ?struct radeon_dri? has no member named ?textureOffset?
    radeon_accel.c:1271: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1275: error: ?struct radeon_dri? has no member named ?textureOffset?
    radeon_accel.c:1275: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1280: error: ?struct radeon_dri? has no member named ?textureOffset?
    radeon_accel.c:1280: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1288: error: ?struct radeon_dri? has no member named ?depthOffset?
    radeon_accel.c:1288: error: ?struct radeon_dri? has no member named ?textureOffset?
    radeon_accel.c:1294: error: ?struct radeon_dri? has no member named ?backOffset?
    radeon_accel.c:1294: error: ?struct radeon_dri? has no member named ?depthOffset?
    radeon_accel.c:1296: error: ?struct radeon_dri? has no member named ?backOffset?
    radeon_accel.c:1296: error: ?struct radeon_dri? has no member named ?depthOffset?
    radeon_accel.c:1301: error: ?struct radeon_dri? has no member named ?backY?
    radeon_accel.c:1301: error: ?struct radeon_dri? has no member named ?backOffset?
    radeon_accel.c:1302: error: ?struct radeon_dri? has no member named ?backX?
    radeon_accel.c:1302: error: ?struct radeon_dri? has no member named ?backOffset?
    radeon_accel.c:1302: error: ?struct radeon_dri? has no member named ?backY?
    radeon_accel.c:1353: error: ?struct radeon_dri? has no member named ?depthTexLines?
    radeon_accel.c:1354: error: ?struct radeon_dri? has no member named ?depthOffset?
    radeon_accel.c:1355: error: ?struct radeon_dri? has no member named ?backLines?
    radeon_accel.c:1356: error: ?struct radeon_dri? has no member named ?backOffset?
    radeon_accel.c:1357: error: ?struct radeon_dri? has no member named ?depthTexLines?
    radeon_accel.c:1358: error: ?struct radeon_dri? has no member named ?backArea?
    radeon_accel.c:1369: error: ?struct radeon_dri? has no member named ?frontOffset?
    radeon_accel.c:1373: error: ?struct radeon_dri? has no member named ?backOffset?
    radeon_accel.c:1376: error: ?struct radeon_dri? has no member named ?depthOffset?
    radeon_accel.c:1380: error: ?struct radeon_dri? has no member named ?pciGartSize?
    radeon_accel.c:1380: error: ?struct radeon_dri? has no member named ?pciGartOffset?
    radeon_accel.c:1383: error: ?struct radeon_dri? has no member named ?textureSize?
    radeon_accel.c:1383: error: ?struct radeon_dri? has no member named ?textureOffset?
    radeon_accel.c:1385: error: ?struct radeon_dri? has no member named ?frontPitchOffset?
    radeon_accel.c:1385: error: ?struct radeon_dri? has no member named ?frontPitch?
    radeon_accel.c:1386: error: ?struct radeon_dri? has no member named ?frontOffset?
    radeon_accel.c:1388: error: ?struct radeon_dri? has no member named ?backPitchOffset?
    radeon_accel.c:1388: error: ?struct radeon_dri? has no member named ?backPitch?
    radeon_accel.c:1389: error: ?struct radeon_dri? has no member named ?backOffset?
    radeon_accel.c:1391: error: ?struct radeon_dri? has no member named ?depthPitchOffset?
    radeon_accel.c:1391: error: ?struct radeon_dri? has no member named ?depthPitch?
    radeon_accel.c:1392: error: ?struct radeon_dri? has no member named ?depthOffset?
    make[2]: *** [radeon_accel.lo] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2
    [darkfire@myhost xf86-video-ati]$
    I'm pretty sure I met all dependencies, or I wouldn't have gotten this far. Is something wrong with my "ati-dri" package?

    I'm running Arch64, btw.

  • #2
    Just to confirm, are you trying to build -ati but using drm and mesa from packages ? If so, I suspect that may be the problem. I forget whether you actually need the source for drm and mesa or just some bits that get build from it, will try to remember
    Test signature

    Comment


    • #3
      I have no familiarity with arch.

      Did you first configure, make, and install drm and then mesa?

      What prefix and libdir did you use with configure?

      Comment


      • #4
        I don't know Arch either, but it looks like you need to install some Xorg header/developer package(s).

        Comment


        • #5
          Yeah, on Fedora that (GL/glxint.h) would be in X11 protos development package. Dunno where it's supposed to be on Arch.

          Comment


          • #6
            The 'xf86-video-ati-git' package from the Arch user repository should work:


            And here is a short tutorial on how to install AUR-packages:


            'makepkg -s' should install any missing dependecies required to build the package.

            Comment


            • #7
              You could always try out yaourt. It's for getting packages from AUR, and it does dependencies too.

              Comment


              • #8
                Originally posted by pvtcupcakes View Post
                You could always try out yaourt. It's for getting packages from AUR, and it does dependencies too.
                And there are packages for almost everything in the AUR: mesa-git, libgl-git, the drm kernel modules, ...

                Comment

                Working...
                X