Bug 55747

Summary: [SNB IVB] One error while compiling libva with latest driver
Product: libva Reporter: cc <chao.a.chen>
Component: intelAssignee: haihao <haihao.xiang>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: medium CC: gordon.jin, ouping.zhang
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description cc 2012-10-08 03:58:19 UTC
Environment:
------------
Guest OS Type : Linux (fedora 15)
Hardware: Ivybriage
liva:
commit 09b8fbd6b20663a971b8668876aa978050714548
Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Date:   Fri Sep 28 10:31:34 2012 +0200


Bug detailed description:
--------------------------
/usr/bin/ld: avcenc-avcenc.o: undefined reference to symbol 'pthread_create@@GLIBC_2.1'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.1' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line
/lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [avcenc] Error 1
make[3]: Leaving directory `/home/lanhai/encoder/libva/test/encode'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lanhai/encoder/libva/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lanhai/encoder/libva'
make: *** [all] Error 2


Reproduce steps:
----------------
1. #./autogen.sh --prefix=/opt/X11R7
2. #make
Comment 1 haihao 2012-10-11 04:38:28 UTC
Regression,  Fixed by Gwenole
Comment 2 cc 2012-10-11 04:56:58 UTC
Been Fixed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.