[Bug 689583] New: gst-rtsp-server: docs fails to build when gcov is enabled...
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Dec 3 16:21:14 PST 2012
https://bugzilla.gnome.org/show_bug.cgi?id=689583
GStreamer | gst-rtsp-server | git
Summary: gst-rtsp-server: docs fails to build when gcov is
enabled...
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-rtsp-server
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: sebras at hotmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
If (having already build gstreamer from git and
setup my paths) I checkout gst-rtsp-server and run:
./autogen.sh --prefix=/tmp/prefix --enable-gcov
make -j10 install
then I am faced with this puzzling error message:
[...]
DOC Introspecting gobjects
.libs/gst-rtsp-server-scan.o: In function
`_GLOBAL__sub_I_65535_0_gst_rtsp_server_scan.c':
/home/sebras/src/gst/gst-rtsp-server/docs/libs/gst-rtsp-server-scan.c:1199:
undefined reference to `__gcov_init'
.libs/gst-rtsp-server-scan.o:(.data.rel+0x20): undefined reference to
`__gcov_merge_add'
collect2: error: ld returned 1 exit status
This is of course due to --enable-gcov being set.
--enable-gcov will in common/m4/gst-args.m4 cause
GCOV_CFLAGS and GCOV_LIBS to be set. GCOV_CFLAGS
will in configure.ac be used in GST_CFLAGS. In
docs/libs/Makefile.am GTKDOC_CFLAGS uses GST_CFLAGS.
GCOV_LIBS is not included anywhere, so the compiler
is instructed to use gcov, but the linker is not.
The obvious fix is to add this to GTKDOC_LDFLAGS in
docs/libs/Makefile.am as the attached patch does.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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