Gstreamer + RTMP using cerbero on Max OS for armv7s

Sebastian Dröge sebastian at centricular.com
Fri Dec 13 10:00:48 PST 2013


On Mi, 2013-12-11 at 21:29 -0800, kashif at devdesks.com wrote:
> so i added this to the rtmpdump.recipe file
> # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
> import shutil
> import glob
> 
> 
> class Recipe(recipe.Recipe):
>     name = 'rtmpdump'
>     version = '2.3'
>     stype = SourceType.TARBALL
>     btype = BuildType.MAKEFILE    
>     url = 'http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.3.tgz'
>     files_libs = ['rtmpdump']
>     deps = ['autoconf']
>     files_bin = ['bin/cmake', 'bin/ccmake']
> 
> 
> 
> now it says
> 
> 11 warnings generated.
> gcc -Wall   -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL  -O2 -fPIC   -c
> -o parseurl.o parseurl.c
> ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o
> ar: creating archive librtmp.a
> gcc -shared -Wl,-soname,librtmp.so.0 -Wall  -o librtmp.so.0 rtmp.o
> log.o amf.o hashswf.o parseurl.o  -lssl -lcrypto -lz 
> ld: unknown option: -soname
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make[1]: *** [librtmp.so.0] Error 1
> make: *** [librtmp/librtmp.a] Error 2
> ***** Error running 'buildone' command:
> Recipe 'rtmpdump' failed at the build step 'compile'

That means that the build system as is does not properly work for iOS.
You'll have to patch it to fix the compilation with the iOS toolchain.
Just removing the -Wl,-soname,librtmp.so.0 part is probably enough
already and that shouldn't make much of a difference for your case.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131213/02c9882b/attachment.pgp>


More information about the gstreamer-devel mailing list