[Libva] undefined reference due to commit 881b49c

Xiang, Haihao haihao.xiang at intel.com
Mon Nov 8 17:14:47 PST 2010


On Tue, 2010-11-09 at 09:04 +0800, Xiang, Haihao wrote:
> On Mon, 2010-11-08 at 14:25 +0800, Yuan, Shengquan wrote:
> > On Mon, Nov 8, 2010 at 2:20 PM, Xiang, Haihao <haihao.xiang at intel.com> wrote:
> > > Hi, Austin
> > >
> > >   The commit 881b49c5f154ee6603eee4aebb8becae6097a4bd causes the
> > > following error,
> > >
> > > make[3]: Entering directory `/home/xhh/graphics/ex/libva/test/basic'
> > > /bin/bash ../../libtool --tag=CC   --mode=link gcc -I../../va
> > > -I../../src/x11 -g -O2  -L/opt/X11R7/lib  -o test_01
> > > test_01.o ../../va/libva-x11.la
> > > libtool: link: gcc -I../../va -I../../src/x11 -g -O2 -o .libs/test_01
> > > test_01.o  -L/opt/X11R7/lib ../../va/.libs/libva-x11.so
> > > ../../va/.libs/libva-x11.so: undefined reference to `fool_postp'
> > > ../../va/.libs/libva-x11.so: undefined reference to `va_TracePutSurface'
> > > collect2: ld returned 1 exit status
> > >
> > 
> > pull latest?
> > 
> > commit 7d6bbcfc7709864184a9c56bfbbe4144c4d6c0c2
> > Author: Austin Yuan <shengquan.yuan at gmail.com>
> > Date:   Thu Oct 28 07:26:04 2010 +0800
> > 
> >     Added the missing files
> > 
> 
> I pulled all commit, then tried to make a clean building and got this
> error message. I found this error is caused by a stall libva.so which is
> in the load path.
typo :(, stall-->stale

> 
> Specifying libva.so in the command line can fix this issue, like this:
>  
> gcc -I../../va -I../../src/x11 -g -O2 -o .libs/test_01  test_01.o
> -L/opt/X11R7/lib ../../va/.libs/libva-x11.so ../../va/.libs/libva.so
> 
> Thanks
> Haihao
> 
> > >
> > > Thanks
> > > Haihao
> > >
> > >
> > > _______________________________________________
> > > Libva mailing list
> > > Libva at lists.freedesktop.org
> > > http://lists.freedesktop.org/mailman/listinfo/libva
> > >
> 
> 
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva




More information about the Libva mailing list