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.
<b>I have given the following commands for configure:</b>
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
<b>I get the following errors:</b>
/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: <b>cannot find -lgobject-2.0</b>
/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: <b>cannot find -lgthread-2.0</b>
/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: <b>cannot find -lgmodule-2.0</b>
/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: <b>cannot find -lglib-2.0</b>
Kindly help me, how to resolve this error.
If I configure on X86 machine, it compiles well
Regards
Arun
<div class="signature" style="margin-top:1em;color:#666666;font-size:11px;">
-- BR
Arunav
</div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Cross-Compilation-issue-with-Yocto-SDK-toolchain-GStreamer-0-10-36-Package-tp4678420.html">Cross Compilation issue with Yocto SDK toolchain, GStreamer.0.10.36 Package</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>