Failure to cross compile GStreamer v1.14 with config/cross-lin-arm.cbc

Vincenzo Bono vincenzo.bono at gmail.com
Fri Jun 29 10:25:33 UTC 2018


Thanks (,



on the patch, I forgot to say that I sent it as well (see https://bugzilla.gnome.org/show_bug.cgi?id=796684).



I noticed that the packaging didn't work, but I was able to get an environment built.



My remaining problem on Raspberry Pi is that libgstsoundtouch, libgstvoaacenc and libgstdtls doesn't seem to be built... I'm looking at recipes and didn't find yet anything helpful yet.



I tried to build on Raspian x86, and the latest Ubuntu LTS, just to check if these libraries are built, but got stuck in other small issues (I fixed one, will create a bug and patch shortly).



Did anyone have any hint on where to check for missing libgstsoundtouch, libgstvoaacenc and libgstdtls?



Thanks again,

Vince



Il giorno 29/06/18, 08:47 "gstreamer-devel per conto di Nirbheek Chauhan" <gstreamer-devel-bounces at lists.freedesktop.org per conto di nirbheek.chauhan at gmail.com> ha scritto:



    On Fri, Jun 29, 2018 at 11:51 AM Matthew Thyer

    <matthew.thyer at adelaide.edu.au> wrote:

    >

    > I’ve given up on Cerbero for Linux builds after Nicolas Dufresne said (in this message https://lists.freedesktop.org/archives/gstreamer-devel/2018-May/067778.html) that the GStreamer project delegates packaging for Linux builds to the various distributions and that Cerbero is really for non-Linux systems.

    >

    > I’ve now written my own script to build GStreamer as a standard autoconf project that uses pkg-config.

    >

    > I’ve yet to extend this for cross compilation.

    >

    

    Like Nicolas said, the distro-specific packaging output of Cerbero is

    not correct on Linux and is not supported, but the build output itself

    (and packaging as tarballs) does work, is tested on our CI, and is

    supported.

    

    However, cross-linux is not tested on our CI so is not very well

    tested, but should generally work except for minor bugs. As always,

    patches are welcome, and should be added via a bug on bugzilla:

    https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer . Sending

    patches via the mailing list is generally not going to be helpful.

    

    Cheers,

    Nirbheek

    

    > From: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> On Behalf Of Vincenzo Bono

    > Sent: Wednesday, 27 June 2018 3:53 AM

    > To: gstreamer-devel at lists.freedesktop.org

    > Subject: Re: Failure to cross compile GStreamer v1.14 with config/cross-lin-arm.cbc

    >

    >

    >

    > Hello,

    >

    >

    >

    > I had the same issue with GStreamer v1.15, while building direclty on my Raspberry.

    >

    >

    >

    > Looking inside the openssl.recipe, under your cerbero/recipes, I’ve found that a define was added form ARMv7 for the Android platform, but not for Linux in general.

    >

    >

    >

    > Adding a "or self.config.target_platform == Platform.LINUX” in the related check, inside the configure(self) function fixed the build for me:

    >

    >

    >

    > def configure(self):

    >

    >

    >

    >     …

    >

    >

    >

    >     if self.config.target_platform == Platform.ANDROID or self.config.target_platform == Platform.LINUX:

    >

    >         if self.config.target_arch == Architecture.ARMv7:

    >

    >             # Openssl can't seem to figure this out anymore

    >

    >             config_sh += ' -D__ARM_MAX_ARCH__=7 '

    >

    >

    >

    > Vince

    >

    > _______________________________________________

    > gstreamer-devel mailing list

    > gstreamer-devel at lists.freedesktop.org

    > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

    _______________________________________________

    gstreamer-devel mailing list

    gstreamer-devel at lists.freedesktop.org

    https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

    





More information about the gstreamer-devel mailing list