[Libva] DSO regression issue

ykzhao yakui.zhao at intel.com
Mon Oct 8 18:43:20 PDT 2012


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

Thanks.
> 
> Regards,
> Gwenole.
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva




More information about the Libva mailing list