Cross Compilation issue with Yocto SDK toolchain, GStreamer.0.10.36 Package

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Cross Compilation issue with Yocto SDK toolchain, GStreamer.0.10.36 Package

arunav.kumar
This post was updated on .
Dear all,
Kindly help me, in one issue. I am new to this forum.

I want to cross compile GStreamer for ARM CortexA9 platform. I have tried it with peta-linux and yocto-sdk tool chains, but eachtime, its not compiled and give me the same error with both the tools chains.

I have given the following commands for configure:

sudo ./configure CC=/opt/poky/1.6.2/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc CXX=/opt/poky/1.6.2/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ --with-sysroot=/opt/poky/1.6.2/sysroots/ --host=arm --disable-loadsave --disable-tests --disable-examples ${CONFIGURE_FLAGS}

It configures as below:

Configuration
        Version                    : 0.10.36
        Source code location       : .
        Prefix                     : /usr/local/myCrossCompiled
        Compiler                   : /opt/poky/1.6.2/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -std=gnu99
        Package name               : GStreamer source release
        Package origin             : Unknown package origin

        Documentation (manuals)    : no
        Documentation (API)        : no

        Debug Logging              : yes
        Pipeline XML load/save     : no
        Command-line parser        : yes
        Option parsing in gst_init : yes
        Tracing subsystem          : yes
        Allocation tracing         : yes
        Plugin registry            : yes
        Plugin support           : yes
        Network support            : yes
        Unit testing support       : yes

        Debug                      : yes
        Profiling                  : no

        Building examples          : no
        Building test apps         : no
        Building tests that fail   : no



I get the following errors:
/opt/poky/1.6.2/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.2/ld: cannot find -lgobject-2.0
/opt/poky/1.6.2/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.2/ld: cannot find -lgthread-2.0
/opt/poky/1.6.2/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.2/ld: cannot find -lgmodule-2.0
/opt/poky/1.6.2/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.2/ld: cannot find -lglib-2.0

Kindly help me, how to resolve this error.

If I configure on X86 machine, it compiles well

Regards
Arun

-- BR Arunav