Patchwork [V2] libomxil: Fix link issue for gst-omx

login
register
mail settings
Submitter Sébastien Mennetrier
Date Feb. 28, 2014, 10:43 a.m.
Message ID <1393584230-6405-1-git-send-email-s.mennetrier@innotis.org>
Download mbox | patch
Permalink /patch/67695/
State New
Headers show

Comments

Sébastien Mennetrier - Feb. 28, 2014, 10:43 a.m.
gst-omx element can not load due to a missing symbol.
Missing symbol RM_Deinit.

Signed-off-by: Sébastien Mennetrier <s.mennetrier@innotis.org>
---
 .../libomxil-0.9.3/dynamicloader-linking.patch       | 20 ++++++++++++++++++++
 meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb   |  3 ++-
 2 files changed, 22 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-multimedia/libomxil/libomxil-0.9.3/dynamicloader-linking.patch
Sébastien Mennetrier - March 4, 2014, 8:18 a.m.
Ping


2014-02-28 11:43 GMT+01:00 Sébastien Mennetrier <s.mennetrier@innotis.org>:

> gst-omx element can not load due to a missing symbol.
> Missing symbol RM_Deinit.
>
> Signed-off-by: Sébastien Mennetrier <s.mennetrier@innotis.org>
> ---
>  .../libomxil-0.9.3/dynamicloader-linking.patch       | 20
> ++++++++++++++++++++
>  meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb   |  3 ++-
>  2 files changed, 22 insertions(+), 1 deletion(-)
>  create mode 100644
> meta/recipes-multimedia/libomxil/libomxil-0.9.3/dynamicloader-linking.patch
>
> diff --git
> a/meta/recipes-multimedia/libomxil/libomxil-0.9.3/dynamicloader-linking.patch
> b/meta/recipes-multimedia/libomxil/libomxil-0.9.3/dynamicloader-linking.patch
> new file mode 100644
> index 0000000..787953a
> --- /dev/null
> +++
> b/meta/recipes-multimedia/libomxil/libomxil-0.9.3/dynamicloader-linking.patch
> @@ -0,0 +1,20 @@
> +This patch fixes link issue when libomxdynamicloader.so is loaded :
> +Missing symbol RM_Deinit.
> +
> +This patch comes from "
> http://pkgs.fedoraproject.org/cgit/libomxil-bellagio.git/commit/?h=f17&id=4996a95828943d345e51ded6876c3103653eecf8
> "
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Sébastien Mennetrier <s.mennetrier@innotis.org>
> +
> +--- a/src/dynamic_loader/Makefile.am   2014-02-25 15:29:10.128549636 +0100
> ++++ b/src/dynamic_loader/Makefile.am   2014-02-25 15:30:15.756548808+0100
> +@@ -3,7 +3,7 @@
> + omxdynamicloader_LTLIBRARIES = libomxdynamicloader.la
> + libomxdynamicloader_la_SOURCES = ste_dynamic_component_loader.c
> ste_dynamic_component_loader.h
> +
> +-libomxdynamicloader_la_LDFLAGS =
> ++libomxdynamicloader_la_LDFLAGS = -lomxil-bellagio
> -L$(top_builddir)/src/.libs
> + libomxdynamicloader_la_CFLAGS = -I$(top_srcdir)/include \
> +                       -I$(top_srcdir)/src \
> +                       -I$(top_srcdir)/src/base \
> diff --git a/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bbb/meta/recipes-multimedia/libomxil/
> libomxil_0.9.3.bb
> index f6c6a16..4a7633d 100644
> --- a/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb
> +++ b/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb
> @@ -9,7 +9,8 @@ LIC_FILES_CHKSUM =
> "file://COPYING;md5=ae6f0f4dbc7ac193b50f323a6ae191cb \
>  SRC_URI = "${SOURCEFORGE_MIRROR}/omxil/libomxil-bellagio-${PV}.tar.gz \
>             file://configure-fix.patch \
>             file://parallel-make.patch \
> -           file://makefile-docdir-fix.patch"
> +           file://makefile-docdir-fix.patch \
> +           file://dynamicloader-linking.patch"
>
>  SRC_URI[md5sum] = "a1de827fdb75c02c84e55f740ca27cb8"
>  SRC_URI[sha256sum] =
> "593c0729c8ef8c1467b3bfefcf355ec19a46dd92e31bfc280e17d96b0934d74c"
> --
> 1.8.1.2
>
>
Paul Eggleton - March 4, 2014, 11:03 a.m.
On Tuesday 04 March 2014 09:18:26 Sebastien MENNETRIER wrote:
> Ping

This was already merged on Friday.

Cheers,
Paul

Patch

diff --git a/meta/recipes-multimedia/libomxil/libomxil-0.9.3/dynamicloader-linking.patch b/meta/recipes-multimedia/libomxil/libomxil-0.9.3/dynamicloader-linking.patch
new file mode 100644
index 0000000..787953a
--- /dev/null
+++ b/meta/recipes-multimedia/libomxil/libomxil-0.9.3/dynamicloader-linking.patch
@@ -0,0 +1,20 @@ 
+This patch fixes link issue when libomxdynamicloader.so is loaded :
+Missing symbol RM_Deinit.
+
+This patch comes from "http://pkgs.fedoraproject.org/cgit/libomxil-bellagio.git/commit/?h=f17&id=4996a95828943d345e51ded6876c3103653eecf8"
+
+Upstream-Status: Pending
+
+Signed-off-by: Sébastien Mennetrier <s.mennetrier@innotis.org>
+
+--- a/src/dynamic_loader/Makefile.am	2014-02-25 15:29:10.128549636 +0100
++++ b/src/dynamic_loader/Makefile.am	2014-02-25 15:30:15.756548808 +0100
+@@ -3,7 +3,7 @@
+ omxdynamicloader_LTLIBRARIES = libomxdynamicloader.la
+ libomxdynamicloader_la_SOURCES = ste_dynamic_component_loader.c ste_dynamic_component_loader.h
+ 
+-libomxdynamicloader_la_LDFLAGS =
++libomxdynamicloader_la_LDFLAGS = -lomxil-bellagio -L$(top_builddir)/src/.libs
+ libomxdynamicloader_la_CFLAGS = -I$(top_srcdir)/include \
+ 			-I$(top_srcdir)/src \
+ 			-I$(top_srcdir)/src/base \
diff --git a/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb b/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb
index f6c6a16..4a7633d 100644
--- a/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb
+++ b/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb
@@ -9,7 +9,8 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=ae6f0f4dbc7ac193b50f323a6ae191cb \
 SRC_URI = "${SOURCEFORGE_MIRROR}/omxil/libomxil-bellagio-${PV}.tar.gz \
            file://configure-fix.patch \
            file://parallel-make.patch \
-           file://makefile-docdir-fix.patch"
+           file://makefile-docdir-fix.patch \
+           file://dynamicloader-linking.patch"
 
 SRC_URI[md5sum] = "a1de827fdb75c02c84e55f740ca27cb8"
 SRC_URI[sha256sum] = "593c0729c8ef8c1467b3bfefcf355ec19a46dd92e31bfc280e17d96b0934d74c"