[Libva] DSO regression issue
Charles, Daniel
daniel.charles at intel.com
Mon Oct 8 18:49:12 PDT 2012
On Oct 8, 2012 6:33 PM, "ykzhao" <yakui.zhao at intel.com> wrote:
>
> On Mon, 2012-10-08 at 01:32 -0600, Gwenole Beauchesne wrote:
> > Hi,
> >
> > 2012/10/8 Xiang, Haihao <haihao.xiang at intel.com>:
> > > Hi, Gwenole
> > >
> > > Your recent commits in libva staging branch result in DSO regression
> > > issue.
> > >
> > > make[3]: Entering directory `/home/cc/libva/test/encode'
> > > CCLD h264encode
> > > /usr/bin/ld: h264encode_x11.o: undefined reference to symbol
'XOpenDisplay'
> > > /usr/bin/ld: note: 'XOpenDisplay' is defined in DSO
/opt/X11R7/lib/libX11.so.6 so try adding it to the linker command line
> > > /opt/X11R7/lib/libX11.so.6: could not read symbols: Invalid operation
> > > collect2: ld returned 1 exit status
> > > make[3]: *** [h264encode] Error 1
> > >
> > > Could you take a look and fix it ?
> >
> > Should be fixed now.
>
> I also meet with another DSO issue when compiling the libva staging
> branch on Fedora 15. The following is the corresponding error:
>
> make[3]: Entering directory `/root/gen_gfx/libva/test/encode'
> CC avcenc-avcenc.o
> CCLD avcenc
> /usr/bin/ld: avcenc-avcenc.o: undefined reference to symbol
> 'pthread_create@@GLIBC_2.2.5'
> /usr/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in
> DSO /lib64/libpthread.so.0 so try adding it to the linker command line
> /lib64/libpthread.so.0: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[3]: *** [avcenc] Error 1
I saw this same problem on Fedora 16, my libpthread does have the symbol
and even if I explicitly included it. I ended up removing this from
compilation.
IMO, tests should be enabled by configuration and Wayland should be
disabled by default. I had to disable it at configure stage.
>
> Thanks.
> >
> > Regards,
> > Gwenole.
> > _______________________________________________
> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libva/attachments/20121008/38f5eb6b/attachment.html>
More information about the Libva
mailing list