Building gstreamer sdk

Mark Howell mark-sub1 at hypgnosys.org
Thu Oct 24 02:14:14 CEST 2013


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.

Cheers,

Mark.


More information about the gstreamer-devel mailing list