[Bug 770623] New: netclock-replay tool breaks cross compile
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Aug 31 05:51:02 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=770623
Bug ID: 770623
Summary: netclock-replay tool breaks cross compile
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: a.j.buxton at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 334496
--> https://bugzilla.gnome.org/attachment.cgi?id=334496&action=edit
error log tail
The net-replay tool fails to properly link against libgstbase when cross
compiling. This is the actual error (see also attachment, more detailed logs
available on request):
ld: warning: libgstbase-1.0.so.0, needed by
../../libs/gst/net/.libs/libgstnet-1.0.so, not found (try using -rpath or
-rpath-link)
../../libs/gst/net/.libs/libgstnet-1.0.so: undefined reference to
`gst_byte_writer_init_with_data'
I bisected the problem to these commits. Anything before these cross compiles
okay under my builder:
https://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=e8f58f5ba5775c92f410486ef2b1116da26e7483
https://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=77b4bc44baac19f9b182463851a603bd04b8198a
Host is Ubuntu 16.04, sysroot is Raspbian Jessie, and the environment is like
this:
export PKG_CONFIG_DIR=
export
PKG_CONFIG_LIBDIR=${SYSROOT}/usr/lib/pkgconfig:${SYSROOT}/usr/lib/arm-linux-gnueabihf/pkgconfig:${SYSROOT}/usr/share/pkgconfig
export PKG_CONFIG_SYSROOT_DIR=${SYSROOT}
export CFLAGS="--sysroot=${SYSROOT}"
export CPPFLAGS="--sysroot=${SYSROOT}"
export OBJCFLAGS="--sysroot=${SYSROOT}"
export CXXFLAGS="--sysroot=${SYSROOT}"
export LDFLAGS="--sysroot=${SYSROOT}"
CROSS_OPTS="--build=x86_64-linux-gnu --host=arm-linux-gnueabihf"
CONFIG_OPTS="--disable-gtk-doc --disable-failing-tests --disable-tests
--disable-examples --disable-benchmarks --disable-debug"
./autogen.sh ${CROSS_OPTS} ${CONFIG_OPTS}
make V=1
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list