Building gstreamer sdk
Andoni Morales
ylatuya at gmail.com
Thu Oct 24 12:36:48 CEST 2013
2013/10/24 Mark Howell <mark-sub1 at hypgnosys.org>
> On 10/11/2013 01:45 AM, Ole Bromose wrote:
>
>> On 10/11/2013 10:39 AM, Sebastian Dröge wrote:
>>
>>> On Fr, 2013-10-11 at 10:36 +0200, Ole Bromose wrote:
>>>
>>>> On 10/11/2013 10:05 AM, Sebastian Dröge wrote:
>>>>
>>>>> Hi, can you provide the complete buildlog of cerbero buildone liba52 ?
>>>>>
>>>>>
>>>>> Sorry, I misinterpreted your question.
>>>> When I do
>>>>
>>>> cerbero buildone liba52, I get:
>>>>
>>>> ***** Error running 'buildone' command:
>>>> Recipe 'liba52' not found
>>>>
>>> Oh no problem, I was confused too :)
>>>
>>> "cerbero buildone a52dec" was what I meant :)
>>>
>>
>> Hi,
>> Here is the result from cerbero buildone a52dec
>> Best regards
>> Ole
>>
>>
> [snip]
>
>
> libtool: link: gcc -shared -fPIC -DPIC .libs/bitstream.o .libs/imdct.o
>> .libs/bit_allocate.o .libs/parse.o .libs/downmix.o
>> -L/home/ole/cerbero/dist/**linux_x86_64/lib -lm -m64 -m64 -O3 -m64 -m64
>> -Wl,-soname -Wl,liba52.so.0 -o .libs/liba52.so.0.0.0
>> /usr/bin/ld: .libs/imdct.o: relocation R_X86_64_32 against `.bss' can
>> not be used when making a shared object; recompile with -fPIC
>> .libs/imdct.o: could not read symbols: Bad value
>> collect2: error: ld returned 1 exit status
>> make[1]: *** [liba52.la] Error 1
>> make[1]: Leaving directory
>> `/home/ole/cerbero/sources/**linux_x86_64/a52dec-0.7.4/**liba52'
>> make: *** [all-recursive] Error 1
>> ***** Error running 'buildone' command:
>> Recipe 'a52dec' failed at the build step 'compile'
>>
>>
> [snip]
>
> Ole and Sebastian, FWIW, I have just seen the same thing using cerbero 1.2
> branch on Precise.
>
> I worked around this temporarily by finding where '-prefer-non-pic' was
> being added to liba52's compiler flags and disabling that.
>
> Specifically, I found line 12687 (!) of the configure script in
> a52dec-0.7.4:
>
> LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic"
>
> I commented that out (prepended a #) and the a52 build worked.
>
Hi,
This is should be fixed now in:
http://cgit.freedesktop.org/gstreamer-sdk/a52dec/commit/?id=3f2ece3e30b1f59b169c787ff9e078e10a19750a
To rebuild the recipe:
cerbero cleanone a52dec
cerbero buildone a52dec
Cheers,
Andoni
> Cheers,
>
> Mark.
>
> ______________________________**_________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.**freedesktop.org<gstreamer-devel at lists.freedesktop.org>
> http://lists.freedesktop.org/**mailman/listinfo/gstreamer-**devel<http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
>
--
Andoni Morales Alastruey
LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131024/ecdaa5ea/attachment.html>
More information about the gstreamer-devel
mailing list