On Oct 8, 2012, at 6:49 PM, "Charles, Daniel" <[email protected]> wrote:

> 
> On Oct 8, 2012 6:33 PM, "ykzhao" <[email protected]> wrote:
> >
> > On Mon, 2012-10-08 at 01:32 -0600, Gwenole Beauchesne wrote:
> > > Hi,
> > >
> > > 2012/10/8 Xiang, Haihao <[email protected]>:
> > > > 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. 


Why is Wayland enabled by default in the build?

Sean


> >
> > Thanks.
> > >
> > > Regards,
> > > Gwenole.
> > > _______________________________________________
> > > Libva mailing list
> > > [email protected]
> > > http://lists.freedesktop.org/mailman/listinfo/libva
> >
> >
> > _______________________________________________
> > Libva mailing list
> > [email protected]
> > http://lists.freedesktop.org/mailman/listinfo/libva
> _______________________________________________
> Libva mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/libva

Sean V. Kelley <[email protected]>
Open Source Technology Center / SSG
Intel Corp.

_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to