<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Compile error in gallium target VA--LLVM undefined referencences"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98606#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Compile error in gallium target VA--LLVM undefined referencences"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98606">bug 98606</a>
              from <span class="vcard"><a class="email" href="mailto:bug0xa3d2@hushmail.com" title="charlie <bug0xa3d2@hushmail.com>"> <span class="fn">charlie</span></a>
</span></b>
        <pre>Solved

I think these are the minimum steps used to fix my bug:
1) delete all installed files (includes and libraries) related to libva,
libvdpau and mesa.
2) compile in the following order: mesa with "./configure --disable-va
--disable-vdpau" then
3) libva
4) libvdpau
5) mesa with "./configure --enable-va --enable-vdpau"

After building mesa I also built the rest of x in the correct order.

I request that the mesa build instructions be updated at
"<a href="https://www.x.org/wiki/Development/BuildingX">https://www.x.org/wiki/Development/BuildingX</a>"

Side note for those who may encounter this issue in the future:

After the fix I can now use "vo=vdpau" in mplayer's config file.

You can check or export which video driver would use vdpau acceleration with:
export VDPAU_DRIVER=$(grep -i vdpau /var/log/Xorg.0.log | sed 's/.*: *//')
echo $VDPAU_DRIVER</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>