Results 1 to 8 of 8

Thread: Building xf86-video-ati in Arch failed

  1. #1
    Join Date
    Nov 2008
    Location
    California
    Posts
    61

    Post 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. #2
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,545

    Default

    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

  3. #3
    Join Date
    Jul 2008
    Posts
    208

    Default

    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?

  4. #4
    Join Date
    Jan 2008
    Posts
    294

    Default

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

  5. #5
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    1,759

    Default

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

  6. #6
    Join Date
    May 2009
    Posts
    3

    Default

    The 'xf86-video-ati-git' package from the Arch user repository should work:
    http://aur.archlinux.org/packages.php?ID=15374

    And here is a short tutorial on how to install AUR-packages:
    http://wiki.archlinux.org/index.php/...s_from_the_AUR

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

  7. #7
    Join Date
    Jul 2009
    Posts
    416

    Default

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

  8. #8
    Join Date
    Oct 2008
    Posts
    52

    Default

    Quote 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, ...

Posting Permissions

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