[Bug 754875] New: configure.ac: no socketpair() check causes unresolved reference
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Sep 11 04:08:50 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=754875
Bug ID: 754875
Summary: configure.ac: no socketpair() check causes unresolved
reference
Classification: Platform
Product: GStreamer
Version: 1.5.90
OS: Neutrino
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: d_garry at mail.ru
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Package version: gstreamer-1.5.90.tar.xz
OS: QNX Neutrino 6.5.0
Problem description:
libgstreamer-1.0.so: undefined reference to `socketpair'
Reason:
libgstreamer-1.0.so (gst/gstpoll.c:568) uses socketpair() function which is in
libsocket library and not in libc in QNX Neutrino (same problem should probably
have place in Solaris OS). And, by default, build process doesn't use -lsocket
option. As a result, libgstreamer-1.0.so.590 lacks libsocket dependency, and
all the following linkage attempts (e.g. building gst-plugins-good) come to
'undefined reference' result.
Possible solution (configure.ac):
dnl check for socketpair()
AC_CHECK_FUNC(socketpair, [], [
AC_CHECK_LIB(socket, socketpair, [
LIBS="$LIBS -lsocket"
])
])
But, unfortunately, seems that libtool doesn't use LIBS variable when building
libgstreamer-1.0.so library. I've also tried to use GST_ALL_LIBS="$GST_ALL_LIBS
-lsocket" same manner (although it doesn't seem to look like a good solution),
but with no success.
--
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