Gstreamer + RTMP using cerbero on Max OS for armv7s

Sebastian Dröge sebastian at centricular.com
Mon Dec 23 04:02:25 PST 2013


On So, 2013-12-22 at 20:54 -0800, kashif at devdesks.com wrote:
>  i created the patch and i think it worked but now getting another error
> 
> 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 -Wall  -o librtmp.so.0 rtmp.o log.o amf.o hashswf.o parseurl.o  -lssl
> -lcrypto -lz
> Undefined symbols for architecture x86_64:
>   "_main", referenced from:
>      implicit entry/start for main executable
> ld: symbol(s) not found for architecture x86_64
> 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's most likely because the linking step there creates an executable,
not a shared library. Try adding the -shared parameter to gcc.

-- 
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/20131223/e7d9ca13/attachment.pgp>


More information about the gstreamer-devel mailing list