[yocto] libtool problem while crosscompiling

Federico Vitali fede.vitali at gmail.com
Thu Mar 13 02:10:18 PDT 2014


Hi,

I'm working with a imx6qsabrelite board and a sato SDK filesystem.
I've built a complete SDK with bitbake -c populate_sdk and installed it.
I have to modify the gstreamer gst-plugins-base libraries. I've sourced
the environment, untarred the original gst-plugins-base-0.10.36.tar.gz,
applied yocto / fsl patches and configured the package using the same
configuration options used by yocto / bitbake build system. I have the
following problem:

# make all

[...]

make[4]: Entering directory
`/home/vitalife/git/gst-plugins-base_yam/gst-plugins-base/gst-libs/gst/interfaces'
  GEN      interfaces-marshal.c
  GEN      interfaces-enumtypes.c
  GEN      interfaces-marshal.h
  GEN      interfaces-enumtypes.h
make  all-am
make[5]: Entering directory
`/home/vitalife/git/gst-plugins-base_yam/gst-plugins-base/gst-libs/gst/interfaces'
  CC       libgstinterfaces_0.10_la-colorbalance.lo
  CC       libgstinterfaces_0.10_la-colorbalancechannel.lo
  CC       libgstinterfaces_0.10_la-mixer.lo
  CC       libgstinterfaces_0.10_la-mixeroptions.lo
  CC       libgstinterfaces_0.10_la-mixertrack.lo
  CC       libgstinterfaces_0.10_la-navigation.lo
  CC       libgstinterfaces_0.10_la-propertyprobe.lo
  CC       libgstinterfaces_0.10_la-streamvolume.lo
  CC       libgstinterfaces_0.10_la-tuner.lo
  CC       libgstinterfaces_0.10_la-tunernorm.lo
  CC       libgstinterfaces_0.10_la-tunerchannel.lo
  CC       libgstinterfaces_0.10_la-videoorientation.lo
  CC       libgstinterfaces_0.10_la-xoverlay.lo
  CC       libgstinterfaces_0.10_la-interfaces-marshal.lo
  CC       libgstinterfaces_0.10_la-interfaces-enumtypes.lo
  CCLD     libgstinterfaces-0.10.la
libtool: link: warning: library
`/opt/poky/1.5.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/
libgstreamer-0.10.la' was moved.
libtool: link: warning: library
`/opt/poky/1.5.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/
libgobject-2.0.la' was moved.
libtool: link: warning: library
`/opt/poky/1.5.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/
libgmodule-2.0.la' was moved.
libtool: link: warning: library
`/opt/poky/1.5.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/
libgthread-2.0.la' was moved.
libtool: link: warning: library
`/opt/poky/1.5.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/
libglib-2.0.la' was moved.
libtool: link: warning: library
`/opt/poky/1.5.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/
libxml2.la' was moved.
sed: can't read /usr/lib/libgobject-2.0.la: No such file or directory
libtool: link: `=/usr/lib/libgobject-2.0.la' is not a valid libtool archive
make[5]: *** [libgstinterfaces-0.10.la] Error 1
make[5]: Leaving directory
`/home/vitalife/git/gst-plugins-base_yam/gst-plugins-base/gst-libs/gst/interfaces'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/vitalife/git/gst-plugins-base_yam/gst-plugins-base/gst-libs/gst/interfaces'
make[3]: *** [interfaces] Error 2
make[3]: Leaving directory
`/home/vitalife/git/gst-plugins-base_yam/gst-plugins-base/gst-libs/gst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/vitalife/git/gst-plugins-base_yam/gst-plugins-base/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/vitalife/git/gst-plugins-base_yam/gst-plugins-base'
make: *** [all] Error 2

I seems that while crosscompiling the build system is accessing the
building machine filesystem /usr/lib instead of
the cross SDK filesystem.

Can anyone help me?

Thank you in advance

Federico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140313/705c69fc/attachment.html>


More information about the yocto mailing list