<div dir="ltr"><div><div><div><div>ok i added the -shared flag <br></div>when i build it, build runs fine but<br></div>when i run <br> ./cerbero-uninstalled -c config/cross-ios-universal.cbc package gstreamer-1.0<br></div>
it gives the following error<br><br>[(52/68) rtmpdump -> fetch ]<br>-----> Step done<br>[(52/68) rtmpdump -> extract ]<br>-----> Step done<br>[(52/68) rtmpdump -> configure ]<br>-----> Step done<br>[(52/68) rtmpdump -> compile ]<br>
Running command 'make'<br>gcc -Wall   -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL  -O2 -fPIC  -arch i386  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk  -c -o rtmp.o rtmp.c<br>
rtmp.c:40:10: fatal error: 'openssl/ssl.h' file not found<br>#include <openssl/ssl.h><br>         ^<br>1 error generated.<br>make[1]: *** [rtmp.o] Error 1<br>make: *** [librtmp/librtmp.a] Error 2<br>***** Error running 'package' command:<br>
Recipe 'rtmpdump' failed at the build step 'compile'<br><br><br></div>i downloaded openssl and added it to the rtmdump folder but no luck... any ideas <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Dec 23, 2013 at 5:03 PM, Sebastian Dröge-3 [via GStreamer-devel] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4664269&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">

        On So, 2013-12-22 at 20:54 -0800, <a href="http://user/SendEmail.jtp?type=node&node=4664221&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a> wrote:
<div><div><div class='shrinkable-quote'><br>>  i created the patch and i think it worked but now getting another error
<br>> 
<br>> 11 warnings generated.
<br>> gcc -Wall   -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL  -O2 -fPIC   -c -o
<br>> parseurl.o parseurl.c
<br>> ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o
<br>> ar: creating archive librtmp.a
<br>> gcc -Wall  -o librtmp.so.0 rtmp.o log.o amf.o hashswf.o parseurl.o  -lssl
<br>> -lcrypto -lz
<br>> Undefined symbols for architecture x86_64:
<br>>   "_main", referenced from:
<br>>      implicit entry/start for main executable
<br>> ld: symbol(s) not found for architecture x86_64
<br>> clang: error: linker command failed with exit code 1 (use -v to see
<br>> invocation)
<br>> make[1]: *** [librtmp.so.0] Error 1
<br>> make: *** [librtmp/librtmp.a] Error 2
<br>> ***** Error running 'buildone' command:
<br>> Recipe 'rtmpdump' failed at the build step 'compile'
</div></div></div>That's most likely because the linking step there creates an executable,
</div>not a shared library. Try adding the -shared parameter to gcc.
<br><div class="im"><br>-- 
<br>Sebastian Dröge, Centricular Ltd - <a href="http://www.centricular.com" rel="nofollow" link="external" target="_blank">http://www.centricular.com</a><br>Expertise, Straight from the Source
<br><br>_______________________________________________
<br>gstreamer-devel mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=4664221&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br><div><br><img> <strong>signature.asc</strong> (985 bytes) <a href="http://gstreamer-devel.966125.n4.nabble.com/attachment/4664221/0/signature.asc" rel="nofollow" link="external" target="_blank">Download Attachment</a></div>


        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        </div><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-RTMP-using-cerbero-on-Max-OS-for-armv7s-tp4663752p4664221.html" target="_blank" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-RTMP-using-cerbero-on-Max-OS-for-armv7s-tp4663752p4664221.html</a>
        </div><div class="HOEnZb"><div class="h5">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Gstreamer + RTMP using cerbero on Max OS for armv7s, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></div></div></blockquote></div><br></div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-RTMP-using-cerbero-on-Max-OS-for-armv7s-tp4663752p4664269.html">Re: Gstreamer + RTMP using cerbero on Max OS for armv7s</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>