[Libva] How to build a fresh Libva on Ubuntu Natty

alanwww1 alanwww1 at gmail.com
Sun Feb 27 07:42:32 PST 2011


Hi !

I am trying to build a fresh Libva on Ubuntu Natty, with 2.6.38
kernel, stock packages.

The steps i made:

sudo apt-get build-dep libva1
git clone git://anongit.freedesktop.org/git/libva
cd libva
./autogen.sh --enable-i965-driver --prefix=/usr
make

make fails with this error meessage:

/bin/bash ../../libtool --tag=CC --mode=link i686-linux-gnu-gcc
-I../../va -I../../src/x11 -Wall -g -O2  -Wl,-z,defs -o test_01
test_01.o ../../va/libva-x11.la
libtool: link: i686-linux-gnu-gcc -I../../va -I../../src/x11 -Wall -g
-O2 -Wl,-z -Wl,defs -o .libs/test_01 test_01.o
../../va/.libs/libva-x11.so
/usr/bin/ld: test_01.o: undefined reference to symbol 'vaMaxNumProfiles'
/usr/bin/ld: note: 'vaMaxNumProfiles' is defined in DSO
/home/xbmc/libva/va/.libs/libva.so.1 so try adding it to the linker
command line
/home/xbmc/libva/va/.libs/libva.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [test_01] Error 1
make[3]: Leaving directory `/home/xbmc/libva/test/basic'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/xbmc/libva/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xbmc/libva'
make: *** [all] Error 2

Any idea what am i doing wrong ?

Thanks for the help in advance.

Cheers, Alan


More information about the Libva mailing list