Re: Cross-compilation errors preventing build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Mi, 2015-01-14 at 18:52 +0000, Leonard Pimentel wrote:
> General cross-compiling question
> 
> Are there two solutions (at minimum) to solve the following warning
> [file moved] and error [no such file]?  I am running into build
> errors.  Help is appreciated.

The warning is something you don't have to worry much about usually...
unless it actually leads to the error you see now.

First of all, don't use GStreamer 0.10 for any new application. It's no
longer maintained and supported since more than 2 years and missing a
lot of (critical) bugfixes and of course also new features.


For the libtool warning, the simplest fix would be to remove the .la
files from /home/mydrive/rootfs/usr/lib. Alternatively you could change
the paths in all the .la files to be correct again.

I assume the problem here is that you have selected /usr/lib as a prefix
(which is going to be used by the real hardware later), and then you
installed with "make install DESTDIR=/home/mydrive/rootfs". libtool is
generally not very happy about that, and you will also get problems with
pkg-config unless you set PKG_CONFIG_SYSROOT_DIR to /home/mydrive/rootfs
in the environment.

> Error log snippet:
> 
> libtool: link: warning: library `/home/mydrive/rootfs/usr/lib/libgstvideo-0.10.la' was moved.
> /bin/sed: can't read /usr/lib/libgstinterfaces-0.10.la: No such file or directory
> libtool: link: `/usr/lib/libgstinterfaces-0.10.la' is not a valid libtool archive
> make[3]: *** [libgstaudiofx.la] Error 1
> make[3]: Leaving directory `/home/mydrive/rpm/BUILD/gst-plugins-good-0.10.25/gst/audiofx'
> make[2]: *** [audiofx] Error 2
> make[3]: Leaving directory `/home/mydrive/rpm/BUILD/gst-plugins-good-0.10.25/gst/debugutils'
> make[2]: Leaving directory `/home/mydrive/rpm/BUILD/gst-plugins-good-0.10.25/gst'
> make[1]: *** [all-recursive] Error 1

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
gstreamer-embedded mailing list
gstreamer-embedded@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded

[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux