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

alanwww1 alanwww1 at gmail.com
Mon Feb 28 04:12:11 PST 2011


Hi Eric !

Thanks for the help.

Sorry to bee such a noob, but...

I tried adding the -lva -lX11 options to the ldflags in the Makefiles
of the test directory.
Now the error disappears, but there is another problem:

The linker can not find the lib lva. I suppose it is libva. I know it
does not make any sense but  i installed the libva-dev package from
UIbuntu repos to see if the error goes away. And it does. So how can i
have the new Libva linked. Where should I have the NEW libva sources
stored so that the linker can find it while compiling ?

Thanks again,

Alan

2011/2/27 Eric Valette <eric.valette at free.fr>:
> On 27/02/2011 16:42, alanwww1 wrote:
>>
>> 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
>
> You're not doing anything wrong. It looks like maintainer never build the
> test packages. All Makefile under test directory need to have -lva -lX11 to
> compile.
>
> In addition, nobody seems to care to manually change the version that is
> never correctly updated (1.0.10-> 0.32.0). This has been so for month and I
> already reported the error.
>
> -- eric
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva
>


More information about the Libva mailing list