Bug 66140 - [gst-vaapi-0.4]Option "--enable-encoders" failed to compile on libva/intel-driver master branch
Summary: [gst-vaapi-0.4]Option "--enable-encoders" failed to compile on libva/intel-dr...
Status: VERIFIED FIXED
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wind Yuan
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-25 03:05 UTC by Yang Lianyue
Modified: 2013-07-05 03:27 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Yang Lianyue 2013-06-25 03:05:51 UTC
System Environment:
----------------------------------------
Libva:        (master) 3c15867260dd6ccee81bc358b07a77eaeb38585e
Intel-driver: (master) e2b6e0f9f28bf194ef0f06f7aa7e486d14ea86ab
Gst-vaapi:    (0.4)    3e7aa4a9372393369a60b012305e19cbd7bb533f

Reproduce steps:
---------------------------------
cd ***/gst-plugins-vaapi
./autogen.sh --prefix=/root/gst0.10_libs/ --enable-encoders
make

...

  CC     libgstvaapi_0.10_la-gstvaapiencoder_h264.lo
gstvaapiencoder_h264.c:191:5: error: unknown type name 'VAEncSequenceParameterBufferH264'
gstvaapiencoder_h264.c:197:5: error: unknown type name 'VAEncPictureParameterBufferH264'
gstvaapiencoder_h264.c:685:5: error: unknown type name 'VAEncSequenceParameterBufferH264'
gstvaapiencoder_h264.c:709:5: error: unknown type name 'VAEncPictureParameterBufferH264'
gstvaapiencoder_h264.c: In function 'h264_fill_sequence_buffer':
gstvaapiencoder_h264.c:1197:3: error: unknown type name 'VAEncSequenceParameterBufferH264'
gstvaapiencoder_h264.c: In function 'h264_fill_picture_buffer':
gstvaapiencoder_h264.c:1231:3: error: unknown type name 'VAEncPictureParameterBufferH264'
make[4]: *** [libgstvaapi_0.10_la-gstvaapiencoder_h264.lo] Error 1
make[4]: Leaving directory `/home/cc/gst-plugins-vaapi/gst-libs/gst/vaapi'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/cc/gst-plugins-vaapi/gst-libs/gst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cc/gst-plugins-vaapi/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cc/gst-plugins-vaapi'
make: *** [all] Error 2
Comment 1 Wind Yuan 2013-07-03 09:43:45 UTC
This compile issue happened on 64-bit linux machines.
configure.ac need va/va.h included for va_enc_h264.h/va_dec_jpeg.h check.

The issue was fixed. Please try the new code with commit_id:
commit d5ec4f2f9a4f51cb9f8ecf229c38395e52afa209
Author: Wind Yuan <feng.yuan@intel.com>
Date:   Wed Jul 3 16:13:38 2013 +0800

    compile: compatible with libva master branch
Comment 2 Yang Lianyue 2013-07-05 03:27:06 UTC
This issue has been fixed.


System Environment:
----------------------------------------
Libva:        (master) b927627beb3a3fbc8d2aa238ee47d8d0727a4a33
Intel-driver: (master) a0b06fa98887b341c8208ce40a471f1721944df2
Gst-vaapi:    (0.4)    bae1c599c0df19c99dc712bcba219309d946b912


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.