[Libva] Mplayer-vaapi fails to build

SP s.p at orbitalfox.com
Thu Sep 29 05:30:12 PDT 2011


Mplayer-vaapi fails to build. Is it because of an outdated libva or it a
bug? Here follows the check and error:

int main(void) { (void) vaGetDisplay(0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith
-Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement
-std=gnu99  -O4 -march=native -mtune=native -pipe -ffast-math
-fomit-frame-pointer /tmp/mplayer-configure--2749/tmp.c -I. -Iffmpeg
-march=native -mtune=native -mfpmath=sse -D_REENTRANT
-I/usr/include/directfb -I/usr/include/     -D_REENTRANT     -ffast-math
  -lncurses -lrt -lsmbclient -lpng -lz -ljpeg -lungif -lasound -ldl
-lpthread  -ldirectfb  -lXext -lX11 -lpthread -lXrender -lXv -lXinerama
-lXxf86vm -lXxf86dga -laa -L/usr/lib -lcaca -lvga -lSDL -lGL -ldl -lGLU
-lesd   -laudio -lXt -lpulse   -ljack -lopenal  -o
/tmp/mplayer-configure--2749/tmp -I/usr/include -L/usr/lib -lva-x11
/usr/lib/libva-x11.so: undefined reference to `trace_flag'
/usr/lib/libva-x11.so: undefined reference to `va_TracePutSurface'
/usr/lib/libva-x11.so: undefined reference to `vaDisplayIsValid'
/usr/lib/libva-x11.so: undefined reference to `fool_postp'
collect2: ld returned 1 exit status


More information about the Libva mailing list