Not able to compile gstreamer-vaapi on 64-bit pltaform

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Not able to compile gstreamer-vaapi on 64-bit pltaform

jyotsanasingh
Hi,

I am trying to compile gstreamer-vaapi 0.2.5 on 64-bit fedora.
But after make I get the following error:
/*********************************************************************************************************/
/lib64/libva.so -lm  -pthread -pthread -pthread -pthread -Wl,-soname -Wl,libgstvaapi-0.10.so.0 -o .libs/libgstvaapi-0.10.so.0.0.0
/usr/bin/ld: /usr/lib64//libavcodec.a(allcodecs.o): relocation R_X86_64_32 against `h263_vaapi_hwaccel' can not be used when making a shared object; recompile with -fPIC
/usr/lib64//libavcodec.a: could not read symbols: Bad value
/*********************************************************************************************************/

I recompiled ffmpeg with -fPIC option but gst-vaapi gives the same error.
Am I missing any flags to be set while configure?

I am able to run and compile gstreamer-vaapi on 32-bit OS.

PS : Rule for configure : ./configure --prefix=/usr --libdir=/usr/lib64

What could be the problem? :(

Thanks,
Jyotsana