gstreamer cerbero rtmp

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

gstreamer cerbero rtmp

cristian.astorino
Hello, I'm trying to include librtmp inside gstreamer-sdk for android. I successfully compiled librtmp and libgstrtmp. Now when I compile my android project inside eclipse I receive the following errors:

/home/cristian/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: /home/wizard/gstreamer-sdk-android-arm-release-2013.6/lib/librtmp.a(rtmp.o): in function isValidPublicKey:dh.h:161: error: undefined reference to 'gcry_mpi_new'
/home/cristian/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: /home/wizard/gstreamer-sdk-android-arm-release-2013.6/lib/librtmp.a(rtmp.o): in function isValidPublicKey:dh.h:165: error: undefined reference to 'gcry_mpi_set_ui'
....
etc.
....

I suppose they come from libgcrypt, which is a dependency for librtmp. I copied libgcrypt.la and libgcrypt.so inside lib folder of gstreamer-sdk, but I think I need libgcrypt.a which I cannot find inside my builds. Am I right? How can I solve these errors?

Regards
Cristian
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer cerbero rtmp

Sebastian Dröge-3
On So, 2014-02-09 at 05:41 -0800, cristian.astorino wrote:
> Hello, I'm trying to include librtmp inside gstreamer-sdk for android. I
> successfully compiled librtmp and libgstrtmp. Now when I compile my android
> project inside eclipse I receive the following errors:
>
> [...]

This should be fixed now, you'll have to rebuild libgcrypt and
libgpg-error for that.

--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer cerbero rtmp

cristian.astorino
Ok, now I have libgcrypt.a and libgpg-error.a. Then I copied those libraries inside lib folder of the gstreamer-sdk, but I receive the same errors when trying to build inside ecplise. Can you help me?

Regards


2014-02-09 15:00 GMT+01:00 Sebastian Dröge <[hidden email]>:
On So, 2014-02-09 at 05:41 -0800, cristian.astorino wrote:
> Hello, I'm trying to include librtmp inside gstreamer-sdk for android. I
> successfully compiled librtmp and libgstrtmp. Now when I compile my android
> project inside eclipse I receive the following errors:
>
> [...]

This should be fixed now, you'll have to rebuild libgcrypt and
libgpg-error for that.

--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer cerbero rtmp

Sebastian Dröge-3
On So, 2014-02-09 at 15:18 +0100, Cristian Astorino wrote:
> Ok, now I have libgcrypt.a and libgpg-error.a. Then I copied those
> libraries inside lib folder of the gstreamer-sdk, but I receive the same
> errors when trying to build inside ecplise. Can you help me?

You also have to rebuild librtmp (after updating git again). The
librtmp .la file needed a fix too.

After that it worked here.

--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer cerbero rtmp

cristian.astorino
I rebuilded librtmp, but now I have those errors:

/home/wizard/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: /home/wizard/gstreamer-sdk-android-arm-release-2013.6/lib/librtmp.a(rtmp.o): in function DHGenerateKey:dh.h:248: error: undefined reference to 'gnutls_calc_dh_secret'
/home/wizard/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: /home/wizard/gstreamer-sdk-android-arm-release-2013.6/lib/librtmp.a(rtmp.o): in function DHComputeSharedSecretKey.constprop.7:dh.h:113: error: undefined reference to 'gnutls_calc_dh_key'
.....
etc.
....

but I have libgnutls.a and libgnutls.la in lib folder of the sdk. Where does those errors come from?

Regards
Cristian


2014-02-09 15:25 GMT+01:00 Sebastian Dröge-3 [via GStreamer-devel] <[hidden email]>:
On So, 2014-02-09 at 15:18 +0100, Cristian Astorino wrote:
> Ok, now I have libgcrypt.a and libgpg-error.a. Then I copied those
> libraries inside lib folder of the gstreamer-sdk, but I receive the same
> errors when trying to build inside ecplise. Can you help me?

You also have to rebuild librtmp (after updating git again). The
librtmp .la file needed a fix too.

After that it worked here.

--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.n4.nabble.com/gstreamer-cerbero-rtmp-tp4665153p4665156.html
To unsubscribe from gstreamer cerbero rtmp, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Fwd: gstreamer cerbero rtmp

cristian.astorino


---------- Forwarded message ----------
From: Cristian Astorino <[hidden email]>
Date: 2014-02-09 15:29 GMT+01:00
Subject: Re: gstreamer cerbero rtmp
To: "Sebastian Dröge-3 [via GStreamer-devel]" <[hidden email]>


I rebuilded librtmp, but now I have those errors:

/home/wizard/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: /home/wizard/gstreamer-sdk-android-arm-release-2013.6/lib/librtmp.a(rtmp.o): in function DHGenerateKey:dh.h:248: error: undefined reference to 'gnutls_calc_dh_secret'
/home/wizard/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: /home/wizard/gstreamer-sdk-android-arm-release-2013.6/lib/librtmp.a(rtmp.o): in function DHComputeSharedSecretKey.constprop.7:dh.h:113: error: undefined reference to 'gnutls_calc_dh_key'
.....
etc.
....

but I have libgnutls.a and libgnutls.la in lib folder of the sdk. Where does those errors come from?

Regards
Cristian


2014-02-09 15:25 GMT+01:00 Sebastian Dröge-3 [via GStreamer-devel] <[hidden email]>:
On So, 2014-02-09 at 15:18 +0100, Cristian Astorino wrote:
> Ok, now I have libgcrypt.a and libgpg-error.a. Then I copied those
> libraries inside lib folder of the gstreamer-sdk, but I receive the same
> errors when trying to build inside ecplise. Can you help me?

You also have to rebuild librtmp (after updating git again). The
librtmp .la file needed a fix too.

After that it worked here.

--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.n4.nabble.com/gstreamer-cerbero-rtmp-tp4665153p4665156.html
To unsubscribe from gstreamer cerbero rtmp, click here.
NAML



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer cerbero rtmp

cristian.astorino
ok, I solved by adding 'gnutls' in the deps list inside post_install function in librtmp recipe.

Regards
Cristian


2014-02-09 15:30 GMT+01:00 Cristian Astorino <[hidden email]>:


---------- Forwarded message ----------
From: Cristian Astorino <[hidden email]>
Date: 2014-02-09 15:29 GMT+01:00
Subject: Re: gstreamer cerbero rtmp
To: "Sebastian Dröge-3 [via GStreamer-devel]" <[hidden email]>


I rebuilded librtmp, but now I have those errors:

/home/wizard/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: /home/wizard/gstreamer-sdk-android-arm-release-2013.6/lib/librtmp.a(rtmp.o): in function DHGenerateKey:dh.h:248: error: undefined reference to 'gnutls_calc_dh_secret'
/home/wizard/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: /home/wizard/gstreamer-sdk-android-arm-release-2013.6/lib/librtmp.a(rtmp.o): in function DHComputeSharedSecretKey.constprop.7:dh.h:113: error: undefined reference to 'gnutls_calc_dh_key'
.....
etc.
....

but I have libgnutls.a and libgnutls.la in lib folder of the sdk. Where does those errors come from?

Regards
Cristian


2014-02-09 15:25 GMT+01:00 Sebastian Dröge-3 [via GStreamer-devel] <[hidden email]>:
On So, 2014-02-09 at 15:18 +0100, Cristian Astorino wrote:
> Ok, now I have libgcrypt.a and libgpg-error.a. Then I copied those
> libraries inside lib folder of the gstreamer-sdk, but I receive the same
> errors when trying to build inside ecplise. Can you help me?

You also have to rebuild librtmp (after updating git again). The
librtmp .la file needed a fix too.

After that it worked here.

--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.n4.nabble.com/gstreamer-cerbero-rtmp-tp4665153p4665156.html
To unsubscribe from gstreamer cerbero rtmp, click here.
NAML




_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer cerbero rtmp

Sebastian Dröge-3
Yeah, also noticed that and fixed now. It worked for me before because
another plugin already pulled in gnutls.

On So, 2014-02-09 at 15:47 +0100, Cristian Astorino wrote:
> ok, I solved by adding 'gnutls' in the deps list inside post_install
> function in librtmp recipe.

--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment