Bug 55748 - [SNB IVB] One error while compiling libva with latest driver on ubuntu
Summary: [SNB IVB] One error while compiling libva with latest driver on ubuntu
Status: VERIFIED FIXED
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium minor
Assignee: haihao
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-08 04:01 UTC by cc
Modified: 2012-10-11 04:57 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description cc 2012-10-08 04:01:04 UTC
Environment:
------------
Guest OS Type : Linux (ubuntu 12.04)
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: 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
make[3]: Leaving directory `/home/cc/libva/test/encode'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cc/libva/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cc/libva'
make: *** [all] Error 2


Reproduce steps:
----------------
1. #./autogen.sh --prefix=/opt/X11R7
2. #make
Comment 1 haihao 2012-10-11 04:38:56 UTC
Regression,  fixed by Gwenole
Comment 2 cc 2012-10-11 04:57:19 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.